elib
DLR-Header
DLR-Logo -> http://www.dlr.de
DLR Portal Home | Impressum | Datenschutz | Kontakt | English
Schriftgröße: [-] Text [+]

Comparing Workload in Program Comprehension Between Human-Generated and AI-Generated Program Code

Maier, Patricia (2024) Comparing Workload in Program Comprehension Between Human-Generated and AI-Generated Program Code. Masterarbeit, Ludwig-Maximilians-Universität München.

[img] PDF - Nur DLR-intern zugänglich
3MB

Kurzfassung

Since the introduction of GitHub Copilot in 2021 and ChatGPT in 2022, the number of AI-assistant tools in programming has increased. Consequently, we investigate the impact of AI-generated code on cognitive processes in code comprehension. The thesis comprises two main parts: a systematic literature review, followed by an experimental study involving 23 professional programmers. This study explores the effect of AI-generated code on workload during program comprehension. We used six code snippets in Python to compare the workload while reading human-written code to that of comprehending AI-generated code prompted to be “efficient” or “easy-to-read”. To assess objective workload, we recorded electrical brain activation with an EEG device. Additionally, we evaluated subjective workload using the NASA-TLX survey. Our findings reveal that subjective and objective workloads were highest when reading human-written code, while the workload for comprehending AI-generated code prompted to be “easy-to-read” was low for both. Although we observed significant differences in subjective workload between reading the AI-generated “easy-to-read” code snippets and human-written code, as well as AI-generated code prompted to be “efficient”, no significant results were found for the objective measured workload. The outcomes highlight the impact of code source and prompting on workload, particularly in reducing the workload while reading AI-generated code that is prompted to be “easy-to-read”. To take advantage of this workload reduction, developers should carefully select their prompts and improve their skills accordingly. Consequently, AI-assisted programming should be considered in future studies of cognitive processes in software development.

elib-URL des Eintrags:https://elib.dlr.de/204978/
Dokumentart:Hochschulschrift (Masterarbeit)
Titel:Comparing Workload in Program Comprehension Between Human-Generated and AI-Generated Program Code
Autoren:
AutorenInstitution oder E-Mail-AdresseAutoren-ORCID-iDORCID Put Code
Maier, Patriciapatricia.maier (at) dlr.deNICHT SPEZIFIZIERTNICHT SPEZIFIZIERT
Datum:2024
Open Access:Nein
Seitenanzahl:87
Status:veröffentlicht
Stichwörter:Program Comprehension Workload AI
Institution:Ludwig-Maximilians-Universität München
Abteilung:Institut für Informatik
HGF - Forschungsbereich:Luftfahrt, Raumfahrt und Verkehr
HGF - Programm:Raumfahrt
HGF - Programmthema:Technik für Raumfahrtsysteme
DLR - Schwerpunkt:Raumfahrt
DLR - Forschungsgebiet:R SY - Technik für Raumfahrtsysteme
DLR - Teilgebiet (Projekt, Vorhaben):R - Analytik und Visualisierung großer Raumfahrt-Softwaresysteme
Standort: Oberpfaffenhofen
Institute & Einrichtungen:Institut für Softwaretechnologie
Institut für Softwaretechnologie > Intelligente und verteilte Systeme
Hinterlegt von: Kurnatowski, Lynn
Hinterlegt am:26 Jun 2024 08:37
Letzte Änderung:01 Jul 2024 12:27

Nur für Mitarbeiter des Archivs: Kontrollseite des Eintrags

Blättern
Suchen
Hilfe & Kontakt
Informationen
electronic library verwendet EPrints 3.3.12
Gestaltung Webseite und Datenbank: Copyright © Deutsches Zentrum für Luft- und Raumfahrt (DLR). Alle Rechte vorbehalten.