Review4Repair: Code Review Aided Automatic Program Repairing
Faria Huq, Masum Hasan, Mahim Anzum Haque Pantho, Sazan Mahbub,, Anindya Iqbal, Toufique Ahmed

TL;DR
This paper introduces a learning-based program repair method that leverages code review comments to improve bug fixing accuracy, reducing dependency on bug localizers and enhancing trustworthiness.
Contribution
The study presents a novel approach that utilizes code review comments for automatic program repair, with new tokenization methods and a large dataset, achieving significant accuracy improvements.
Findings
Top-1 accuracy increased by 20.33%
Top-10 accuracy increased by 34.82%
Able to address stylistic and non-code errors
Abstract
Context: Learning-based automatic program repair techniques are showing promise to provide quality fix suggestions for detected bugs in the source code of the software. These tools mostly exploit historical data of buggy and fixed code changes and are heavily dependent on bug localizers while applying to a new piece of code. With the increasing popularity of code review, dependency on bug localizers can be reduced. Besides, the code review-based bug localization is more trustworthy since reviewers' expertise and experience are reflected in these suggestions. Objective: The natural language instructions scripted on the review comments are enormous sources of information about the bug's nature and expected solutions. However, none of the learning-based tools has utilized the review comments to fix programming bugs to the best of our knowledge. In this study, we investigate 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 Reliability and Analysis Research · Software Testing and Debugging Techniques
