Optimizing Mutation-Based Fault Localization Through Contribution-Based Test Case Reduction

被引:0
作者
Wang, Haifeng [1 ]
Yang, Kun [1 ]
Wu, Tong [1 ]
机构
[1] Ctr Adv Metering Infrastruct, Natl Inst Metrol, Beijing 100029, Peoples R China
关键词
Software debugging; fault localization; mutation-based fault localization; test case reduction; STRATEGY;
D O I
10.1142/S021819402450027X
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Fault localization is an expensive phase of software debugging processes. Although Mutation-based Fault Localization (MBFL) is a promising technique, its computational cost remains high due to the extensive mutation executions involved in mutation analysis. Previous studies have primarily focused on reducing costs by decreasing the mutant numbers and optimizing the execution, yielding promising results. However, test case reduction has also proven to be effective in reducing costs in MBFL. In this paper, we propose an approach called Contribution-Based Test Case Reduction (CBTCR) aimed at enhancing MBFL efficiency. CBTCR assesses the contribution value of each test case and selects them accordingly. The reduced test suite is then used for mutant execution. We evaluate CBTCR on 543 real software faults from Defects4J benchmark. Results show that CBTCR outperforms other MBFL test case reduction strategies (e.g. FTMES, IETCR), in terms of the Top-N and MAP metrics. Moreover, CBTCR achieves an average cost reduction of 87.06%, while maintaining accuracy comparable to those of the original MBFL techniques. This research paper presents an innovative and effective solution for optimizing MBFL, which can significantly reduce the cost and time required for software debugging.
引用
收藏
页码:1537 / 1564
页数:28
相关论文
共 49 条
[1]  
Abreu R, 2006, 12TH PACIFIC RIM INTERNATIONAL SYMPOSIUM ON DEPENDABLE COMPUTING, PROCEEDINGS, P39
[2]  
[Anonymous], 2014, 2014 INT S SOFTWARE
[3]  
[Anonymous], 2013, P 2013 INT S SOFTWAR, DOI [10.1145/2483760.2483782, DOI 10.1145/2483760.2483782]
[4]   Spectrum-based fault localization in software product lines [J].
Arrieta, Aitor ;
Segura, Sergio ;
Markiegi, Urtzi ;
Sagardui, Goiuria ;
Etxeberria, Leire .
INFORMATION AND SOFTWARE TECHNOLOGY, 2018, 100 :18-31
[5]   Reinforcement Learning for Test Case Prioritization [J].
Bagherzadeh, Mojtaba ;
Kahani, Nafiseh ;
Briand, Lionel .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2022, 48 (08) :2836-2856
[6]   SMBFL: slice-based cost reduction of mutation-based fault localization [J].
Chaleshtari, Nazanin Bayati ;
Parsa, Saeed .
EMPIRICAL SOFTWARE ENGINEERING, 2020, 25 (05) :4282-4314
[7]  
Coles H., 2016, P 25 INT S SOFTW TES, P449
[8]   Improving the Performance of Mutation-based Fault Localization via Mutant Bias Practical Experience Report [J].
Du, Bin ;
Cai, Yuxiaoyang ;
Wang, Haifeng ;
Liu, Yong ;
Chen, Xiang .
2022 IEEE 33RD INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE 2022), 2022, :309-320
[9]  
Jones JA, 2002, ICSE 2002: PROCEEDINGS OF THE 24TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, P467, DOI 10.1109/ICSE.2002.1007991
[10]  
Just R., 2014, P 2014 INT S SOFTW T, P433, DOI DOI 10.1145/2610384.2628053