Jul 2026· Journal of universal computer science (Online)· Vol 32, pp. 1031-1070· 0 citations· 44 references
Computer Science
TL;DR
Current research is summarized to identify key gaps and future directions to optimize LLM based APR are proposed, to assure its reliability and scalability in real world software development.
Abstract
Automated Program Repair (APR) is currently an essential technique for improving software maintenance, assisting in reducing the burden on developers, and minimizing software defects. Recent advances in large language models (LLMs) have significantly impacted this area by improving bug localization, patch generation, and validation.The current LLM based automated program repair (APR) techniques are systematically reviewed in this paper in order to evaluate their advancements, real world constraints, performance comparisons, and security considerations. The study explores the advantages and disadvantages of open-source alternatives like CodeT5 and UniXcoder as well as proprietary LLMs like GPT4 and Codex, taking into consideration their respective costs, customization, and accuracy. Retrieval augmented generation, finetuning techniques, and hybrid approaches that combine LLM with static analysis tools have all significantly increased the effectiveness of APR. However, problems still persist, such as reliance on AI generated patches, high processing demands, and challenges incorporating these techniques into development processes. Furthermore, ethical issues including biases in created patches and the potential to introduce security defects necessitate further research on validation and security aware patch production. This paper summarizes current research to identify key gaps and proposes future directions to optimize LLM based APR, to assure its reliability and scalability in real world software development.
A comprehensive empirical analysis of LLM-based APR techniques, focusing on how repair performance is shaped by bug complexity, fault localization, reasoning settings, and costs, reveals a nontrivial trade-off between repair effectiveness and computational cost.
Junchi Liu, Ali Bigdeli, Roya Daneshi et al.· 1 citation
It is observed that generated code often omits basic input validation or memory-safety checks, which can lead to overflows, resource exhaustion, or other reliability/security issues, and even the largest models frequently make simple mistakes.
Rodrigo Pato Nogueira, Marco Vieira, João R. Campos· 0 citations
This paper identifies patch verbosity as a major yet overlooked concern in LLM-based APR and proposes RECAP, a lightweight, plug-and-play adapter that attaches to existing repair frameworks after generation that achieves a substantially better size-correctness tradeoff.
Wen-Qiang Luo, J. Keung, Xiaoyu Shi et al.· 0 citations
Results show that ML-enhanced recommendations outperform traditional methods in accuracy, relevance, and impact on maintainability metrics, and highlight the potential of integrating ML into modern development practices to support developers in producing cleaner, more maintainable software systems.
Rohit Malhotra· International Journal of Mod...· 0 citations
Timely identification of security-related bug reports is essential to minimize the window of vulnerabilities in software systems. Manually screening incoming bug reports to identify security-related issues is time-consuming, error-prone, and non-scalable for large-scale software systems. Thus, a variety of automatic techniques, including traditional machine learning (ML) techniques and large language models, have been proposed to facilitate this task. However, the literature remains fragmented. Most studies introduce or optimize a particular technique and evaluate it against a limited set of baselines, often under different experimental setups. As a result, it is difficult to compare their results and draw reliable conclusions about the effectiveness of existing approaches, leaving researchers and practitioners without clear guidance on which techniques are most suitable for the task. To address this gap, we conducted a comparative analysis of several promising automated techniques to identify security-related bug reports using benchmark datasets. We evaluated Logistic Regression, Support Vector Machines, Random Forest, OpenAI's GPT-5.2, BERT-base, RoBERTa, and SetFit (a state-of-the-art few-shot learning framework). Our results indicate that SetFit achieves the best overall performance, achieving an F1-score of 0.80 and outperforming other techniques on three of the four datasets. RoBERTa performs competitively and approaches SetFit in some projects, while traditional ML techniques, particularly Logistic Regression, remain a strong baseline in certain contexts. In contrast, GPT-5.2 performs poorly in both zero-shot and few-shot settings. In addition, cross-project experiments demonstrate that transfer learning can improve performance for projects with limited data, but may degrade results for projects with strong project-specific characteristics.
M. Laiq· arXiv.org· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.