Detecting the Root Cause Code Lines in Bug-Fixing Commits by Heterogeneous Graph Learning
Liguo Ji, Chenchen Li, Shenglin Wang, Furui Zhan

TL;DR
This paper introduces RC_Detector, a novel heterogeneous graph learning approach for accurately identifying root cause code lines in bug-fixing commits, addressing limitations of previous methods by modeling cross-line dependencies.
Contribution
The paper presents a new heterogeneous graph learning framework with semantic aggregation and retention components for defect prediction in complex software projects.
Findings
Outperforms state-of-the-art methods in bug root cause detection.
Achieves up to 96.83% improvement in key metrics.
Validated on 87 open-source projects with 675 commits.
Abstract
With the continuous growth in the scale and complexity of software systems, defect remediation has become increasingly difficult and costly. Automated defect prediction tools can proactively identify software changes prone to defects within software projects, thereby enhancing software development efficiency. However, existing work in heterogeneous and complex software projects continues to face challenges, such as struggling with heterogeneous commit structures and ignoring cross-line dependencies in code changes, which ultimately reduce the accuracy of defect identification. To address these challenges, we propose an approach called RC_Detector. RC_Detector comprises three main components: the bug-fixing graph construction component, the code semantic aggregation component, and the cross-line semantic retention component. The bug-fixing graph construction component identifies the code…
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.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software Testing and Debugging Techniques · Advanced Malware Detection Techniques
