Identifying Root Cause of bugs by Capturing Changed Code Lines with Relational Graph Neural Networks
Jiaqi Zhang, Shikai Guo, Hui Li, Chenchen Li, Yu Chai, Rong Chen

TL;DR
This paper introduces RC-Detection, a relational graph neural network-based method that effectively identifies root causes of bugs by capturing semantic relationships between changed code lines, improving defect detection accuracy.
Contribution
The paper presents a novel approach using relational graph convolutional networks to better integrate heterogeneous code change information for root cause analysis.
Findings
RC-Detection outperforms existing methods in recall metrics.
It improves bug root cause detection accuracy significantly.
Experimental results validate the effectiveness across multiple datasets.
Abstract
The Just-In-Time defect prediction model helps development teams improve software quality and efficiency by assessing whether code changes submitted by developers are likely to introduce defects in real-time, allowing timely identification of potential issues during the commit stage. However, two main challenges exist in current work due to the reality that all deleted and added lines in bug-fixing commits may be related to the root cause of the introduced bug: 1) lack of effective integration of heterogeneous graph information, and 2) lack of semantic relationships between changed code lines. To address these challenges, we propose a method called RC-Detection, which utilizes relational graph convolutional network to capture the semantic relationships between changed code lines. RC-Detection is used to detect root-cause deletion lines in changed code lines, thereby identifying the root…
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 · Software Reliability and Analysis Research
