Evaluating the Code Quality of AI-Assisted Code Generation Tools: An Empirical Study on GitHub Copilot, Amazon CodeWhisperer, and ChatGPT
Not on the map. Why?
Abstract (arXiv)
Context: AI-assisted code generation tools have become increasingly prevalent in software engineering, offering the ability to generate code from natural language prompts or partial code inputs. Notable examples of these tools include GitHub Copilot, Amazon CodeWhisperer, and OpenAI's ChatGPT. Objective: This study aims to compare the performance of these prominent code generation tools in terms of code quality metrics, such as Code Validity, Code Correctness, Code Security, Code Reliability, and Code Maintainability, to identify their strengths and shortcomings. Method: We assess the code generation capabilities of GitHub Copilot, Amazon CodeWhisperer, and ChatGPT using the benchmark HumanEval Dataset. The generated code is then evaluated based on the proposed code quality metrics. Results: Our analysis reveals that the latest versions of ChatGPT, GitHub Copilot, and Amazon CodeWhisperer generate correct code 65.2%, 46.3%, and 31.1% of the time, respectively. In comparison, the newer versions of GitHub CoPilot and Amazon CodeWhisperer showed improvement rates of 18% for GitHub Copilot and 7% for Amazon CodeWhisperer. The average technical debt, considering code smells, was found to be 8.9 minutes for ChatGPT, 9.1 minutes for GitHub Copilot, and 5.6 minutes for Amazon CodeWhisperer. Conclusions: This study highlights the strengths and weaknesses of some of the most popular code generation tools, providing valuable insights for practitioners. By comparing these generators, our results may assist practitioners in selecting the optimal tool for specific tasks, enhancing their decision-making process.
Key facts. Cited by 71 papers in the map (data through 7 Oct 2026). First posted on arXiv 21 Apr 2023.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 8; 2024: 21; 2025: 21; 2026: 21.
71 papers.
Sort:
By area:
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
- 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 173
- 2023Purple Llama CyberSecEval: A Secure Coding Benchmark for Language Modelscited by 130
- 2024Beyond Functional Correctness: Exploring Hallucinations in LLM-Generated Codecited by 106
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 71
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Codecited by 62
- 2024CodeUltraFeedback: An LLM-as-a-Judge Dataset for Aligning Large Language Models to Coding Preferencescited by 56
- 2024Lean Copilot: Large Language Models as Copilots for Theorem Proving in Leancited by 52
- 2023SMILE: Single-turn to Multi-turn Inclusive Language Expansion via ChatGPT for Mental Health Supportcited by 46
- 2024SOEN-101: Code Generation by Emulating Software Process Models Using Large Language Model Agentscited by 34
- 2024Prompting Techniques for Secure Code Generation: A Systematic Investigationcited by 33
- 2024CodeXEmbed: A Generalist Embedding Model Family for Multiligual and Multi-task Code Retrievalcited by 33
38 more
- 2024Between Lines of Code: Unraveling the Distinct Patterns of Machine and Human Programmerscited by 27
- 2024The Future of AI-Driven Software Engineeringcited by 23
- 2023LLM for SoC Security: A Paradigm Shiftcited by 22
- 2024Large Action Models: From Inception to Implementationcited by 18
- 2025Security and Quality in LLM-Generated Code: A Multi-Language, Multi-Model Analysiscited by 18
- 2025AgentBreeder: Mitigating the AI Safety Risks of Multi-Agent Scaffolds via Self-Improvementcited by 13
- 2024RGD: Multi-LLM Based Agent Debugger via Refinement and Generation Guidancecited by 12
- 2024Enhancing Large Language Models with Pseudo- and Multisource- Knowledge Graphs for Open-ended Question Answeringcited by 8
- 2024Learn to Code Sustainably: An Empirical Study on LLM-based Green Code Generationcited by 7
- 2024Investigating the Performance of Language Models for Completing Code in Functional Programming Languages: a Haskell Case Studycited by 7
- 2025Evaluating Large Language Models for Code Reviewcited by 7
- 2025Pragmatic Reasoning improves LLM Code Generationcited by 6
- 2025LLM Benchmarking with LLaMA2: Evaluating Code Development Performance Across Multiple Programming Languagescited by 5
- 2026HiRAS: A Hierarchical Multi-Agent Framework for Paper-to-Code Generation and Executioncited by 5
- 2023An Empirical Study of AI-based Smart Contract Creationcited by 4
- 2023Language Models for Business Optimisation with a Real World Case Study in Production Schedulingcited by 4
- 2025AI Code in the Wild: Measuring Security Risks and Ecosystem Shifts of AI-Generated Code in Modern Softwarecited by 4
- 2026Revisiting DAgger in the Era of LLM-Agentscited by 4
- 2024TaskEval: Assessing Difficulty of Code Generation Tasks for Large Language Modelscited by 3
- 2024Controlled Automatic Task-Specific Synthetic Data Generation for Hallucination Detectioncited by 3
- 2024Evaluating Quantized Large Language Models for Code Generation on Low-Resource Language Benchmarkscited by 3
- 2025GREEN-CODE: Learning to Optimize Energy Efficiency in LLM-based Code Generationcited by 3
- 2026Investigating Autonomous Agent Contributions in the Wild: Activity Patterns and Code Change over Timecited by 3
- 2026Beyond Verifiable Rewards: Rubric-Based GRM for Reinforced Fine-Tuning SWE Agentscited by 3
- 2024The Impact of AI Tool on Engineering at ANZ Bank An Empirical Study on GitHub Copilot within Corporate Environmentcited by 2
- 2024A Comprehensive Framework for Evaluating API-oriented Code Generation in Large Language Modelscited by 2
- 2025Unlocking the Potential of Past Research: Using Generative AI to Reconstruct Healthcare Simulation Modelscited by 2
- 2025Adversarial Reasoning for Repair Based on Inferred Program Intentcited by 2
- 2025Do Generative AI Tools Ensure Green Code? An Investigative Studycited by 2
- 2025Pre-Filtering Code Suggestions using Developer Behavioral Telemetry to Optimize LLM-Assisted Programmingcited by 2
- 2026The State of Generative AI in Software Development: Insights from Literature and a Developer Surveycited by 2
- 2025The Role of GitHub Copilot on Software Development: A Perspective on Productivity, Security, Best Practices and Future Directionscited by 1
- 2025Enhancing the Non-Functional Quality Compliance of LLM-Generated Code through Quality-Aware Preference Learningcited by 1
- 2025Exploring utilization of generative AI for research and education in data-driven materials sciencecited by 1
- 2025On Developers' Self-Declaration of AI-Generated Code: An Analysis of Practicescited by 1
- 2025Investigating Security Implications of Automatically Generated Code on the Software Supply Chaincited by 1
- 2025Secure Code Generation at Scale with Reflexioncited by 1
- 2026Social Bias in LLM-Generated Code: Benchmark and Mitigationcited by 1
50 most cited of 71 All 71 (JSON)
- 2026Building a research-software catalog with a coding agent: from hackathon prototype to public deployment4 Sep 2026
- 2026Engineering Signals of Human-AI Collaboration in the Agentic Coding Era: A Longitudinal Analysis of 33,228 Pull Requests from vLLM and SGLang with Implications for Biomedical AI Agents and Bioinformatics Pipeline Developmen14 Aug 2026
- 2026Large Language Models for Code Generation from Multilingual Prompts: A Curated Benchmark and a Study on Code Quality16 Jul 2026
- 2026Quantize with Confidence? An Empirical Study of Quantization for Code Generation15 Jul 2026
- 2026Vibe Coding Ate My Homework: An evaluation of AI approaches to greenfield software engineering and programming15 Jun 2026
- 2026Mining Architectural Quality Under Agentic AI Adoption: A Causal Study of Java Repositories11 Jun 2026
- 2026Enhancing Reliability in LLM-Based Secure Code Generation22 May 2026
- 2026An Empirical Evaluation of LLM-Generated Code Security Across Prompting Methods22 May 2026
- 2026Assistance to Autonomy: A Systematic Literature Review of Agentic AI across the Software Development Life Cycle14 May 2026
- 2026Revisiting DAgger in the Era of LLM-Agents13 May 2026
- 2026LLM Translation of Compiler Intermediate Representation7 May 2026
- 2026Bridging Generation and Training: A Systematic Review of Quality Issues in LLMs for Code6 May 2026
38 more
- 2026Social Bias in LLM-Generated Code: Benchmark and Mitigation1 May 2026
- 2026Context-Augmented Code Generation: How Product Context Improves AI Coding Agent Decision Compliance by 49%27 Apr 2026
- 2026Short-Term Gain, Long-Term Fragility: AI Labor Substitution and the Erosion of Sustainable Capability23 Apr 2026
- 2026HiRAS: A Hierarchical Multi-Agent Framework for Paper-to-Code Generation and Execution20 Apr 2026
- 2026Investigating Autonomous Agent Contributions in the Wild: Activity Patterns and Code Change over Time1 Apr 2026
- 2026The State of Generative AI in Software Development: Insights from Literature and a Developer Survey17 Mar 2026
- 2026Beyond Verifiable Rewards: Rubric-Based GRM for Reinforced Fine-Tuning SWE Agents13 Mar 2026
- 2026Leveraging Generative AI for Enhancing Domain-Driven Software Design28 Jan 2026
- 2026Autonomous Materials Exploration by Integrating Automated Phase Identification and AI-Assisted Human Reasoning13 Jan 2026
- 2025AI Code in the Wild: Measuring Security Risks and Ecosystem Shifts of AI-Generated Code in Modern Software21 Dec 2025
- 2025Autonomous Issue Resolver: Towards Zero-Touch Code Maintenance9 Dec 2025
- 2025Pre-Filtering Code Suggestions using Developer Behavioral Telemetry to Optimize LLM-Assisted Programming24 Nov 2025
- 2025Secure Code Generation at Scale with Reflexion5 Nov 2025
- 2025GAPO: Robust Advantage Estimation for Real-World Code LLMs22 Oct 2025
- 2025Investigating Security Implications of Automatically Generated Code on the Software Supply Chain24 Sep 2025
- 2025Do Generative AI Tools Ensure Green Code? An Investigative Study10 Jun 2025
- 2025Evaluating Large Language Models for Code Review26 May 2025
- 2025Adversarial Reasoning for Repair Based on Inferred Program Intent19 May 2025
- 2025On Developers' Self-Declaration of AI-Generated Code: An Analysis of Practices23 Apr 2025
- 2025Exploring utilization of generative AI for research and education in data-driven materials science9 Apr 2025
- 2025Unlocking the Potential of Past Research: Using Generative AI to Reconstruct Healthcare Simulation Models27 Mar 2025
- 2025LLM Benchmarking with LLaMA2: Evaluating Code Development Performance Across Multiple Programming Languages24 Mar 2025
- 2025Unify and Triumph: Polyglot, Diverse, and Self-Consistent Generation of Unit Tests with LLMs20 Mar 2025
- 2025Enhancing the Non-Functional Quality Compliance of LLM-Generated Code through Quality-Aware Preference Learning12 Mar 2025
- 2025Pragmatic Reasoning improves LLM Code Generation20 Feb 2025
- 2025The Role of GitHub Copilot on Software Development: A Perspective on Productivity, Security, Best Practices and Future Directions18 Feb 2025
- 2025Security and Quality in LLM-Generated Code: A Multi-Language, Multi-Model Analysis3 Feb 2025
- 2025AgentBreeder: Mitigating the AI Safety Risks of Multi-Agent Scaffolds via Self-Improvement2 Feb 2025
- 2025ChatGPT vs. DeepSeek: A Comparative Study on AI-Based Code Generation30 Jan 2025
- 2025GREEN-CODE: Learning to Optimize Energy Efficiency in LLM-based Code Generation19 Jan 2025
- 2024Large Action Models: From Inception to Implementation13 Dec 2024
- 2024CodeXEmbed: A Generalist Embedding Model Family for Multiligual and Multi-task Code Retrieval19 Nov 2024
- 2024Evaluating Quantized Large Language Models for Code Generation on Low-Resource Language Benchmarks18 Oct 2024
- 2024Controlled Automatic Task-Specific Synthetic Data Generation for Hallucination Detection16 Oct 2024
- 2024RGD: Multi-LLM Based Agent Debugger via Refinement and Generation Guidance2 Oct 2024
- 2024Task-oriented Prompt Enhancement via Script Generation24 Sep 2024
- 2024A Comprehensive Framework for Evaluating API-oriented Code Generation in Large Language Models23 Sep 2024
- 2024Large Language Model-Based Agents for Software Engineering: A Survey4 Sep 2024
50 newest of 71 All 71 (JSON)
- 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 173
- 2024SOEN-101: Code Generation by Emulating Software Process Models Using Large Language Model Agentscited by 34
- 2025AgentBreeder: Mitigating the AI Safety Risks of Multi-Agent Scaffolds via Self-Improvementcited by 13
- 2024RGD: Multi-LLM Based Agent Debugger via Refinement and Generation Guidancecited by 12
- 2026HiRAS: A Hierarchical Multi-Agent Framework for Paper-to-Code Generation and Executioncited by 5
- 2026Revisiting DAgger in the Era of LLM-Agentscited by 4
- 2026Investigating Autonomous Agent Contributions in the Wild: Activity Patterns and Code Change over Timecited by 3
- 2026Beyond Verifiable Rewards: Rubric-Based GRM for Reinforced Fine-Tuning SWE Agentscited by 3
- 2026Context-Augmented Code Generation: How Product Context Improves AI Coding Agent Decision Compliance by 49%cited by 1
- 2026Mining Architectural Quality Under Agentic AI Adoption: A Causal Study of Java Repositoriescited by 1
- 2026Assistance to Autonomy: A Systematic Literature Review of Agentic AI across the Software Development Life Cyclecited by 0
- 2026Engineering Signals of Human-AI Collaboration in the Agentic Coding Era: A Longitudinal Analysis of 33,228 Pull Requests from vLLM and SGLang with Implications for Biomedical AI Agents and Bioinformatics Pipeline Developmencited by 0
12 most cited of 13 All 13 (JSON)
- 2026Building a research-software catalog with a coding agent: from hackathon prototype to public deployment4 Sep 2026
- 2026Engineering Signals of Human-AI Collaboration in the Agentic Coding Era: A Longitudinal Analysis of 33,228 Pull Requests from vLLM and SGLang with Implications for Biomedical AI Agents and Bioinformatics Pipeline Developmen14 Aug 2026
- 2026Mining Architectural Quality Under Agentic AI Adoption: A Causal Study of Java Repositories11 Jun 2026
- 2026Assistance to Autonomy: A Systematic Literature Review of Agentic AI across the Software Development Life Cycle14 May 2026
- 2026Revisiting DAgger in the Era of LLM-Agents13 May 2026
- 2026Context-Augmented Code Generation: How Product Context Improves AI Coding Agent Decision Compliance by 49%27 Apr 2026
- 2026HiRAS: A Hierarchical Multi-Agent Framework for Paper-to-Code Generation and Execution20 Apr 2026
- 2026Investigating Autonomous Agent Contributions in the Wild: Activity Patterns and Code Change over Time1 Apr 2026
- 2026Beyond Verifiable Rewards: Rubric-Based GRM for Reinforced Fine-Tuning SWE Agents13 Mar 2026
- 2025AgentBreeder: Mitigating the AI Safety Risks of Multi-Agent Scaffolds via Self-Improvement2 Feb 2025
- 2024RGD: Multi-LLM Based Agent Debugger via Refinement and Generation Guidance2 Oct 2024
- 2024Large Language Model-Based Agents for Software Engineering: A Survey4 Sep 2024
12 newest of 13 All 13 (JSON)
- 2025GAPO: Robust Advantage Estimation for Real-World Code LLMs22 Oct 2025
- 2025Adversarial Reasoning for Repair Based on Inferred Program Intent19 May 2025
- 2025Pragmatic Reasoning improves LLM Code Generation20 Feb 2025
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
- 2023Purple Llama CyberSecEval: A Secure Coding Benchmark for Language Modelscited by 130
- 2024Beyond Functional Correctness: Exploring Hallucinations in LLM-Generated Codecited by 106
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 71
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Codecited by 62
- 2024Lean Copilot: Large Language Models as Copilots for Theorem Proving in Leancited by 52
- 2023SMILE: Single-turn to Multi-turn Inclusive Language Expansion via ChatGPT for Mental Health Supportcited by 46
- 2024Prompting Techniques for Secure Code Generation: A Systematic Investigationcited by 33
- 2024CodeXEmbed: A Generalist Embedding Model Family for Multiligual and Multi-task Code Retrievalcited by 33
- 2024Between Lines of Code: Unraveling the Distinct Patterns of Machine and Human Programmerscited by 27
- 2024The Future of AI-Driven Software Engineeringcited by 23
- 2023LLM for SoC Security: A Paradigm Shiftcited by 22
12 most cited of 54 All 54 (JSON)
- 2026Large Language Models for Code Generation from Multilingual Prompts: A Curated Benchmark and a Study on Code Quality16 Jul 2026
- 2026Quantize with Confidence? An Empirical Study of Quantization for Code Generation15 Jul 2026
- 2026Vibe Coding Ate My Homework: An evaluation of AI approaches to greenfield software engineering and programming15 Jun 2026
- 2026Enhancing Reliability in LLM-Based Secure Code Generation22 May 2026
- 2026An Empirical Evaluation of LLM-Generated Code Security Across Prompting Methods22 May 2026
- 2026LLM Translation of Compiler Intermediate Representation7 May 2026
- 2026Bridging Generation and Training: A Systematic Review of Quality Issues in LLMs for Code6 May 2026
- 2026Social Bias in LLM-Generated Code: Benchmark and Mitigation1 May 2026
- 2026Short-Term Gain, Long-Term Fragility: AI Labor Substitution and the Erosion of Sustainable Capability23 Apr 2026
- 2026The State of Generative AI in Software Development: Insights from Literature and a Developer Survey17 Mar 2026
- 2026Leveraging Generative AI for Enhancing Domain-Driven Software Design28 Jan 2026
- 2026Autonomous Materials Exploration by Integrating Automated Phase Identification and AI-Assisted Human Reasoning13 Jan 2026
12 newest of 54 All 54 (JSON)