Factors Influencing the Quality of AI-Generated Code: A Synthesis of Empirical Evidence

Vehid Geruslu, Zulfiyya Aliyeva, Eray Tüzün
3/26/2026
cs.SEcs.AI

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{geruslu2026factors,
  title  = {Factors Influencing the Quality of AI-Generated Code: A Synthesis of Empirical Evidence},
  author = {Vehid Geruslu and Zulfiyya Aliyeva and Eray Tüzün},
  year   = {2026},
  eprint = {2603.25146},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.25146v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.25146.svg)](https://codeofpaper.com/paper/2603.25146)

Discussion