Back to search

Virginia Tech

Program Comprehension for Human and LLM-Based Software Maintenance

Abstract

dc:description.abstract

Modern software systems increasingly rely on abstractions, transformations, and automated tools that make it difficult to understand how source-level programs relate to their actual behavior. Effective debugging and testing therefore depend on accurate program comprehension by both human and automated agents that perform these tasks. This thesis investigates how program comprehension can be improved for developers and systematically assessed for Large Language Models (LLMs) used in software maintenance. The first part focuses on improving human program comprehension in distributed systems. This thesis develops an interactive debugging approach that connects developer-written SQL to its transformed distributed execution by mapping intermediate execution data back to corresponding parts of the original query. This allows developers to understand complex execution behavior using the same abstractions in which the program was originally expressed. As LLMs are increasingly used for coding tasks, program comprehension shifts from human developers to automated agents. The second part investigates LLM program comprehension in automated debugging. The evaluation examines fault localization under semantics-preserving code changes to determine whether LLMs consistently understand program behavior or are influenced by superficial properties of how code is written. The final part extends this investigation to LLM-based test generation under software evolution, evaluating whether generated tests remain reliable when program functionality is preserved and whether they appropriately reflect changes when program behavior is modified. Together, these contributions examine program comprehension from two complementary perspectives: improving developers' understanding of program behavior and evaluating whether LLMs possess the comprehension required for reliable automated debugging and testing.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Level thesis:degree_level
doctoral
Discipline thesis:degree_discipline
Computer Science & Applications
Department dc:contributor.department
Computer Science and#38; Applications
Grantor dc:publisher
Virginia Tech
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Haroon, Sabaat
Chair dc:contributor.committeechair
  • Gulzar, Muhammad Ali
Committee members dc:contributor.committeemember
  • Tilevich, Eli
  • Zhang, Tianyi
  • Brown, Dwayne Christian
  • Meng, Na

Subjects

dc:subject × 3

Rights

dc:rights
Statement dc:rights
  • In Copyright
Language dc:language.iso
en

Identifiers

dc:identifier.*
Dc Identifier Other
vt_gsexam:47711

Chain of custody

source
Harvested from
Virginia Tech
Base URL
vtechworks.lib.vt.edu/oai/request
Last updated
2026-11-18
Source record
OAI-PMH GetRecord
citation

Haroon, Sabaat. Program Comprehension for Human and LLM-Based Software Maintenance. doctoral thesis, Virginia Tech, 2026. https://hdl.handle.net/10919/143880