{"id":{"repo_id":"vt","oai_identifier":"oai:vtechworks.lib.vt.edu:10919/143880"},"canonical_url":"https://search.ndltd.org/etd/vt/oai:vtechworks.lib.vt.edu:10919/143880","repository":{"repo_id":"vt","name":"Virginia Tech","base_url":"https://vtechworks.lib.vt.edu/oai/request"},"display":{"title":"Program Comprehension for Human and LLM-Based Software Maintenance","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.","abstract_html":"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&#x27; understanding of program behavior and evaluating whether LLMs possess the comprehension required for reliable automated debugging and testing.","abstract_has_math":false,"creators":["Haroon, Sabaat"],"institution":"Virginia Tech","degree_name":"Doctor of Philosophy","degree_level":"doctoral","degree_discipline":"Computer Science & Applications","degree_department":"Computer Science and#38; Applications","school":null,"contributors":[],"advisors":[],"committee_chairs":["Gulzar, Muhammad Ali"],"committee_members":["Tilevich, Eli","Zhang, Tianyi","Brown, Dwayne Christian","Meng, Na"],"year":2026,"date_issued":"2026-10-06","date_published":"2026-10-06","updated_at":"2026-11-18T20:11:42Z","subjects":["Debugging","Data-Intensive Scalable Computing","Large Language Models"],"languages":["en"],"rights":["In Copyright"],"rights_urls":["http://rightsstatements.org/vocab/InC/1.0/"],"identifier_entries":[{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["vt_gsexam:47711"],"render_values":[{"text":"vt_gsexam:47711","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10919/143880","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10919/143880","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://vtechworks.lib.vt.edu/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Avtechworks.lib.vt.edu%3A10919%2F143880","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.committeechair","label":"Committee Chair","values":["Gulzar, Muhammad Ali"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Tilevich, Eli","Zhang, Tianyi","Brown, Dwayne Christian","Meng, Na"]},{"key":"dc:contributor.department","label":"Department","values":["Computer Science and#38; Applications"]},{"key":"dc:creator","label":"Author","values":["Haroon, Sabaat"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-10-07T08:00:09Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-10-07T08:00:09Z"]},{"key":"dc:date.issued","label":"Date","values":["2026-10-06"]},{"key":"dc:publisher","label":"Institution","values":["Virginia Tech"]},{"key":"dc:type","label":"Dc Type","values":["Dissertation"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science & Applications"]},{"key":"thesis:degree_level","label":"Degree Level","values":["doctoral"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Doctor of Philosophy"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Virginia Polytechnic Institute and State University"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Debugging","Data-Intensive Scalable Computing","Large Language Models"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["In Copyright"]},{"key":"dc:rights.uri","label":"Rights URI","values":["http://rightsstatements.org/vocab/InC/1.0/"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["vt_gsexam:47711"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10919/143880"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["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."]},{"key":"dc:description.abstractgeneral","label":"General Abstract","values":["Software is constantly changed, optimized, and transformed, which can make it difficult for both developers and automated tools to understand how a program works. This thesis studies program comprehension in software debugging and testing: how developers can be helped to better understand program behavior, and how well Large Language Models (LLMs) understand the programs they are asked to debug or test. The first part focuses on improving developer understanding of how SQL queries are transformed and executed in distributed computing systems. The second part evaluates whether LLMs can reliably identify faults when code is changed in ways that do not affect what the program does. The final part examines whether LLM-generated tests reflect changes in program behavior as software evolves. Together, these studies show that program comprehension is an important foundation for reliable debugging and testing, whether the task is performed by a human developer or an AI system."]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["Doctor of Philosophy"]},{"key":"dc:format.medium","label":"Dc Format Medium","values":["ETD"]},{"key":"dc:title","label":"Title","values":["Program Comprehension for Human and LLM-Based Software Maintenance"]}]}],"canonical_facts":{"dc:contributor.committeechair":["Gulzar, Muhammad Ali"],"dc:contributor.committeemember":["Tilevich, Eli","Zhang, Tianyi","Brown, Dwayne Christian","Meng, Na"],"dc:contributor.department":["Computer Science and#38; Applications"],"dc:creator":["Haroon, Sabaat"],"dc:date.accessioned":["2026-10-07T08:00:09Z"],"dc:date.available":["2026-10-07T08:00:09Z"],"dc:date.issued":["2026-10-06"],"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."],"dc:description.abstractgeneral":["Software is constantly changed, optimized, and transformed, which can make it difficult for both developers and automated tools to understand how a program works. This thesis studies program comprehension in software debugging and testing: how developers can be helped to better understand program behavior, and how well Large Language Models (LLMs) understand the programs they are asked to debug or test. The first part focuses on improving developer understanding of how SQL queries are transformed and executed in distributed computing systems. The second part evaluates whether LLMs can reliably identify faults when code is changed in ways that do not affect what the program does. The final part examines whether LLM-generated tests reflect changes in program behavior as software evolves. Together, these studies show that program comprehension is an important foundation for reliable debugging and testing, whether the task is performed by a human developer or an AI system."],"dc:description.degree":["Doctor of Philosophy"],"dc:format.medium":["ETD"],"dc:identifier.other":["vt_gsexam:47711"],"dc:identifier.uri":["https://hdl.handle.net/10919/143880"],"dc:language.iso":["en"],"dc:publisher":["Virginia Tech"],"dc:rights":["In Copyright"],"dc:rights.uri":["http://rightsstatements.org/vocab/InC/1.0/"],"dc:subject":["Debugging","Data-Intensive Scalable Computing","Large Language Models"],"dc:title":["Program Comprehension for Human and LLM-Based Software Maintenance"],"dc:type":["Dissertation"],"thesis:degree_discipline":["Computer Science & Applications"],"thesis:degree_level":["doctoral"],"thesis:degree_name":["Doctor of Philosophy"],"thesis:institution_name":["Virginia Polytechnic Institute and State University"]},"updated_at":"2026-11-18T20:11:42Z"}