{"source":"arXiv","keyphrase":{"label":"code quality","slug":"code-quality","url":"https://arxivai.feedbot.top/keyphrase/code-quality"},"dateRange":{"from":"2026-03-26","through":"2026-11-30"},"reviewCount":2,"reviews":[
{"authors":"Prashank Kadam","abstract":"Large language models pass most functional-correctness benchmarks, but passing tests says little about whether their code is readable, efficient or secure. Many techniques claim to improve these qualities, yet their evidence is scattered, usually covers one quality dimension and is rarely compared at an equal compute budget. We contribute a systematic review and a controlled re-evaluation. A systematic literature review of 628 primary studies (July 2021 to October 2026), with disclosed, author-reviewed LLM assistance, organizes the techniques by stage, signal source and quality target. Most studies measure only the dimension they target, gains often come with unchanged or unreported correctness, single automated quality signals are gamed, and compute, variance and contamination are rarely reported. A controlled re-evaluation runs ten techniques on four models at matched budgets on correctness, maintainability, efficiency and security benchmarks, extends it to thirteen current models and repository-level tasks, and compares 66 highlighted techniques head-to-head on Gemma 4 31B. At one call, quality prompting raises analyzer issue counts and leaves complexity and judge scores almost unchanged. At matched budgets, best-of-n sampling with an analyzer-weighted ranker matches or beats prompting, planning, self-refinement, a reviewer agent and retrieval on measures the ranker does not optimize, while an analyzer feedback loop and fine-tuning beat it only on analyzer issue counts. Large correctness losses on HumanEval+, a likely contaminated benchmark near its ceiling, do not appear on contests held after the models' training cutoffs. In the head-to-head, 1 of 66 techniques beats best-of-n on its primary target beyond the 95% interval, a rate consistent with chance. Gains should be reported against a budget-matched sampling baseline and on measures independent of the technique's own signal.","categories":["cs.SE","cs.CL","cs.LG"],"keyphrases":["AI-generated code","code quality","code generation","software maintainability","systematic reviews"],"id":"2610.38977","title":"Beyond Passing Tests: A Systematic Review and Controlled Re-evaluation of Techniques for Improving the Quality of LLM-Generated Code","reviewScope":"This systematic review compares techniques for improving the readability, efficiency, security, and other nonfunctional properties of language-model-generated code, including how these properties are tested.","issueDate":"2026-10-29","url":"https://arxiv.org/abs/2610.38977v1","digestUrl":"https://arxivai.feedbot.top/day/2026-10-29#paper-2610.38977"},
{"authors":"Vehid Geruslu, Zulfiyya Aliyeva, Eray Tüzün","abstract":"Context: The rapid adoption of AI-assisted code generation tools, such as large language models (LLMs), is transforming software development practices. While these tools promise significant productivity gains, concerns regarding the quality, reliability, and security of AI-generated code are increasingly reported in both academia and industry. --Objective: This study aims to systematically synthesize existing empirical evidence on the factors influencing the quality of AI-generated source code and to analyze how these factors impact software quality outcomes across different evaluation contexts. --Method: We conducted a systematic literature review (SLR) following established guidelines, supported by an AI-assisted workflow with human oversight. A total of 24 primary studies were selected through a structured search and screening process across major digital libraries. Data were extracted and analyzed using qualitative, pattern-based evidence synthesis. --Results: The findings reveal that code quality in AI-assisted development is influenced by a combination of human factors, AI system characteristics, and human AI interaction dynamics. Key influencing factors include prompt design, task specification, and developer expertise. The results also show variability in quality outcomes such as correctness, security, maintainability, and complexity across studies, with both improvements and risks reported. --Conclusion: AI-assisted code generation represents a socio-technical shift in software engineering, where achieving high-quality outcomes depends on both technological and human factors. While promising, AI-generated code requires careful validation and integration into development workflows.","categories":["cs.SE","cs.AI"],"keyphrases":["AI-generated code","code quality","task specification","maintainability"],"id":"2603.25146","title":"Factors Influencing the Quality of AI-Generated Code: A Synthesis of Empirical Evidence","reviewScope":"This systematic review synthesizes 24 studies on artificial intelligence-generated code quality, examining how prompts, task specifications, developer expertise, and tool characteristics affect correctness, security, and maintainability.","issueDate":"2026-03-26","url":"https://arxiv.org/abs/2603.25146v1","digestUrl":"https://arxivai.feedbot.top/day/2026-03-26#paper-2603.25146"}]}
