A Hybrid Approach to Fine-grained Automated Fault Localization
Leping Li, Hui Liu

TL;DR
This paper introduces a hybrid fault localization method combining dynamic spectrum analysis with static statement type information, improving accuracy over traditional spectrum-based approaches.
Contribution
It proposes a novel approach that leverages statement types and their error-proneness to enhance fault localization precision.
Findings
Outperforms traditional SBFL in reducing waste effort by 9.3% on average.
Utilizes static statement types to prioritize suspicious code elements.
Effective on the Defects4J benchmark.
Abstract
Fault localization is to identify faulty source code. It could be done on various granularities, e.g., classes, methods, and statements. Most of the automated fault localization (AFL) approaches are coarse-grained because it is challenging to accurately locate fine-grained faulty software elements, e.g., statements. SBFL, based on dynamic execution of test cases only, is simple, intuitive, and generic (working on various granularities). However, its accuracy deserves significant improvement. To this end, in this paper, we propose a hybrid fine-grained AFL approach based on both dynamic spectrums and static statement types. The rationale of the approach is that some types of statements are significantly more/less error-prone than others, and thus statement types could be exploited for fault localization. On a crop of faulty programs, we compute the error-proneness for each type of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Testing and Debugging Techniques · Software Engineering Research · Software System Performance and Reliability
