Factors Influencing the Quality of AI-Generated Code: A Synthesis of Empirical Evidence
Vehid Geruslu, Zulfiyya Aliyeva, Eray T\"uz\"un

TL;DR
This paper systematically reviews empirical evidence on factors affecting the quality of AI-generated code, highlighting the influence of human, AI, and interaction factors on software quality outcomes.
Contribution
It provides a comprehensive synthesis of empirical studies on AI code quality, identifying key influencing factors and their impact on various quality metrics.
Findings
Code quality is affected by prompt design, task clarity, and developer expertise.
Variability exists in correctness, security, and maintainability of AI-generated code.
Both improvements and risks are associated with AI-assisted code generation.
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…
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 · Artificial Intelligence in Healthcare and Education · Scientific Computing and Data Management
