Improving Spectrum-Based Localization of Multiple Faults by Iterative Test Suite Reduction
Dylan Callaghan, Bernd Fischer
Abstract
Spectrum-based fault localization (SBFL) works well for single-fault programs but its accuracy decays for increasing fault numbers. We present FLITSR (Fault Localization by Iterative Test Suite Reduction), a novel SBFL extension that improves the localization of a given base metric specifically in the presence of multiple faults. FLITSR iteratively selects reduced versions of the test suite that better localize the individual faults in the system. This allows it to identify and re-rank faults ranked too low by the base metric because they were masked by other program elements. We evaluated FLITSR over method-level spectra from an existing large synthetic dataset comprising 75000 variants of 15 opensource projects with up to 32 injected faults, as well as method-and statement-level spectra from a new dataset with 326 true multi-fault versions from the Defects4J benchmark set containing up to 14 real faults. For all three spectrum types we consistently see substantial reductions of the average wasted efforts at different fault levels, of 30%-90% over the best base metric, and generally similarly large increases in precision and recall, albeit with larger variance across the underlying projects. For the method-level real faults, FLITSR also substantially outperforms GRACE, a state-of-the-art learning-based fault localizer. CCS CONCEPTS • Software and its engineering → Software testing and debugging.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext dfa9d465-f0e2-4788-a4e2-9a5b57d07b33Builds on1
Related papers
- Better Automatic Program Repair by Using Bug Reports and Tests TogetherManish Motwani, Yuriy BrunICSE 2023 · 22 citations
- How Useful is Code Change Information for Fault Localization in Continuous Integration?An Ran Chen, Tse-Hsun (Peter) Chen, Junjie ChenASE 2022 · 9 citations
- Project-Scale Statement-Level Fault Localization via Multi-view Semantic Learning and Pairwise RerankingHongwei Yu, Xu Wang, Jian Zhang, Xiangxin Meng et al.ISSTA 2026
- FDG: a precise measurement of fault diagnosability gain of test casesGabin An, Shin YooISSTA 2022 · 6 citations
- Signal Denoising Based Kill Matrix Refinement for Mutation-Based Fault LocalizationHengyuan Liu, Xia Song, Yong Liu, Zheng LiISSTA 2026
