An empirical evaluation of GitHub copilot's code suggestions
The DOI matches its Crossref record; 18 of the 18 references it cites were found in a registry or an index.
Abstract
GitHub and OpenAI recently launched Copilot, an "AI pair programmer" that utilizes the power of Natural Language Processing, Static Analysis, Code Synthesis, and Artificial Intelligence. Given a natural language description of the target functionality, Copilot can generate corresponding code in several programming languages. In this paper, we perform an empirical study to evaluate the correctness and understandability of Copilot's suggested code. We use 33 LeetCode questions to create queries for Copilot in four different programming languages. We evaluate the correctness of the corresponding 132 Copilot solutions by running LeetCode's provided tests, and evaluate understandability using SonarQube's cyclomatic complexity and cognitive complexity metrics. We find that Copilot's Java suggestions have the highest correctness score (57%) while JavaScript is the lowest (27%). Overall, Copilot's suggestions have low complexity with no notable differences between the programming languages. We also find some potential Copilot shortcomings, such as generating code that can be further simplified and code that relies on undefined helper methods.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“Subsequently, the quality of the code generated by LLMs also cannot be guaranteed [23], [24], [25], [26].”
From No Need to Lift a Finger Anymore? Assessing the Quality of Code Generation by ChatGPT (2024) · cites this paper as [24]
In the citing paper
“Research has shown that such tools may produce insecure or suboptimal code, requiring users to review and revise outputs carefully to avoid compounding mistakes (Groothuijsen et al., 2024;Laux, 2024;Nguyen & Nadi, 2022).”
From Integrating Generative AI into Programming Education: Student Perceptions and the Challenge of Correcting AI Errors (2025) · cites this paper as Nguyen & Nadi, 2022
In the citing paper
“Nguyen et al. [37] evaluated the performance of Copilot on 33 programming tasks.”
From Refining ChatGPT-Generated Code: Characterizing and Mitigating Code Quality Issues (2024) · cites this paper as [37]
In the citing paper
“Moreover, Nguyen et al. [37] focus on analyzing the correctness of AI-generated code while Fan et al. [15] target to benchmark automated program repair tools on ixing mistakes.”
From Refining ChatGPT-Generated Code: Characterizing and Mitigating Code Quality Issues (2024) · cites this paper as [37]
In the citing paper
“However, these studies focus on CodeX and GitHub Copilot on a few programming tasks, leading to a lack of diversity.”
From Refining ChatGPT-Generated Code: Characterizing and Mitigating Code Quality Issues (2024) · cites this paper as [37]
2 more claims about this paper
Create a free account to see every claim other papers make about this one.
Citations
Cites
Evaluating Large Language Models Trained on Code
Chen, M., Tworek, J., Jun, H., Yuan, Q., Pinto, H. P. D. O., Kaplan, J., Edwards, H., Burda, Y., Joseph, N., Brockman, G., et al. (2021) · arXiv · doi:10.48550/arxiv.2107.03374 · Cited by 1,436
code2vec: Learning distributed representations of code
Alon, U., Zilberstein, M., Levy, O., & Yahav, E. (2019) · Proceedings of the ACM on Programming Languages · doi:10.1145/3290353 · Cited by 962
Gu, X., Zhang, H., & Kim, S. (2018) · Proceedings of the 40th International Conference on Software Engineering · doi:10.1145/3180155.3180167 · Cited by 547
Asleep at the Keyboard? Assessing the Security of GitHub Copilot’s Code Contributions
Pearce, H., Ahmad, B., Tan, B., Dolan-Gavitt, B., & Karri, R. (2022) · 2022 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp46214.2022.9833571 · Cited by 476
On the naturalness of software
Hindle, A., Barr, E. T., Su, Z., Gabel, M., & Devanbu, P. (2012) · 2012 34th International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2012.6227135 · Cited by 425 · cited 2×
“The median cognitive complexity and cyclomatic complexity of Copilot solutions is 6 and 5, respectively, with no statistically significant differences between languages.”
Recommendation Systems for Software Engineering
Robillard, M., Walker, R., & Zimmermann, T. (2010) · IEEE Software · doi:10.1109/ms.2009.161 · Cited by 388
Program Synthesis with Large Language Models
Austin, J., Odena, A., Nye, M., Bosma, M., Michalewski, H., Dohan, D., Jiang, E., Cai, C., Terry, M., Le, Q., et al. (2021) · arXiv · doi:10.48550/arxiv.2108.07732 · Cited by 388
When deep learning met code search
Cambronero, J., Li, H., Kim, S., Sen, K., & Chandra, S. (2019) · Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3338906.3340458 · Cited by 214
Cognitive complexity: an overview and evaluation
Campbell, G. A. (2018) · IEEE/ACM International Conference on Technical Debt (TechDebt) · doi:10.1145/3194164.3194186 · Cited by 182
A Survey of Machine Learning for Big Code and Naturalness
Allamanis, M., Barr, E. T., Devanbu, P., & Sutton, C. (2019) · ACM Computing Surveys · doi:10.1145/3212695 · Cited by 150 · cited 1×
“There has been lots of research dedicated to improving developer productivity through code synthesis, code search, or other types of code recommender systems [2, 4, 20, 25].”
Background
Cited by
Brynjolfsson, E., Li, D., & Raymond, L. (2023) · National Bureau of Economic Research · doi:10.3386/w31161 · Cited by 995
Brynjolfsson, E., Li, D., & Raymond, L. (2025) · The Quarterly Journal of Economics · doi:10.1093/qje/qjae044 · Cited by 1,083
Large language models for software engineering: survey and open problems
Fan, A., Gokkaya, B., Harman, M., Lyubarskiy, M., Sengupta, S., Yoo, S., & Zhang, J. M. (2023) · 2023 IEEE/ACM International Conference on Software Engineering: Future of Software Engineering (ICSE-FoSE) · doi:10.1109/icse-fose59343.2023.00008 · Cited by 650
“Evaluations have often relied on small programming problems from programming courses [86], synthetically generated problem sets [87], and online judging platforms such as Leetcode [28], [64], [88].”
BackgroundThe promise and challenges of generative AI in education
Giannakos, M., Azevedo, R., Brusilovsky, P., Cukurova, M., Dimitriadis, Y., Hernandez-Leo, D., Järvelä, S., Mavrikis, M., & Rienties, B. (2025) · Behaviour & Information Technology · doi:10.1080/0144929x.2024.2394886 · Cited by 543
Large Language Models for Software Engineering: Survey and Open Problems
Fan, A., Gokkaya, B., Harman, M., Lyubarskiy, M., Sengupta, S., Yoo, S., & Zhang, J. M. (2023) · arXiv · doi:10.48550/arxiv.2310.03533 · Cited by 523
GitHub Copilot AI pair programmer: Asset or Liability?
Moradi Dakhel, A., Majdinasab, V., Nikanjam, A., Khomh, F., Desmarais, M. C., & Jiang, Z. M. (. (2023) · Journal of Systems and Software · doi:10.1016/j.jss.2023.111734 · Cited by 417
GitHub Copilot AI pair programmer: Asset or Liability?
Dakhel, A. M., Majdinasab, V., Nikanjam, A., Khomh, F., Desmarais, M. C., Ming, Z., & Jiang (2022) · arXiv · doi:10.48550/arxiv.2206.15331 · Cited by 417
“Nguyen and Nadi [38] compared the complexity of Copilot’s solutions in different programming languages for several LeetCode questions, besides their correctness.”
BackgroundMethodResultInfluentialDenny, P., Kumar, V., & Giacaman, N. (2023) · Proceedings of the 54th ACM Technical Symposium on Computer Science Education V. 1 · doi:10.1145/3545945.3569823 · Cited by 287
“Outside of computing education, several recent studies have explored the potential impact of Copilot for developers [8, 13, 17].”
BackgroundThe Impact of AI on Developer Productivity: Evidence from GitHub Copilot
Peng, S., Kalliamvakou, E., Cihon, P., & Demirer, M. (2023) · arXiv · doi:10.48550/arxiv.2302.06590 · Cited by 287
Ross, S. I., Martinez, F., Houde, S., Muller, M., & Weisz, J. D. (2023) · Proceedings of the 28th International Conference on Intelligent User Interfaces · doi:10.1145/3581641.3584037 · Cited by 258
“this model have shown that, although the quality of its outputs is quite good, those outputs may still be problematic [57].”
BackgroundAutomated Repair of Programs from Large Language Models
Fan, Z., Gao, X., Mirchev, M., Roychoudhury, A., & Tan, S. H. (2023) · 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE) · doi:10.1109/icse48619.2023.00128 · Cited by 256
“Nguyen et al. [49] evaluated the quality of code generated by Copilot on a small set of randomly selected LeetCode programming tasks (33 tasks with 132 solutions).”
BackgroundCausal Reasoning and Large Language Models: Opening a New Frontier for Causality
Kıcıman, E., Ness, R., Sharma, A., & Tan, C. (2023) · arXiv · doi:10.48550/arxiv.2305.00050 · Cited by 210
CodeHelp: Using Large Language Models with Guardrails for Scalable Support in Programming Classes
Liffiton, M., Sheese, B. E., Savelka, J., & Denny, P. (2023) · Proceedings of the 23rd Koli Calling International Conference on Computing Education Research · doi:10.1145/3631802.3631830 · Cited by 192
“An empirical evaluation of GitHub Copilot’s code suggestions revealed limitations in generating reliable code [23].”
Beyond Functional Correctness: Exploring Hallucinations in LLM-Generated Code
Liu, F., Liu, Y., Shi, L., Yang, Z., Zhang, L., Lian, X., Li, Z., & Ma, Y. (2024) · arXiv · doi:10.48550/arxiv.2404.00971 · Cited by 188
My AI Wants to Know if This Will Be on the Exam: Testing OpenAI’s Codex on CS2 Programming Exercises
Finnie-Ansley, J., Denny, P., Luxton-Reilly, A., Santos, E. A., Prather, J., & Becker, B. A. (2023) · Proceedings of the 25th Australasian Computing Education Conference · doi:10.1145/3576123.3576134 · Cited by 186
“Nguyen and Nadi evaluated the performance of Copilot on 33 LeetCode questions, with varying difficulty, observing correctness rates of between 27% and 57% across four languages [21].”
BackgroundTowards Human-Bot Collaborative Software Architecting with ChatGPT
Ahmad, A., Waseem, M., Liang, P., Fahmideh, M., Aktar, M. S., & Mikkonen, T. (2023) · Proceedings of the 27th International Conference on Evaluation and Assessment in Software Engineering · doi:10.1145/3593434.3593468 · Cited by 168
“Software Development Bots (DevBots) represent conversational agents or recommender systems, driven by AI, to assist software engineers by offering certain degree of automation and/or inducing intelligence in software engineering process [14, 15].”
BackgroundMethodRetrieval-Based Prompt Selection for Code-Related Few-Shot Learning
Nashid, N., Sintaha, M., & Mesbah, A. (2023) · 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE) · doi:10.1109/icse48619.2023.00205 · Cited by 178
Taking Flight with Copilot: Early insights and opportunities of AI-powered pair-programming tools
Bird, C., Ford, D., Zimmermann, T., Forsgren, N., Kalliamvakou, E., Lowdermilk, T., & Gazit, I. (2022) · Queue · doi:10.1145/3582083 · Cited by 158
Refining ChatGPT-Generated Code: Characterizing and Mitigating Code Quality Issues
Liu, Y., Le-Cong, T., Widyasari, R., Tantithamthavorn, C., Li, L., Le, X.-B. D., & Lo, D. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3643674 · Cited by 149
“[27] focus on analyzing the correctness of AI-generated code while Fan et al.”
BackgroundOn the Robustness of Code Generation Techniques: An Empirical Study on GitHub Copilot
Mastropaolo, A., Pascarella, L., Guglielmi, E., Ciniselli, M., Scalabrino, S., Oliveto, R., & Bavota, G. (2023) · 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE) · doi:10.1109/icse48619.2023.00181 · Cited by 138
“Nguyen and Nadi [43] used LeetCode questions as input to Copilot to evaluate the solutions provided for several programming languages in terms of correctness — by running the test cases available in LeetCode — and understandability — by computing their Cyclomatic Complexity and Cognitive Complexity…”
Assessing the quality of GitHub copilot’s code generation
Yetistiren, B., Ozsoy, I., & Tuzun, E. (2022) · Proceedings of the 18th International Conference on Predictive Models and Data Analytics in Software Engineering · doi:10.1145/3558489.3559072 · Cited by 143
“[9] evaluated GitHub Copilot using 33 different LeetCode questions and four different programming languages (Python, Java, JavaScript, and C).”
MethodSavelka, J., Agarwal, A., An, M., Bogart, C., & Sakr, M. (2023) · Proceedings of the 2023 ACM Conference on International Computing Education Research V.1 · doi:10.1145/3568813.3600142 · Cited by 141
“Nguyen and Nadi reported Copilot’s effectiveness on LeetCode10 problems, achieving 42% accuracy [34].”
BackgroundLee, V. R., Pope, D., Miles, S., & Zárate, R. C. (2024) · Computers and Education: Artificial Intelligence · doi:10.1016/j.caeai.2024.100253 · Cited by 130
Is GitHub’s Copilot as bad as humans at introducing vulnerabilities in code?
Asare, O., Nagappan, M., & Asokan, N. (2023) · Empirical Software Engineering · doi:10.1007/s10664-023-10380-1 · Cited by 128
“Nguyen and Nadi (2022) conducted an empirical study to evaluate the correctness and under-standability of code generated by Copilot.”
BackgroundNo Need to Lift a Finger Anymore? Assessing the Quality of Code Generation by ChatGPT
Liu, Z., Tang, Y., Luo, X., Zhou, Y., & Zhang, L. F. (2024) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2024.3392499 · Cited by 128
“Nguyen et al. [24] evaluates the quality of Copilot -generated code by using 33 LeetCode problems in 4 different languages.”
BackgroundMethodInfluentialA Review on Code Generation with LLMs: Application and Evaluation
Wang, J., & Chen, Y. (2023) · IEEE International Conference on Medical Artificial Intelligence (MedAI) · doi:10.1109/medai59581.2023.00044 · Cited by 258
“Nguyen et al. [34] conducted an empirical study to evaluate the correctness and understandability of code generated by Copilot.”
BackgroundHow Large Language Models Will Disrupt Data Management
Fernandez, R. C., Elmore, A. J., Franklin, M. J., Krishnan, S., & Tan, C. (2023) · Proceedings of the VLDB Endowment · doi:10.14778/3611479.3611527 · Cited by 115
“However, unlike recent tooling in “coding assistants” [7, 53], it is not purpose-built for programming.”
BackgroundLarge Language Models Meet NL2Code: A Survey
Zan, D., Chen, B., Zhang, F., Lu, D., Wu, B., Guan, B., Yongji, W., & Lou, J.-G. (2023) · Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.18653/v1/2023.acl-long.411 · Cited by 114
LLM-Based Test-Driven Interactive Code Generation: User Study and Empirical Evaluation
Fakhoury, S., Naik, A., Sakkas, G., Chakraborty, S., & Lahiri, S. K. (2024) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2024.3428972 · Cited by 120
“Several recent works [35], [36], [37] identify clear opportunities for improving the accuracy of LLM code generation techniques.”
BackgroundSavelka, J., Agarwal, A., Bogart, C., Song, Y., & Sakr, M. (2023) · Proceedings of the 2023 Conference on Innovation and Technology in Computer Science Education V. 1 · doi:10.1145/3587102.3588792 · Cited by 109
“5 Nguyen and Nadi [29] reported Copilot’s effectiveness on LeetCode 6 problems, achieving 42% accuracy with no prompt tuning.”
BackgroundDesirable Characteristics for AI Teaching Assistants in Programming Education
Denny, P. C., MacNeil, S., Šavelka, J., Porter, L., & Luxton-Reilly, A. (2024) · ACM Conference on Innovation and Technology in Computer Science Education (ITiCSE) · doi:10.1145/3649217.3653574 · Cited by 152
A Performance Study of LLM-Generated Code on Leetcode
Coignion, T., Quinton, C., & Rouvoy, R. (2024) · International Conference on Evaluation and Assessment in Software Engineering (EASE) · doi:10.1145/3661167.3661221 · Cited by 192
Beyond Code Generation: An Observational Study of ChatGPT Usage in Software Engineering Practice
Khojah, R., Mohamad, M., Leitner, P., & de Oliveira Neto, F. G. (2024) · Proceedings of the ACM on Software Engineering · doi:10.1145/3660788 · Cited by 86
“LLM-powered chatbots have been studied in more specific contexts and software-related activities, for example code generation [6], [7], [8], requirements analysis [9], test generation [10], and others [11], [12], [13].”
BackgroundZhang, L., Ford, V., Chen, Z., & Chen, J. (2024) · Energy and Buildings · doi:10.1016/j.enbuild.2024.115116 · Cited by 100
Mathematics, word problems, common sense, and artificial intelligence
Davis, E. (2024) · Bulletin of the American Mathematical Society · doi:10.1090/bull/1828 · Cited by 125
Building machines that learn and think with people
Collins, K. M., Sucholutsky, I., Bhatt, U., Chandra, K., Wong, L., Lee, M., Zhang, C. E., Zhi-Xuan, T., Ho, M., Mansinghka, V., et al. (2024) · Nature Human Behaviour · doi:10.1038/s41562-024-01991-9 · Cited by 73
Patterns of Student Help-Seeking When Using a Large Language Model-Powered Programming Assistant
Sheese, B., Liffiton, M., Savelka, J., & Denny, P. (2024) · Proceedings of the 26th Australasian Computing Education Conference · doi:10.1145/3636243.3636249 · Cited by 74
“However,despitetheirimpressive performanceatmanytasks,LLMsmaynotbeaseffectiveashuman tutorsinsomedomains[20,26].”
Practices and Challenges of Using GitHub Copilot: An Empirical Study
Zhang, B., Liang, P., Zhou, X., Ahmad, A., & Waseem, M. (2023) · International Conferences on Software Engineering and Knowledge Engineering · doi:10.18293/seke2023-077 · Cited by 73
“Nguyen and Nadi [12] conducted an empirical study to evaluate the correctness and comprehensibility of the code suggested by Copilot.”
Security Weaknesses of Copilot-Generated Code in GitHub Projects: An Empirical Study
Fu, Y., Liang, P., Tahir, A., Li, Z., Shahin, M., Yu, J., & Chen, J. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3716848 · Cited by 74
Security Weaknesses of Copilot-Generated Code in GitHub Projects: An Empirical Study
Fu, Y., Liang, P., Tahir, A., Li, Z., Shahin, M., Yu, J., & Chen, J. (2023) · arXiv · doi:10.48550/arxiv.2310.02059 · Cited by 75
Yetiştiren, B., Özsoy, I., Ayerdem, M., & Tüzün, E. (2023) · arXiv · doi:10.48550/arxiv.2304.10778 · Cited by 75
How will generative AI disrupt data science in drug discovery?
Vert, J.-P. (2023) · Nature Biotechnology · doi:10.1038/s41587-023-01789-6 · Cited by 73
Program Code Generation with Generative AIs
Idrisov, B., & Schlippe, T. (2024) · Algorithms · doi:10.3390/a17020062 · Cited by 66
“The coding platform offers support for various programming languages, such as Java, Python, and C++ [38] which was optimal for our experiments.”
Bugs in large language models generated code: an empirical study
Tambon, F., Moradidakhel, A., Nikanjam, A., Khomh, F., Desmarais, M., & Antoniol, G. (2024) · Empirical Software Engineering · doi:10.1007/s10664-025-10614-4 · Cited by 165
“…used: Python functions and the three examined LLMs. Python is a widely used programming language in various domains, and the examined LLMs have been used in previous studies for code generation tasks (Chen et al. 2022; Zan et al. 2022; Nguyen and Nadi 2022; Lemieux et al. 2023; Chen et al. 2023).”
Bugs in Large Language Models Generated Code: An Empirical Study
Tambon, F., Dakhel, A. M., Nikanjam, A., Khomh, F., Desmarais, M. C., & Antoniol, G. (2024) · arXiv · doi:10.48550/arxiv.2403.08937 · Cited by 70
Requirements Engineering Using Generative AI: Prompts and Prompting Patterns
Ronanki, K., Cabrero-Daniel, B., Horkoff, J., & Berger, C. (2024) · Generative AI for Effective Software Development · doi:10.1007/978-3-031-55642-5_5 · Cited by 74
Large Language Models and Simple, Stupid Bugs
Jesse, K., Ahmed, T., Dévanbu, P., & Morgan, E. (2023) · International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr59073.2023.00082 · Cited by 147
“[17] found Copilot correctness varies by programming language and does not differ in complexity (cognitive and cyclomatic) among programming languages.”
BackgroundInfluentialLarge Process Models: A Vision for Business Process Management in the Age of Generative AI
Kampik, T., Warmuth, C., Rebmann, A., Agam, R., Egger, L. N. P., Gerber, A., Hoffart, J., Kolk, J., Herzig, P., Decker, G., et al. (2024) · Künstliche Intell. · doi:10.1007/s13218-024-00863-8 · Cited by 102
“Promising applications of LLMs are emerging in the enterprise software industry; while general-purpose LLMs can already augment day-to-day knowledge work such as copywriting, specialized models are trained for domains such as software engineering [1] and finance [2].”
The future of AI-driven software engineering
Terragni, V., Vella, A., Roop, P., & Blincoe, K. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3715003 · Cited by 62
Opportunities of applying Large Language Models in building energy sector
Zhang, L., & Chen, Z. (2025) · Renewable and Sustainable Energy Reviews · doi:10.1016/j.rser.2025.115558 · Cited by 69
Copiloting the future: How generative AI transforms Software Engineering
Banh, L., Holldack, F., & Strobel, G. (2025) · Information and Software Technology · doi:10.1016/j.infsof.2025.107751 · Cited by 67
CCTEST: Testing and Repairing Code Completion Systems
Li, Z., Wang, C., Liu, Z., Wang, H., Chen, D., Wang, S., & Gao, C. (2023) · 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE) · doi:10.1109/icse48619.2023.00110 · Cited by 52
“[52] tests Copilot using prompts created from LeetCode programs, then counts the number of passed LeetCode test cases over the code completion outputs (each completion output forms a LeetCode solution, when put together with the prompts).”
Jamplate: Exploring LLM-Enhanced Templates for Idea Reflection
Xu, X. (., Yin, J., Gu, C., Mar, J., Zhang, S., E, J. L., & Dow, S. P. (2024) · Proceedings of the 29th International Conference on Intelligent User Interfaces · doi:10.1145/3640543.3645196 · Cited by 48
“One strategy has been to integrate LLMs directly into users’ existing workspaces to provide in-situ assistance, such as within text editors [26, 42], coding IDEs [52, 62], and digital canvases [22, 51], to name a few.”
BackgroundThe Silicon Ceiling: Auditing GPT’s Race and Gender Biases in Hiring
Armstrong, L., Liu, A., MacNeil, S., & Metaxa, D. (2024) · ACM Conference on Equity and Access in Algorithms, Mechanisms, and Optimization (EAAMO) · doi:10.1145/3689904.3694699 · Cited by 124
“Their promise of increased efficiency has led to numerous new LLM-powered systems for tasks including writing [38, 52, 63, 94], software engineering [28, 65], and design [30, 32, 43].”
Evaluation of OpenAI Codex for HPC Parallel Programming Models Kernel Generation
Godoy, W. F., Valero‐Lara, P., Teranishi, K., Balaprakash, P., & Vetter, J. S. (2023) · International Conference on Parallel Processing Workshops (ICPPW) · doi:10.1145/3605731.3605886 · Cited by 67
“Nguyen and Nadi [31] provided an empirical evaluation of GitHub Copilot suggestions for correctness and understandability to LeetCode questions in Java, JavaScript, Python, and C.”
BackgroundSoftware engineering education in the era of conversational AI: current trends and future directions
Sengul, C., Neykova, R., & Destefanis, G. (2024) · Frontiers in Artificial Intelligence · doi:10.3389/frai.2024.1436350 · Cited by 84
Kohen-Vacs, D., Usher, M., & Jansen, M. (2025) · International Journal of Artificial Intelligence in Education · doi:10.1007/s40593-025-00496-4 · Cited by 39
“A key concern for educators is whether foundational programming skills maintain their relevance in an era where advanced AI systems can perform increasingly complex coding tasks (Feng et al., 2020; Nguyen & Nadi, 2022).”
On Codex Prompt Engineering for OCL Generation: An Empirical Study
Abukhalaf, S., Hamdaqa, M., & Khomh, F. (2023) · International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr59073.2023.00033 · Cited by 54
“Codex powers GitHub Copilot, an AI-pair programmer designed to assist software developers [17].”
BackgroundMethodWang, Y., Guo, S., & Tan, C. W. (2025) · IEEE Software · doi:10.1109/ms.2025.3549628 · Cited by 38
Unveiling ChatGPT’s usage in open source projects: A mining-based study
Tufano, R., Mastropaolo, A., Pepe, F., Dabic, O., Di Penta, M., & Bavota, G. (2024) · Proceedings of the 21st International Conference on Mining Software Repositories · doi:10.1145/3643991.3644918 · Cited by 38
Weisz, J. D., Kumar, S. V., Muller, M., Browne, K.-E., Goldberg, A., Heintze, K. E., & Bajpai, S. (2025) · Proceedings of the Extended Abstracts of the CHI Conference on Human Factors in Computing Systems · doi:10.1145/3706599.3706670 · Cited by 37
“…models that have been exposed to source code in their pre-training have demonstrated a high degree of aptitude in performing a variety of tasks: converting natural language to code (e.g. [2, 16, 19, 56]), converting code to natural language documentation (e.g. [16, 31]) or explanations (e.g.…”
Navigating software development in the ChatGPT and GitHub copilot era
France, S. L. (2024) · Business Horizons · doi:10.1016/j.bushor.2024.05.009 · Cited by 38
Assessing the Security of GitHub Copilot's Generated Code - A Targeted Replication Study
Majdinasab, V., Bishop, M. J., Rasheed, S., Dakhel, A. M., Tahir, A., & Khomh, F. (2024) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner60148.2024.00051 · Cited by 95
“Evaluating the practical quality of Copilot suggestions, Nquyen et al. [28] used LeetCode questions to create queries for Copilot in four programming languages.”
BackgroundFramework for evaluating code generation ability of large language models
Yeo, S., Ma, Y., Kim, S. C., Jun, H., & Kim, T. (2024) · ETRI Journal · doi:10.4218/etrij.2023-0357 · Cited by 54
Generative AI at WorkPreprint
Brynjolfsson, E., Li, D., & Raymond, L. (2023) · SSRN Electronic Journal · doi:10.2139/ssrn.4426942 · Cited by 339
Hamer, S., d’Amorim, M., & Williams, L. A. (2024) · IEEE Security and Privacy Workshops (SPW) · doi:10.1109/spw63631.2024.00014 · Cited by 77
AI-Assisted Code Authoring at Scale: Fine-Tuning, Deploying, and Mixed Methods Evaluation
Murali, V., Maddila, C., Ahmad, I., Bolin, M., Cheng, D., Ghorbani, N., Fernandez, R., Nagappan, N., & Rigby, P. C. (2024) · Proceedings of the ACM on software engineering. · doi:10.1145/3643774 · Cited by 114
“Additional complexities including privacy, compliance, and proprietary data make it harder to track all the telemetry that is required to evaluate or monitor the product.”
BackgroundAI-assisted Code Authoring at Scale: Fine-tuning, deploying, and mixed methods evaluation
Murali, V., Maddila, C., Ahmad, I., Bolin, M., Cheng, D., Ghorbani, N., Fernandez, R., Nagappan, N., & Rigby, P. C. (2023) · arXiv · doi:10.48550/arxiv.2305.12050 · Cited by 33
SALLM: Security Assessment of Generated Code
Siddiq, M. L., Santos, J. C. S., Devareddy, S., & Muller, A. (2024) · IEEE/ACM International Conference on Automated Software Engineering Workshops (ASEW) · doi:10.1145/3691621.3694934 · Cited by 124
“…body of peer-reviewed literature that investigated the capabilities of code generation beyond their functional correctness but also security [47, 48, 56, 57, 63, 73], these existing studies only pinpoint the observed issues without proposing new metrics or a way to systematically benchmarking…”
BackgroundGenerating Java Methods: An Empirical Assessment of Four AI-Based Code Assistants
Corso, V., Mariani, L., Micucci, D., & Riganelli, O. (2024) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1145/3643916.3644402 · Cited by 54
Zhou, X., Liang, P., Zhang, B., Li, Z., Ahmad, A., Shahin, M., & Waseem, M. (2025) · Journal of Systems and Software · doi:10.1016/j.jss.2024.112204 · Cited by 30
An Industry Case Study on Adoption of AI-based Programming Assistants
Davila, N., Wiese, I., Steinmacher, I., da Silva, L. L., Kawamoto, A. L. S., Favaro, G. J. P., & Nunes, I. (2024) · IEEE/ACM International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP) · doi:10.1145/3639477.3643648 · Cited by 63
Exploring and Characterizing Large Language Models for Embedded System Development and Debugging
Englhardt, Z., Li, R. C., Nissanka, D., Zhang, Z., Narayanswamy, G., Breda, J., Liu, X., Patel, S., & Iyer, V. (2024) · CHI Conference Extended Abstracts on Human Factors in Computing Systems (CHI EA) · doi:10.1145/3613905.3650764 · Cited by 67
“Prior work has shown the use of language models and AI assistants to generate software, with recent language models performing with the aptitude of competent software developers [7, 9, 13, 19, 25, 30, 49, 55].”
MethodThe Purposeful Presentation of AI Teammates: Impacts on Human Acceptance and Perception
Flathmann, C., Schelble, B. G., McNeese, N. J., Knijnenburg, B. P., Gramopadhye, A. K., & Madathil, K. C. (2023) · International Journal of Human-Computer Interaction · doi:10.1080/10447318.2023.2254984 · Cited by 39
“This operationalization is both justified and relevant for three reasons: (1) human-AI collaboration for code completion is rapidly advancing (Nguyen & Nadi, 2022; Sobania et al., 2022), (2) participants familiar with the domain are more likely to have knowledge of systems like AI, and (3) text…”
Demystifying practices, challenges and expected features of using GitHub copilot
Zhang, B., Liang, P., Zhou, X., Ahmad, A., & Waseem, M. (2023) · International Journal of Software Engineering and Knowledge Engineering · doi:10.1142/s0218194023410048 · Cited by 26
McKee, F., & Noever, D. A. (2023) · International Journal on Cybernetics & Informatics · doi:10.5121/ijci.2023.120207 · Cited by 41
Does ChatGPT Help Novice Programmers Write Better Code? Results From Static Code Analysis
Haindl, P., & Weinberger, G. (2024) · IEEE Access · doi:10.1109/access.2024.3445432 · Cited by 45
“Nguyen and Nadi [16] assessed GitHub Copilot’s code recommen-dations’ accuracy and comprehensibility across different programming languages using LeetCode questions.”
BackgroundGuo, Y., Bettaieb, S., & Casino, F. (2024) · International Journal of Information Security · doi:10.1007/s10207-024-00888-y · Cited by 44
Generative AI and Learning Analytics
Khosravi, H., Viberg, O., Kovanovic, V., & Ferguson, R. (2023) · Journal of Learning Analytics · doi:10.18608/jla.2023.8333 · Cited by 25
“Prominent examples include the use of AI for generating artwork (Zhang et al., 2023), producing code or analyzing datasets (Nguyen & Nadi, 2022), assisting in medical diagnoses and treatment recommendations (Shen et al., 2019), conducting financial and market analysis (Chui et al., 2023),…”
MethodAnalyzing Automatic Code Generation for Learning Models in Generative AI
Jain, A., William, P., Ayasrah, F. T., Lakshmi, G. P., & Diwan, T. D. (2024) · International Conference on Software Defined Systems (SDS) · doi:10.1109/sds64317.2024.10883930 · Cited by 24
“We also assessed maintainability using the total amount of lines of code, cyclomatic complexity, Halstead complexity, and maintainability index [5,11].”
Programming with AI: Evaluating ChatGPT, Gemini, AlphaCode, and GitHub Copilot for Programmers
Siam, K., Gu, H., & Cheng, J. Q. (2024) · International Conference on Computing Advancements (ICCA) · doi:10.1145/3723178.3723224 · Cited by 39
“In order to support the research questions, we analyzed 10 latest research papers that were published between 2022 and 2024 [21, 22, 48, 51, 55, 57, 58, 65, 66, 73].”
Assessing the Readability of ChatGPT Code Snippet Recommendations: A Comparative Study
Dantas, C., Rocha, A. M., & Maia, M. D. A. (2023) · Brazilian Symposium on Software Engineering · doi:10.1145/3613372.3613413 · Cited by 35
“For example, Nguyen et al. conducted an assessment of the correctness and understandability of code suggestions made by GitHub Copilot [25].”
MethodInfluentialKumar, J., & Chimalakonda, S. (2024) · International Conference on Evaluation and Assessment in Software Engineering (EASE) · doi:10.1145/3661167.3661210 · Cited by 37
FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categories and Test Code Repair
Fatima, S., Hemmati, H., & Briand, L. (2024) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2024.3472476 · Cited by 46
“Recent advancements in LLMs, exemplified by ChatGPT [57], Copilot [89], and similar models tailored for code, have significantly advanced this field.”
MethodTowards Understanding the Characteristics of Code Generation Errors Made by Large Language Models
Wang, Z., Zhou, Z., Song, D., Huang, Y., Chen, S., Ma, L., & Zhang, T. (2025) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse55347.2025.00180 · Cited by 120
“While prior research has delved into facets such as robustness [66], [67], security [68], [69], and attention alignment [70], studies focusing on the correctness of LLM-generated code [7], [71]– [74] are of particular relevance to our work.”
Exploring LLM-based Automated Repairing of Ansible Script in Edge-Cloud Infrastructures
Kwon, S., Lee, S., Kim, T., Ryu, D., & Baik, J. (2023) · Journal of Web Engineering · doi:10.13052/jwe1540-9589.2263 · Cited by 34
“The data-collecting process begins with the Andromeda dataset [21] containing metadata of approximately 25K Ansible projects enrolled in Ansible Galaxy, 6 a platform for sharing pre-packaged Ansible works.”
BackgroundMethodAI Writes, We Analyze: The ChatGPT Python Code Saga
Rabbi, M. F., Champa, A. I., Zibran, M. F., & Islam, M. R. (2024) · International Conference on Mining Software Repositories (MSR) · doi:10.1145/3643991.3645076 · Cited by 49
“AI code generation tools like Copilot [14] and Codex [32] have been found capable of generating functionally accurate code [11, 30, 42] and the presence of common bugs and security vulnerabilities [13, 33, 38].”
Kostis, A., Lidström, J., Nair, S., & Holmström, J. (2024) · IEEE Transactions on Engineering Management · doi:10.1109/tem.2024.3484750 · Cited by 33
Penney, J., Pimentel, J. F., Steinmacher, I., & Gerosa, M. A. (2024) · Lecture notes in computer science · doi:10.1007/978-3-031-54975-5_12 · Cited by 29
(2022) · doi:10.2139/ssrn.4496380 · Cited by 20
Analyzing Prompt Influence on Automated Method Generation: An Empirical Study with Copilot
Fagadau, I. D., Mariani, L., Micucci, D., & Riganelli, O. (2024) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1145/3643916.3644409 · Cited by 38
Developer Behaviors in Validating and Repairing LLM-Generated Code Using IDE and Eye Tracking
Tang, N., Chen, M., Ning, Z., Bansal, A., Huang, Y., McMillan, C., & Li, T. J.-J. (2024) · 2024 IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC) · doi:10.1109/vl/hcc60511.2024.00015 · Cited by 18
“Previous studies found it to be less compact [42], lacking context [43], and of lower quality than human-written code [44].”
BackgroundPinto, G., De Souza, C., Rocha, T., Steinmacher, I., Souza, A., & Monteiro, E. (2024) · Proceedings of the IEEE/ACM 3rd International Conference on AI Engineering - Software Engineering for AI · doi:10.1145/3644815.3644949 · Cited by 17
An Experiment on Leveraging ChatGPT for Online Teaching and Assessment of Database Students
Carr, N., Shawon, F. R., & Jamil, H. M. (2023) · IEEE International Conference on Teaching, Assessment, and Learning for Engineering · doi:10.1109/tale56641.2023.10398239 · Cited by 19
“Although scant and too early, recent research on a LLM-based AI code generator GitHub Copilot indicate learning gains [32, 39] and productivity improvement [15, 31], more formal evaluations are slowly trickling in [13, 27, 43].”
ResultPerformance, Workload, Emotion, and Self-Efficacy of Novice Programmers Using AI Code Generation
Gardella, N., Pettit, R., & Riggs, S. L. (2024) · Proceedings of the 2024 on Innovation and Technology in Computer Science Education V. 1 · doi:10.1145/3649217.3653615 · Cited by 15
“While many studies have evaluated AIDEs in isolation (e.g., [8,27,39] ), it is more useful to consider how people use them.”
LLM4TDD: Best Practices for Test Driven Development Using Large Language Models
Piya, S., & Sullivan, A. (2024) · International Workshop on Large Language Models for Code (LLM4Code) · doi:10.1145/3643795.3648382 · Cited by 42
“For our study, we selected a benchmark of 70 problems, with 25 easy, 24 medium, and 21 hard problems, which have also been used in recent work [17, 20].”
MethodHuman-AI experience in integrated development environments: a systematic literature review
Sergeyuk, A., Zakharov, I., Koshchenko, E., & Izadi, M. (2026) · Empirical Software Engineering · doi:10.1007/s10664-025-10793-0 · Cited by 51
“…metrics on system behavior (Ross et al., 2023b), quantitative analysis of system behavior using pre-defined datasets of typical user tasks (Nguyen and Nadi, 2022; Fagadau et al., 2024), and investigations of public discussions on platforms such as Reddit (Klemmer et al., 2024) and GitHub…”
Generative AI for Software Development: A Family of Studies on Code Generation
Dakhel, A. M., Nikanjam, A., Khomh, F., Desmarais, M. C., & Washizaki, H. (2024) · Springer eBooks · doi:10.1007/978-3-031-55642-5_7 · Cited by 20
"You're on a bicycle with a little motor": Benefits and Challenges of Using AI Code Assistants
Mendes, W., Souza, S., & de Souza, C. R. B. (2024) · International Workshop on Cooperative and Human Aspects of Software Engineering (CHASE) · doi:10.1145/3641822.3641882 · Cited by 43
Assessing the Performance of AI-Generated Code: A Case Study on GitHub Copilot
Li, S., Cheng, Y., Chen, J., Xuan, J., He, S., & Shang, W. (2024) · Proceedings/Proceedings - International Symposium on Software Reliability Engineering · doi:10.1109/issre62328.2024.00030 · Cited by 41
Metadata
- Authors
- Nguyen, N., & Nadi, S.
- Affiliations
- University of Alberta (CA)
- ORCID
- Nadi, Sarah
- Venue
- Proceedings of the 19th International Conference on Mining Software Repositories
- Publisher
- ACM
- Published
- 2022-05-23
- Pages
- 1-5
- OpenAlex
- W4312438588
- Cited by
- 313
- References
- 14
- Citations by year
- 2026: 47 · 2025: 100 · 2024: 99 · 2023: 65 · 2022: 1
- FWCI
- 59.24
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- International Conference on Mining Software Repositories (MSR) (publishedVersion)
- Funders
- Canada Research Chairs Program
- Topics
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Information Systems › Software Engineering Techniques and Practices
- Physical Sciences › Computer Science › Computer Science Applications › Teaching and Learning Programming
- Keywords
- GitHub Copilot, AI-assisted programming, code generation, program correctness, code understandability, cyclomatic complexity, cognitive complexity, LeetCode, programming languages, JavaScript, Java
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.