articleMay 23, 2022Closed access
An empirical evaluation of GitHub copilot's code suggestions
Indexed incrossref
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…
Citation impact
277
total citations
- FWCI
- 82.57
- Percentile
- 100%
- References
- 17
Citations per year
Authors
2Topics & keywords
Topics
Keywords
- Computer science
- Correctness
- Programmer
- JavaScript
- Programming language
- Code (set theory)
- Source code
- Java
UN Sustainable Development Goals
- Quality Education
No related works found for this paper.