2024 · 16 citations · 12 references
ComputingComputer ScienceArtificial IntelligenceNatural Language ProcessingSoftware EngineeringApplication Programming InterfacesSoftware ConstructionSoftware DesignSoftware MetricsSoftware TestingStatic Code AnalysisCode ComprehensionProgram ComprehensionProgram-to-text GenerationSource Code AnalysisSource Code Change Analysis
In this study, we quantitatively analyze 1,756 AI-written Python code snippets in the DevGPT dataset and evaluate them for quality and security issues. We systematically distinguish the code snippets as either generated by ChatGPT from scratch (ChatGPT-generated) or modified user-provided code (ChatGPT-modified). The results reveal that ChatGPT-modified code more frequently displays quality issues compared to ChatGPT-generated code. The findings provide insights into the inherent limitations of AI-written code and emphasize the need for scrutiny before integrating such pieces of code into software systems.
12
An empirical evaluation of GitHub copilot's code suggestions
Nhan Nguyen, Sarah Nadi · 2022 · 281 citations
Automated Repair of Programs from Large Language Models
Zhiyu Fan, Xiang Gao, Abhik Roychoudhury et al. · 2023 · 215 citations
Assessing the quality of GitHub copilot’s code generation
Burak Yetistiren, Isik Ozsoy, Eray Tüzün · 2022 · 130 citations · Full text
Mohammad Aljanabi, Mohanad Ghazi, Ahmed Hussein Ali et al. · Iraqi Journal for Computer Science and Mathematics · 2023 · 119 citations · Full text