Please use this identifier to cite or link to this item:
https://elib.vku.udn.vn/handle/123456789/7704| Title: | Enhancing Cross-Project Test Smell Detection via Test Code Feature Engineering and Ensemble Learning |
| Authors: | Nguyen, Thi Thuy Hoai Nguyen, Nang Hung Van Nguyen, Thanh Binh |
| Keywords: | test smell test smell detection Machine Learning stacking ensemble technique |
| Issue Date: | Apr-2026 |
| Publisher: | Springer Nature |
| Abstract: | In software development, testing is a crucial process that ensures the quality and maintainability of software systems. Recent research shows that test smells in test cases negatively affect the cost and overall health of software projects. Earlier research on test smell detection has largely relied on heuristic or rule-based techniques, which depend on subjectively defined thresholds and often fail to generalize across projects. More recent studies have introduced machine learning (ML) to automate detection; however, their effectiveness remains limited because they rely almost exclusively on features extracted from test code. To address these limitations, this study makes two key contributions. First, we construct an enriched dataset by extending an existing ground-truth corpus of 9,633 manually labeled Java test cases, linking each test class. Second, we propose an enhanced detection framework based on ensemble learning, combined with test code feature selection, and evaluate it across 59 Java projects covering four test smells—Eager Test, Mystery Guest, Resource Optimism, and Test Redundancy. Our results demonstrate substantial improvements in F1-score compared to previously reported cross-project studies, indicating significantly stronger generalization and more robust detection performance. |
| Description: | Computational Intelligence in Engineering Science (ICCIES 2026); pp: 598-612 |
| URI: | https://doi.org/10.1007/978-3-032-21631-1_43 https://elib.vku.udn.vn/handle/123456789/7704 |
| ISBN: | 978-3-032-21630-4 (p) 978-3-032-21631-1 (e) |
| Appears in Collections: | NĂM 2026 |
Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.