当前位置: X-MOL 学术Sādhanā › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
Testing and debugging: an empirical evaluation of integrated approaches
Sādhanā ( IF 1.4 ) Pub Date : 2020-06-06 , DOI: 10.1007/s12046-020-01382-6
Neha Gupta , Arun Sharma , Manoj Kumar Pachariya

Software development is a continuous process. Among all phases of software development, testing and debugging are the most essential phases. The main intention of testing is to detect maximum faults as soon as possible. After a fault is detected, it must be removed through appropriate debugging approach. Both phases are performed one after another and require different information. Hence, it is arduous to merge them. In fault detection, such test cases are required that are able to detect all the faults with less effort whereas in fault localization such test cases are required that are able to reproduce faults and locate them with accuracy. For enhancing the performance of testing, the integration of these two phases with consideration of multi-objective selection of test cases is to be conducted before regression testing. In the current work, an approach for multi-objective test case selection based on statement and diversified mutant coverage has been proposed and compared with existing approaches. For empirical study, SPEA-2, NSGA-2 and VEGA algorithms have been used and experiments were conducted on three applications of the Defects4j database. Outcomes of the study specify that the proposed approach has the ability to detect more faults compared to existing approaches. It is also able to locate all faults that have been detected with fault localization score better or comparable to existing approaches.



中文翻译:

测试和调试:对集成方法的经验评估

软件开发是一个连续的过程。在软件开发的所有阶段中,测试和调试是最重要的阶段。测试的主要目的是尽快发现最大故障。检测到故障后,必须通过适当的调试方法将其消除。这两个阶段一个接一个地执行,并且需要不同的信息。因此,合并它们很困难。在故障检测中,需要这样的测试用例,它们能够以较少的努力来检测所有故障,而在故障定位中,需要这样的测试用例,其能够再现故障并准确定位。为了提高测试性能,应在回归测试之前进行考虑测试用例多目标选择的这两个阶段的集成。在目前的工作中,提出了一种基于陈述和多样化的变异覆盖率的多目标测试用例选择方法,并将其与现有方法进行比较。为了进行实证研究,使用了SPEA-2,NSGA-2和VEGA算法,并在Defects4j数据库的三个应用程序上进行了实验。研究结果表明,与现有方法相比,该方法具有检测更多故障的能力。它也能够以更好的故障定位率或与现有方法相媲美的方式定位已检测到的所有故障。已使用NSGA-2和VEGA算法,并在Defects4j数据库的三个应用程序上进行了实验。研究结果表明,与现有方法相比,该方法具有检测更多故障的能力。它也能够以更好的故障定位率或与现有方法相媲美的方式定位已检测到的所有故障。已使用NSGA-2和VEGA算法,并在Defects4j数据库的三个应用程序上进行了实验。研究结果表明,与现有方法相比,该方法具有检测更多故障的能力。它也能够以更好的故障定位率或与现有方法相媲美的方式定位已检测到的所有故障。

更新日期:2020-06-06
down
wechat
bug