Locating Faulty Methods with a Mixed RNN and Attention Model
Shouliang Yang, Junming Cao, Hushuang Zeng, Beijun Shen, Hao Zhong

TL;DR
This paper introduces MRAM, a novel mixed RNN and attention model that leverages code revision graphs and multiple features to improve method-level fault localization from bug reports, outperforming existing approaches.
Contribution
The paper proposes MRAM, a new model combining code revision graphs and multi-feature embedding to address challenges in method-level fault localization.
Findings
MRAM improves MRR by up to 5.1% over state-of-the-art methods.
Constructed code revision graphs reveal latent relations among methods.
Multi-feature integration enhances relevance detection between bug reports and code.
Abstract
IR-based fault localization approaches achieves promising results when locating faulty files by comparing a bug report with source code. Unfortunately, they become less effective to locate faulty methods. We conduct a preliminary study to explore its challenges, and identify three problems: the semantic gap problem, the representation sparseness problem, and the single revision problem. To tackle these problems, we propose MRAM, a mixed RNN and attention model, which combines bug-fixing features and method structured features to explore both implicit and explicit relevance between methods and bug reports for method level fault localization task. The core ideas of our model are: (1) constructing code revision graphs from code, commits and past bug reports, which reveal the latent relations among methods to augment short methods and as well provide all revisions of code and past fixes to…
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 System Performance and Reliability · Advanced Malware Detection Techniques
