Integrating Various Software Artifacts for Better LLM-based Bug Localization and Program Repair
Qiong Feng, Xiaotian Ma, Jiayi Sheng, Ziyuan Feng, Wei Song, Peng Liang

TL;DR
This paper introduces DEVLoRe, a novel approach that leverages multiple software artifacts such as issue content, stack traces, and debug info to improve bug localization and program repair using LLMs, outperforming existing methods.
Contribution
DEVLoRe is the first framework to effectively combine diverse software artifacts for LLM-based bug localization and repair, demonstrating significant improvements over state-of-the-art techniques.
Findings
DEVLoRe locates 49.3% of buggy methods in Defects4J v2.0.
DEVLoRe generates 56.0% plausible patches on average.
Incorporating multiple artifacts enhances bug localization and repair performance.
Abstract
LLMs have garnered considerable attention for their potential to streamline Automated Program Repair (APR). LLM-based approaches can either insert the correct code or directly generate patches when provided with buggy methods. However, most of LLM-based APR methods rely on a single type of software information, without fully leveraging different software artifacts. Despite this, many LLM-based approaches do not explore which specific types of information best assist in APR. Addressing this gap is crucial for advancing LLM-based APR techniques. We propose DEVLoRe to use issue content (description and message) and stack error traces to localize buggy methods, then rely on debug information in buggy methods and issue content and stack error to localize buggy lines and generate plausible patches which can pass all unit tests. The results show that while issue content is particularly…
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 Testing and Debugging Techniques · Software Engineering Research · Software Reliability and Analysis Research
MethodsSoftmax · Attention Is All You Need
