Do not neglect what's on your hands: localizing software faults with exception trigger stream
Abstract
Existing fault localization techniques typically analyze static information and run-time profiles of faulty software programs, and subsequently calculate suspiciousness values for each program entity. Such strategies typically have overbroad information to be analyzed and lead to unsatisfactory results. Exception is a widely-used programming language feature. It is closely related to the execution status during the execution of programs, and thus can be incorporated into automatic fault localization techniques for better effectiveness. Based on this intuition, we propose EXPECT, a novel fault localization technique that makes use of exception information, a valuable source of data for fault localization while being often ignored in previous research. Specifically, EXPECT first constructs exception trigger streams (including exception trigger information and execution traces), and then localizes faults by tracing bifurcation points between different exception trigger streams. Moreover, the tie-breaking problem can be also benefited from the use of exception trigger streams. Experimental results demonstrate the advantages of EXPECT: it achieves as high as 38.26% improvements in localizing faults regarding the Exam metric in comparison to the state-of-the-art fault localization technique, and it reduces the scales of ties in existing FL methods by up to 99.08%.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
- A Universal Data Augmentation Approach for Fault Localization cites Fault Localization with Code Coverage Representation Learning
- A Universal Data Augmentation Approach for Fault Localization cites Improving Fault Localization by Integrating Value and Predicate Based Causal Inference Techniques
- How Useful is Code Change Information for Fault Localization in Continuous Integration? cites Fault Localization with Code Coverage Representation Learning
- Fault Localization via Efficient Probabilistic Modeling of Program Semantics cites Improving Fault Localization by Integrating Value and Predicate Based Causal Inference Techniques
Builds on6
- Fault Localization with Code Coverage Representation LearningYi Li, Shaohua Wang, Tien N. NguyenICSE 2021 · 120 citations
- A Universal Data Augmentation Approach for Fault LocalizationHuan Xie, Yan Lei, Meng Yan, Yue Yu et al.ICSE 2022 · 57 citations
- Fault Localization via Efficient Probabilistic Modeling of Program SemanticsMuhan Zeng, Yiqian Wu, Zhentao Ye, Yingfei Xiong et al.ICSE 2022 · 37 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
- Improving Fault Localization by Integrating Value and Predicate Based Causal Inference TechniquesYigit Küçük, Tim A. D. Henderson, Andy PodgurskiICSE 2021 · 6 citations
Related papers
- PAFL: Enhancing Fault Localizers by Leveraging Project-Specific Fault PatternsDonguk Kim, Minseok Jeon, Doha Hwang, Hakjoo OhOOPSLA 2025 · 1 citation
- Can automated program repair refine fault localization? a unified debugging approachYiling Lou, Ali Ghanbari, Xia Li, Lingming Zhang et al.ISSTA 2020 · 99 citations
- A Quantitative and Qualitative Evaluation of LLM-Based Explainable Fault LocalizationSungmin Kang, Gabin An, Shin YooFSE 2024 · 69 citations
- Denoising Fault Localization with Test Line ProximityMarius Smytzek, Andreas ZellerFSE 2026
- On the Effectiveness of Unified Debugging: An Extensive Study on 16 Program Repair SystemsSamuel Benton, Xia Li, Yiling Lou, Lingming ZhangASE 2020 · 35 citations
