Back to search

West Virginia University

GENERATIVE AI: IMPACTS ON LEARNING PROGRAMMING AND ON THE QUALITY OF GENERATED CODE

Abstract

dc:description.abstract

Generative AI is rapidly transforming programming both as a tool for learning and as a system capable of producing code. This thesis examines that transformation from two complementary perspectives. First, it investigates how generative AI influences introductory programming education through a survey of 139 students across two semesters, analyzing patterns of use, perceived bene f its, motivation, self-efficacy, academic performance, and pedagogical implications using descriptive statistics, Mann Whitney tests, Spearman correlation, and logistic regression. Second, it evaluates the quality of Python and Java code generated by modern large language models on 1,651 programming tasks by analyzing the lines of code, cyclomatic complexity, code smells, failure proneness and vulnerability presence through descriptive analysis and inferential statistics. Across both studies, the findings show that generative AI cannot be adequately understood through surface-level outcomes alone. In education, it offers fast, accessible assistance but may reduce engagement and self-confidence under some conditions. In code generation, benchmark success does not fully capture software quality or security, and structural characteristics such as code smells, code length, and task difficulty help explain failure proneness and vulnerability presence.

Degree

thesis:*
Name thesis:degree_name
MS
Level thesis:degree_level
Thesis (Campus Access)
Discipline thesis:degree_discipline
Lane Department of Computer Science and Electrical Engineering

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Harris, Dylan James
Contributors dc:contributor
  • Katerina Goseva-Popstojanova
  • Thomas Devine
  • Matthew Valenti

Subjects

dc:subject × 7

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
West Virginia University
Base URL
researchrepository.wvu.edu/do/oai/
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Harris, Dylan James. GENERATIVE AI: IMPACTS ON LEARNING PROGRAMMING AND ON THE QUALITY OF GENERATED CODE. Thesis (Campus Access) thesis, https://doi.org/10.33915/etd.13342