mlsanityData to 7 Oct 2026

A Survey on Evaluating Large Language Models in Code Generation Tasks

arXiv 2408.16498 ↗First posted 29 Aug 2024cs.SEcited by 43

Not on the map. Why?

Abstract (arXiv)

This paper provides a comprehensive review of the current methods and metrics used to evaluate the performance of Large Language Models (LLMs) in code generation tasks. With the rapid growth in demand for automated software development, LLMs have demonstrated significant potential in the field of code generation. The paper begins by reviewing the historical development of LLMs and their applications in code generation. Next, it details various methods and metrics for assessing the code generation capabilities of LLMs, including code correctness, efficiency, readability, and evaluation methods based on expert review and user experience. The paper also evaluates the widely used benchmark datasets, identifying their limitations and proposing directions for future improvements. Specifically, the paper analyzes the performance of code generation models across different tasks by combining multiple evaluation metrics, such as code compilation/interpretation success rates, unit test pass rates, and performance and efficiency metrics, to comprehensively assess the practical application of LLMs in code generation. Finally, the paper discusses the challenges faced in evaluating LLMs in code generation, particularly how to ensure the comprehensiveness and accuracy of evaluation methods and how to adapt to the evolving practices of software development. These analyses and discussions provide valuable insights for further optimizing and improving the application of LLMs in code generation tasks.

Key facts. Cited by 43 papers in the map (data through 7 Oct 2026). First posted on arXiv 29 Aug 2024.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 28; 2026: 14.

43 papers.

Sort:

By area:

  1. 2025Vibe Coding vs. Agentic Coding: Fundamentals and Practical Implications of Agentic AIcited by 39
  2. 2025The Scales of Justitia: A Comprehensive Survey on Safety Evaluation of LLMscited by 24
  3. 2025A Study of LLMs' Preferences for Libraries and Programming Languagescited by 20
  4. 2025WebUIBench: A Comprehensive Benchmark for Evaluating Multimodal Large Language Models in WebUI-to-Codecited by 14
  5. 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
  6. 2025CodeVisionary: An Agent-based Framework for Evaluating Large Language Models in Code Generationcited by 6
  7. 2025Assessing and Enhancing the Robustness of LLM-based Multi-Agent Systems Through Chaos Engineeringcited by 6
  8. 2025The Debugging Decay Index: Rethinking Debugging Strategies for Code LLMscited by 5
  9. 2025Automated Code Review Using Large Language Models at Ericsson: An Experience Reportcited by 5
  10. 2026Evaluating LLM-Based 0-to-1 Software Generation in End-to-End CLI Tool Scenarioscited by 5
  11. 2025Improving Existing Optimization Algorithms with LLMscited by 4
  12. 2025XOXO: Stealthy Cross-Origin Context Poisoning Attacks against AI Coding Assistantscited by 4
31 more
  1. 2025Code Reasoning for Software Engineering Tasks: A Survey and A Call to Actioncited by 4
  2. 2026Environment-Aware Code Generation: How far are We?cited by 4
  3. 2024Chain-of-Programming (CoP) : Empowering Large Language Models for Geospatial Code Generationcited by 3
  4. 2025CARGO: A Framework for Confidence-Aware Routing of Large Language Modelscited by 3
  5. 2025Closed-Loop Transformers: Autoregressive Modeling as Iterative Latent Equilibriumcited by 3
  6. 2026ShortCoder: Knowledge-Augmented Syntax Optimization for Token-Efficient Code Generationcited by 3
  7. 2026Restoring Exploration after Post-Training: Latent Exploration Decoding for Large Reasoning Modelscited by 3
  8. 2026ProxyWar: Dynamic Assessment of LLM Code Generation in Game Arenascited by 3
  9. 2025LLM-Supported Natural Language to Bash Translationcited by 2
  10. 2025Is Compression Really Linear with Code Intelligence?cited by 2
  11. 2025Importance Sampling is All You Need: Predict LLM's performance on new benchmark by reusing existing benchmarkcited by 1
  12. 2025Beyond Language Barriers: Multi-Agent Coordination for Multi-Language Code Generationcited by 1
  13. 2025Library Hallucinations in LLM-Generated Code: A Risk Analysis Grounded in Developer Queriescited by 1
  14. 2025InteractScience: Programmatic and Visually-Grounded Evaluation of Interactive Scientific Demonstration Code Generationcited by 1
  15. 2025RPM-MCTS: Knowledge-Retrieval as Process Reward Model with Monte Carlo Tree Search for Code Generationcited by 1
  16. 2025Exploring the Security Threats of Retriever Backdoors in Retrieval-Augmented Code Generationcited by 1
  17. 2026Comparing Developer and LLM Biases in Code Evaluationcited by 1
  18. 2026Bridging Generation and Training: A Systematic Review of Quality Issues in LLMs for Codecited by 1
  19. 2026BIM-Edit: Benchmarking Large Language Models for IFC-Based Building Information Modelingcited by 1
  20. 2025AutoGEEval: A Multimodal and Automated Framework for Geospatial Code Generation on GEE with Large Language Modelscited by 0
  21. 2025MARCO: Meta-Reflection with Cross-Referencing for Code Reasoningcited by 0
  22. 2025StackPilot: Autonomous Function Agents for Scalable and Environment-Free Code Executioncited by 0
  23. 2025Rethinking Technology Stack Selection with AI Coding Proficiencycited by 0
  24. 2025Evaluating Large Language Models for Functional and Maintainable Code in Industrial Settings: A Case Study at ASMLcited by 0
  25. 2025From Proof to Program: Characterizing Tool-Induced Reasoning Hallucinations in Large Language Modelscited by 0
  26. 2026The Perfection Paradox: From Architect to Curator in AI-Assisted API Designcited by 0
  27. 2026Leveraging LLMs for Multi-File DSL Code Generation: An Industrial Case Studycited by 0
  28. 2026Inferring Code Correctness from Specificationcited by 0
  29. 2026LLM-Based Code Documentation Generation and Multi-Judge Evaluationcited by 0
  30. 2026Effectiveness of LLM-based Software Diversity for Reliability Improvement -- an Empirical Studycited by 0
  31. 2026Large Language Models for Code Generation from Multilingual Prompts: A Curated Benchmark and a Study on Code Qualitycited by 0