Variable-Based Fault Localization via Enhanced Decision Tree
Jiajun Jiang, Yumeng Wang, Junjie Chen, Delin Lv, Mengjiao Liu

TL;DR
This paper introduces VARDT, a variable-level fault localization method using a program-dependency-enhanced decision tree, significantly improving bug localization accuracy and aiding automatic program repair.
Contribution
It proposes a novel variable-level fault localization technique with a decision tree model, addressing the granularity problem in fault localization.
Findings
VARDT outperforms state-of-the-art approaches with 247.8% top-1 bug localization improvement.
VARDT achieves an average improvement of 330.5% in bug localization.
VARDT filters 26.0% more incorrect patches, enhancing automatic program repair.
Abstract
Fault localization, aiming at localizing the root cause of the bug under repair, has been a longstanding research topic. Although many approaches have been proposed in the last decades, most of the existing studies work at coarse-grained statement or method levels with very limited insights about how to repair the bug (granularity problem), but few studies target the finer-grained fault localization. In this paper, we target the granularity problem and propose a novel finer-grained variable-level fault localization technique. Specifically, we design a program-dependency-enhanced decision tree model to boost the identification of fault-relevant variables via discriminating failed and passed test cases based on the variable values. To evaluate the effectiveness of our approach, we have implemented it in a tool called VARDT and conducted an extensive study over the Defects4J benchmark. The…
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 Engineering Research · Software Testing and Debugging Techniques · Software Reliability and Analysis Research
