A Survey on Automated Program Repair Techniques
Preprint
Abstract
With the rapid development and large-scale popularity of program software, modern society increasingly relies on software systems. However, the problems exposed by software have also come to the fore. Software defect has become an important factor troubling developers. In this context, Automated Program Repair (APR) techniques have emerged, aiming to automatically fix software defect problems and reduce manual debugging work. In particular, benefiting from the advances in deep learning, numerous learning-based APR techniques have emerged in recent years, which also bring new opportunities for APR research. To give researchers a quick overview of APR techniques' complete development and future opportunities, we revisit the evolution of APR techniques and discuss in depth the latest advances in APR research. In this paper, the development of APR techniques is introduced in terms of four different patch generation schemes: search-based, constraint-based, template-based, and learning-based. Moreover, we propose a uniform set of criteria to review and compare each APR tool, summarize the advantages and disadvantages of APR techniques, and discuss the current state of APR development. Furthermore, we introduce the research on the related technical areas of APR that have also provided a strong motivation to advance APR development. Finally, we analyze current challenges and future directions, especially highlighting the critical opportunities that large language models bring to APR research.Keywords
All Related Versions
This publication has 37 references indexed in Scilit:
- E-APR: Mapping the effectiveness of automated program repair techniquesEmpirical Software Engineering, 2021
- Are datasets for information retrieval-based bug localization techniques trustworthy?Empirical Software Engineering, 2021
- Automated patch assessment for program repair at scaleEmpirical Software Engineering, 2021
- CGenProg: Adaptation of cartesian genetic programming with migration and opposite guesses for automatic repair of software regression faultsExpert Systems with Applications, 2021
- SampleFix: Learning to Generate Functionally Diverse Fixes2021
- Essential Spectrum-based Fault Localization2021
- FixMiner: Mining relevant fix patterns for automated program repairEmpirical Software Engineering, 2020
- Overfitting in semantics-based automated program repairEmpirical Software Engineering, 2018
- Mining software repair models for reasoning on the search space of automated program fixingEmpirical Software Engineering, 2013
- Toward an understanding of bug fix patternsEmpirical Software Engineering, 2008