OpenAlex · Aktualisierung stündlich · Letzte Aktualisierung: 20.04.2026, 23:27

Dies ist eine Übersichtsseite mit Metadaten zu dieser wissenschaftlichen Arbeit. Der vollständige Artikel ist beim Verlag verfügbar.

Analyzing Developer Use of ChatGPT Generated Code in Open Source GitHub Projects

2024·5 Zitationen
Volltext beim Verlag öffnen

5

Zitationen

4

Autoren

2024

Jahr

Abstract

The rapid development of large language models such as ChatGPT have made them particularly useful to developers in generating code snippets for their projects. To understand how ChatGPT's generated code is leveraged by developers, we conducted an empirical study of 3,044 ChatGPT-generated code snippets integrated within GitHub projects. A median of 54% of the generated lines of code is found in the project's code and this code typically remains unchanged once added. The modifications of the 76 code snippets that changed in a subsequent commit, consisted of minor functionality changes and code reorganizations that were made within a day. Our findings offer insights that help drive the development of AI-assisted programming tools. We highlight the importance of making changes in ChatGPT code before integrating it into a project.

Ähnliche Arbeiten

Autoren

Institutionen

Themen

Software Testing and Debugging TechniquesSoftware Engineering ResearchArtificial Intelligence in Healthcare and Education
Volltext beim Verlag öffnen