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 条
  • [1] IETCR: An Information Entropy Based Test Case Reduction Strategy for Mutation-Based Fault Localization
    Wang, Haifeng
    Du, Bin
    He, Jie
    Liu, Yong
    Chen, Xiang
    IEEE ACCESS, 2020, 8 (08): : 124297 - 124310
  • [2] MuSim: Mutation-based Fault Localization Using Test Case Proximity
    Dutta, Arpita
    Jha, Amit
    Mall, Rajib
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2021, 31 (05) : 725 - 744
  • [3] GMBFL: Optimizing Mutation-Based Fault Localization via Graph Representation
    Wu, Shumei
    Li, Zheng
    Liu, Yong
    Chen, Xiang
    Li, Mingyu
    2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION, ICSME, 2023, : 245 - 257
  • [4] SMBFL: slice-based cost reduction of mutation-based fault localization
    Chaleshtari, Nazanin Bayati
    Parsa, Saeed
    EMPIRICAL SOFTWARE ENGINEERING, 2020, 25 (05) : 4282 - 4314
  • [5] HMER: A Hybrid Mutation Execution Reduction approach for Mutation-based Fault Localization
    Li, Zheng
    Wang, Haifeng
    Liu, Yong
    JOURNAL OF SYSTEMS AND SOFTWARE, 2020, 168
  • [6] SMBFL: slice-based cost reduction of mutation-based fault localization
    Nazanin Bayati Chaleshtari
    Saeed Parsa
    Empirical Software Engineering, 2020, 25 : 4282 - 4314
  • [7] An optimal mutation execution strategy for cost reduction of mutation-based fault localization
    Liu, Yong
    Li, Zheng
    Zhao, Ruilian
    Gong, Pei
    INFORMATION SCIENCES, 2018, 422 : 572 - 596
  • [8] Mutation-Based Graph Inference for Fault Localization
    Musco, Vincenzo
    Monperrus, Martin
    Preux, Philippe
    2016 IEEE 16TH INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM), 2016, : 97 - 106
  • [9] SGS: Mutant Reduction for Higher-order Mutation-based Fault Localization
    Fan, Luxi
    Li, Zheng
    Liu, Hengyuan
    Paul, Doyle
    Wang, Haifeng
    Chen, Xiang
    Liu, Yong
    2023 IEEE 47TH ANNUAL COMPUTERS, SOFTWARE, AND APPLICATIONS CONFERENCE, COMPSAC, 2023, : 870 - 875
  • [10] Metallaxis-FL: mutation-based fault localization
    Papadakis, Mike
    Le Traon, Yves
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2015, 25 (5-7): : 605 - 628