首页> 外文期刊>Frontiers of computer science in China >IPSETFUL: an iterative process of selecting test cases for effective fault localization by exploring concept lattice of program spectra
【24h】

IPSETFUL: an iterative process of selecting test cases for effective fault localization by exploring concept lattice of program spectra

机译:IPSETFUL:通过探索程序频谱的概念晶格来选择测试用例以进行有效故障定位的迭代过程

获取原文
获取原文并翻译 | 示例
           

摘要

Fault localization is an important and challenging task during software testing. Among techniques studied in this field, program spectrum based fault localization is a promising approach. To perform spectrum based fault localization, a set of test oracles should be provided, and the effectiveness of fault localization depends highly on the quality of test oracles. Moreover, their effectiveness is usually affected when multiple simultaneous faults are present. Faced with multiple faults it is difficult for developers to determine when to stop the fault localization process. To address these issues, we propose an iterative fault localization process, i.e., an iterative process of selecting test cases for effective fault localization (IPSETFUL), to identify as many faults as possible in the program until the stopping criterion is satisfied. It is performed based on a concept lattice of program spectrum (CLPS) proposed in our previous work. Based on the labeling approach of CLPS, program statements are categorized as dangerous statements, safe statements, and sensitive statements. To identify the faults, developers need to check the dangerous statements. Meantime, developers need to select a set of test cases covering the dangerous or sensitive statements from the original test suite, and a new CLPS is generated for the next iteration. The same process is proceeded in the same way. This iterative process ends until there are no failing tests in the test suite and all statements on the CLPS become safe statements. We conduct an empirical study on several subject programs, and the results show that IPSETFUL can help identify most of the faults in the program with the given test suite. Moreover, it can save much effort in inspecting unfaulty program statements compared with the existing spectrum based fault localization techniques and the relevant state of the art technique.
机译:故障定位是软件测试期间一项重要且具有挑战性的任务。在该领域研究的技术中,基于程序频谱的故障定位是一种很有前途的方法。为了执行基于频谱的故障定位,应提供一组测试预言,并且故障定位的有效性在很大程度上取决于测试预言的质量。而且,当同时存在多个故障时,它们的有效性通常会受到影响。面对多个故障,开发人员很难确定何时停止故障定位过程。为了解决这些问题,我们提出了一个迭代的故障定位过程,即选择有效故障定位测试用例的迭代过程(IPSETFUL),以在程序中识别出尽可能多的故障,直到满足停止标准为止。它是根据我们先前工作中提出的程序频谱(CLPS)概念格执行的。根据CLPS的标记方法,程序语句分为危险语句,安全语句和敏感语句。为了确定故障,开发人员需要检查危险声明。同时,开发人员需要从原始测试套件中选择一组涵盖危险或敏感语句的测试用例,并为下一次迭代生成新的CLPS。以相同的方式进行相同的过程。该迭代过程将一直持续到测试套件中没有失败的测试并且CLPS上的所有语句变为安全语句为止。我们对几个主题程序进行了实证研究,结果表明,IPSETFUL可以使用给定的测试套件帮助识别程序中的大多数故障。而且,与现有的基于频谱的故障定位技术和相关技术水平相比,它可以节省检查无故障程序语句的大量工作。

著录项

  • 来源
    《Frontiers of computer science in China》 |2016年第5期|812-831|共20页
  • 作者单位

    School of Computer Science, Fudan University, Shanghai 200433, China,Shanghai Key Laboratory of Data Science, Fudan University, Shanghai 200433, China,School of Information Engineering, Yangzhou University, Yangzhou 225127, China;

    School of Computer Science, Fudan University, Shanghai 200433, China,Shanghai Key Laboratory of Data Science, Fudan University, Shanghai 200433, China;

    School of Information Engineering, Yangzhou University, Yangzhou 225127, China;

    School of Computer Science and Engineering, Southeast University, Nanjing 211189, China;

    School of Computer Science and Technology, Nantong University, Nantong 226019, China;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    fault localization; program spectrum; concept lattice; test case selection; iterative process;

    机译:故障定位节目范围;概念格测试用例选择;迭代过程;

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号