Year: 2026
Type: article
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.
Source: Mspace (University of Manitoba)
Author: Islam, Md Shahidul
Language: English
Subfield: Information Systems
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7204615285
