{"id":{"repo_id":"manitoba","oai_identifier":"oai:mspace.lib.umanitoba.ca:1993/39996"},"canonical_url":"https://search.ndltd.org/etd/manitoba/oai:mspace.lib.umanitoba.ca:1993/39996","repository":{"repo_id":"manitoba","name":"University of Manitoba","base_url":"https://mspace.lib.umanitoba.ca/oai/request"},"display":{"title":"Improving our understanding of test code: technical debt and evolution","abstract":"Test code is essential for software quality, yet software maintenance research has focused mainly on production code, leaving important aspects of test-code quality and evolution underexplored. This thesis examines two dimensions of test-code maintenance: self-admitted technical debt (SATD) and method-level evolution. To understand SATD in test code, comments from open-source Java projects were manually analyzed and classified into a taxonomy that includes both source-code-like and test-specific categories. The analysis shows that test-code SATD resembles source-code SATD, while also capturing test-specific concerns absent from existing taxonomies. Evaluation of existing SATD detection tools and both open-source and proprietary large language models showed that these approaches are unreliable for detecting SATD in test code. To understand method-level test-code evolution, reliable method histories are needed. However, existing method-history generation tools have been evaluated mainly on production methods and against inaccurate oracles, leaving their reliability for test methods uncertain. To address this, updated and new oracles are constructed, and HistoryFinder is introduced as a method-history generation tool that achieves the highest overall accuracy with competitive runtime and outperforms other research-based tools. To examine test-production relationships, a test-to-production method-linking ground truth was constructed and used to evaluate existing linking techniques. Using these links and method histories, the analysis shows that some test methods are revised more frequently than their corresponding production methods and that several test-smell types are more prevalent among highly revision-prone test methods. Overall, this work contributes ground truths, tools, and empirical evidence for understanding test-code quality and evolution.","abstract_html":"Test code is essential for software quality, yet software maintenance research has focused mainly on production code, leaving important aspects of test-code quality and evolution underexplored. This thesis examines two dimensions of test-code maintenance: self-admitted technical debt (SATD) and method-level evolution. To understand SATD in test code, comments from open-source Java projects were manually analyzed and classified into a taxonomy that includes both source-code-like and test-specific categories. The analysis shows that test-code SATD resembles source-code SATD, while also capturing test-specific concerns absent from existing taxonomies. Evaluation of existing SATD detection tools and both open-source and proprietary large language models showed that these approaches are unreliable for detecting SATD in test code. To understand method-level test-code evolution, reliable method histories are needed. However, existing method-history generation tools have been evaluated mainly on production methods and against inaccurate oracles, leaving their reliability for test methods uncertain. To address this, updated and new oracles are constructed, and HistoryFinder is introduced as a method-history generation tool that achieves the highest overall accuracy with competitive runtime and outperforms other research-based tools. To examine test-production relationships, a test-to-production method-linking ground truth was constructed and used to evaluate existing linking techniques. Using these links and method histories, the analysis shows that some test methods are revised more frequently than their corresponding production methods and that several test-smell types are more prevalent among highly revision-prone test methods. Overall, this work contributes ground truths, tools, and empirical evidence for understanding test-code quality and evolution.","abstract_has_math":false,"creators":["Islam, Md Shahidul"],"institution":null,"degree_name":null,"degree_level":"Master of Science (M.Sc.)","degree_discipline":"Computer Science","degree_department":null,"school":null,"contributors":[],"advisors":["Chowdhury, Shaiful"],"committee_chairs":[],"committee_members":["Wang, Shaowei (Computer Science)","Mansoor, Hamid (Computer Science)"],"year":2026,"date_issued":"2026-08-13","date_published":"2026-08-13","updated_at":"2026-11-19T09:14:46Z","subjects":["technical debt","SATD","LLMs","test code","method evolution","software evolution","mining software repositories","software testing","traceability"],"languages":["eng"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1993/39996","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1993/39996","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Amanitoba%3Aoai%3Amspace.lib.umanitoba.ca%3A1993%2F39996","prefix":"oai_dc"},"source_record":{"url":"https://mspace.lib.umanitoba.ca/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Amspace.lib.umanitoba.ca%3A1993%2F39996","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Wang, Shaowei (Computer Science)","Mansoor, Hamid (Computer Science)"]},{"key":"dc:contributor.supervisor","label":"Supervisor","values":["Chowdhury, Shaiful"]},{"key":"dc:creator","label":"Author","values":["Islam, Md Shahidul"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-08-26T21:17:29Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-08-26T21:17:29Z"]},{"key":"dc:date.issued","label":"Date","values":["2026-08-13"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["2026-08-13T05:44:21Z"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Master of Science (M.Sc.)"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["technical debt","SATD","LLMs","test code","method evolution","software evolution","mining software repositories","software testing","traceability"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["http://hdl.handle.net/1993/39996"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"crisitem:project.funder","label":"Crisitem Project Funder","values":["Supervisor's Research Grant"]},{"key":"dc:description.abstract","label":"Abstract","values":["Test code is essential for software quality, yet software maintenance research has focused mainly on production code, leaving important aspects of test-code quality and evolution underexplored. This thesis examines two dimensions of test-code maintenance: self-admitted technical debt (SATD) and method-level evolution. To understand SATD in test code, comments from open-source Java projects were manually analyzed and classified into a taxonomy that includes both source-code-like and test-specific categories. The analysis shows that test-code SATD resembles source-code SATD, while also capturing test-specific concerns absent from existing taxonomies. Evaluation of existing SATD detection tools and both open-source and proprietary large language models showed that these approaches are unreliable for detecting SATD in test code. To understand method-level test-code evolution, reliable method histories are needed. However, existing method-history generation tools have been evaluated mainly on production methods and against inaccurate oracles, leaving their reliability for test methods uncertain. To address this, updated and new oracles are constructed, and HistoryFinder is introduced as a method-history generation tool that achieves the highest overall accuracy with competitive runtime and outperforms other research-based tools. To examine test-production relationships, a test-to-production method-linking ground truth was constructed and used to evaluate existing linking techniques. Using these links and method histories, the analysis shows that some test methods are revised more frequently than their corresponding production methods and that several test-smell types are more prevalent among highly revision-prone test methods. Overall, this work contributes ground truths, tools, and empirical evidence for understanding test-code quality and evolution."]},{"key":"dc:description.note","label":"Dc Description Note","values":["October 2026"]},{"key":"dc:title","label":"Title","values":["Improving our understanding of test code: technical debt and evolution"]},{"key":"local:admin","label":"Local Admin","values":["no"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"crisitem:project.funder":["Supervisor's Research Grant"],"dc:contributor.committeemember":["Wang, Shaowei (Computer Science)","Mansoor, Hamid (Computer Science)"],"dc:contributor.supervisor":["Chowdhury, Shaiful"],"dc:creator":["Islam, Md Shahidul"],"dc:date.accessioned":["2026-08-26T21:17:29Z"],"dc:date.available":["2026-08-26T21:17:29Z"],"dc:date.issued":["2026-08-13"],"dc:date.submitted":["2026-08-13T05:44:21Z"],"dc:description.abstract":["Test code is essential for software quality, yet software maintenance research has focused mainly on production code, leaving important aspects of test-code quality and evolution underexplored. This thesis examines two dimensions of test-code maintenance: self-admitted technical debt (SATD) and method-level evolution. To understand SATD in test code, comments from open-source Java projects were manually analyzed and classified into a taxonomy that includes both source-code-like and test-specific categories. The analysis shows that test-code SATD resembles source-code SATD, while also capturing test-specific concerns absent from existing taxonomies. Evaluation of existing SATD detection tools and both open-source and proprietary large language models showed that these approaches are unreliable for detecting SATD in test code. To understand method-level test-code evolution, reliable method histories are needed. However, existing method-history generation tools have been evaluated mainly on production methods and against inaccurate oracles, leaving their reliability for test methods uncertain. To address this, updated and new oracles are constructed, and HistoryFinder is introduced as a method-history generation tool that achieves the highest overall accuracy with competitive runtime and outperforms other research-based tools. To examine test-production relationships, a test-to-production method-linking ground truth was constructed and used to evaluate existing linking techniques. Using these links and method histories, the analysis shows that some test methods are revised more frequently than their corresponding production methods and that several test-smell types are more prevalent among highly revision-prone test methods. Overall, this work contributes ground truths, tools, and empirical evidence for understanding test-code quality and evolution."],"dc:description.note":["October 2026"],"dc:identifier.uri":["http://hdl.handle.net/1993/39996"],"dc:language.iso":["eng"],"dc:subject":["technical debt","SATD","LLMs","test code","method evolution","software evolution","mining software repositories","software testing","traceability"],"dc:title":["Improving our understanding of test code: technical debt and evolution"],"local:admin":["no"],"others:access_status":["open.access"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_level":["Master of Science (M.Sc.)"]},"updated_at":"2026-11-19T09:14:46Z"}