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 条
  • [31] Boosting mutation-based fault localization by effectively generating Higher-Order Mutants
    Wu, Shumei
    Yang, Binbin
    Chang, Zexing
    Li, Zheng
    Chen, Xiang
    Liu, Yong
    INFORMATION AND SOFTWARE TECHNOLOGY, 2025, 180
  • [32] Automated Mutation-based Test Case Evaluation for Semantic Web Services
    Jokhio, M. Shaban
    Dobbie, Gillian
    Hu, Tianming
    Sun, Jing
    2014 23RD AUSTRALASIAN SOFTWARE ENGINEERING CONFERENCE (ASWEC), 2013, : 210 - 219
  • [33] Test Suite Reduction for Self-organizing Systems: A Mutation-based Approach
    Reichstaller, Andre
    Eberhardinger, Benedikt
    Ponsar, Hella
    Knapp, Alexander
    Reif, Wolfgang
    2018 IEEE/ACM 13TH INTERNATIONAL WORKSHOP ON AUTOMATION OF SOFTWARE TEST (AST), 2018, : 64 - 70
  • [34] Improving the Performance of Mutation-based Fault Localization via Mutant Bias Practical Experience Report
    Du, Bin
    Cai, Yuxiaoyang
    Wang, Haifeng
    Liu, Yong
    Chen, Xiang
    2022 IEEE 33RD INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE 2022), 2022, : 309 - 320
  • [35] Delta4Ms: Improving mutation-based fault localization by eliminating mutant bias
    Liu, Hengyuan
    Li, Zheng
    Han, Baolong
    Liu, Yangtao
    Chen, Xiang
    Liu, Yong
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2024, 34 (04):
  • [36] MutShrink: a Mutation-based Test Database Shrinking Method
    Toledo, Ludmila, I
    Camilo-Junior, Celso G.
    Rodrigues, Cassio Leonardo
    2020 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS (SMC), 2020, : 887 - 892
  • [37] Mutation-Based Generation of Software Product Line Test Configurations
    Henard, Christopher
    Papadakis, Mike
    Le Traon, Yves
    SEARCH-BASED SOFTWARE ENGINEERING, 2014, 8636 : 92 - 106
  • [38] Achieving scalable mutation-based generation of whole test suites
    Fraser, Gordon
    Arcuri, Andrea
    EMPIRICAL SOFTWARE ENGINEERING, 2015, 20 (03) : 783 - 812
  • [39] Mutation-Based Minimal Test Suite Generation for Boolean Expressions
    Ayav, Tolga
    Belli, Fevzi
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2023, 33 (06) : 865 - 884
  • [40] MUTREX: a mutation-based generator of fault detecting strings for regular expressions
    Arcaini, Paolo
    Gargantini, Angelo
    Riccobene, Elvinia
    10TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS - ICSTW 2017, 2017, : 87 - 96