EUVIMEDEUVIMED entdecken
Crossref

A Survey of Learning-based Automated Program Repair

Quanjun Zhang, Chunrong Fang, Yuxiang Ma, Weisong Sun, Zhenyu Chen

ACM Transactions on Software Engineering and Methodology · 29.02.2024 · 33 (2) · 1-69

DOI: 10.1145/3631974 ↗

Kurz gefasst

Fachartikel in der Zeitschrift ACM Transactions on Software Engineering and Methodology, online erschienen am 23.12.2023. Verfasst von Quanjun Zhang und 4 weiteren Autor:innen. Die Arbeit wurde bisher 134-mal zitiert (Crossref) und nennt 243 Literaturangaben. Gefördert von: National Natural Science Foundation of China, CCF-Huawei Populus Grove Fund, Science, Technology and Innovation Commission of Shenzhen Municipality.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Automated program repair (APR) aims to fix software bugs automatically and plays a crucial role in software development and maintenance. With the recent advances in deep learning (DL), an increasing number of APR techniques have been proposed to leverage neural networks to learn bug-fixing patterns from massive open-source code repositories. Such learning-based techniques usually treat APR as a neural machine translation (NMT) task, where buggy code snippets (i.e., source language) are translated into fixed code snippets (i.e., target language) automatically. Benefiting from the powerful capability of DL to learn hidden relationships from previous bug-fixing datasets, learning-based APR techniques have achieved remarkable performance. In this article, we provide a systematic survey to summarize the current state-of-the-art research in the learning-based APR community. We illustrate the general workflow of learning-based APR techniques and detail the crucial components, including fault localization, patch generation, patch ranking, patch validation, and patch correctness phases. We then discuss the widely adopted datasets and evaluation metrics and outline existing empirical studies. We discuss several critical aspects of learning-based APR techniques, such as repair domains, industrial deployment, and the open science issue. We highlight several practical guidelines on applying DL techniques for future APR studies, such as exploring explainable patch generation and utilizing code features. Overall, our article can help researchers gain a comprehensive understanding about the achievements of the existing learning-based APR techniques and promote the practical application of these techniques. Our artifacts are publicly available at the repository: https://github.com/iSEngLab/AwesomeLearningAPR .

Förderung

  • National Natural Science Foundation of China
  • CCF-Huawei Populus Grove Fund
  • Science, Technology and Innovation Commission of Shenzhen Municipality

Zitieren

APA

Zhang, Q., Fang, C., Ma, Y., Sun, W., & Chen, Z. (2024). A Survey of Learning-based Automated Program Repair. ACM Transactions on Software Engineering and Methodology, 33(2), 1-69. https://doi.org/10.1145/3631974

Vancouver

Zhang Q, Fang C, Ma Y, Sun W, Chen Z. A Survey of Learning-based Automated Program Repair. ACM Transactions on Software Engineering and Methodology. 2024;33(2):1-69. doi:10.1145/3631974

BibTeX
@article{Zhang2024,
  author = {Zhang, Quanjun and Fang, Chunrong and Ma, Yuxiang and Sun, Weisong and Chen, Zhenyu},
  title = {A Survey of Learning-based Automated Program Repair},
  journal = {ACM Transactions on Software Engineering and Methodology},
  year = {2024},
  volume = {33},
  number = {2},
  pages = {1--69},
  doi = {10.1145/3631974}
}
Kostenlos starten →