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
相关论文
共 50 条
  • [41] Achieving scalable mutation-based generation of whole test suites
    Gordon Fraser
    Andrea Arcuri
    Empirical Software Engineering, 2015, 20 : 783 - 812
  • [42] Statement-Oriented Mutant Reduction Strategy for Mutation Based Fault Localization
    Liu, Yong
    Li, Zheng
    Wang, Linxin
    Hu, Zhiwen
    Zhao, Ruilian
    2017 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS), 2017, : 126 - 137
  • [43] GraphPrior: Mutation-based Test Input Prioritization for Graph Neural Networks
    Dang, Xueqi
    Li, Yinghua
    Papadakis, Mike
    Klein, Jacques
    Bissyande, Tegawende F.
    Le Traon, Yves
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2024, 33 (01)
  • [44] Strong Mutation-Based Test Data Generation using Hill Climbing
    Souza, Francisco Carlos M.
    Papadakis, Mike
    Le Traon, Yves
    Delamaro, Marcio E.
    2016 IEEE/ACM 9TH INTERNATIONAL WORKSHOP ON SEARCH-BASED SOFTWARE TESTING (SBST), 2016, : 45 - 54
  • [45] Mutation-based Diagnostic Test Generation for Hardware Design Error Diagnosis
    Deng, Shujun
    Cheng, Kwang-Ting
    Bian, Jinian
    Kong, Zhiqiu
    INTERNATIONAL TEST CONFERENCE 2010, 2010,
  • [46] Tailored mutation-based software fault injection tool (IM-FIT)
    Yayan, Ugur
    Baglum, Cem
    SOFTWAREX, 2023, 23
  • [47] Knowledge-Augmented Mutation-Based Bug Localization for Hardware Design Code
    Wu, Jiang
    Zhang, Zhuo
    Yang, Deheng
    Xu, Jianjun
    He, Jiayu
    Mao, Xiaoguang
    ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2024, 21 (03)
  • [48] Using Spectrum-based Fault Localization for Test Case Grouping
    Weiglhofer, Martin
    Fraser, Gordon
    Wotawa, Franz
    2009 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 2009, : 630 - 634
  • [49] Spectrum-based Fault Localization Tool with Test Case Preprocessor
    Daniel, Patrick
    Sim, K. Y.
    2013 IEEE CONFERENCE ON OPEN SYSTEMS (ICOS), 2013, : 162 - 167
  • [50] Model-Based Test Suite Generation Using Mutation Analysis for Fault Localization
    Choi, Yoo-Min
    Lim, Dong-Jin
    APPLIED SCIENCES-BASEL, 2019, 9 (17):