Test smell refactoring revisited: What can internal quality attributes and developers’ experience tell us?
Journal of Software Engineering Research and Development · 03.10.2023 · 11 (1)
DOI: 10.5753/jserd.2023.3195 ↗Kurz gefasst
Fachartikel in der Zeitschrift Journal of Software Engineering Research and Development, online erschienen am 03.10.2023. Verfasst von Humberto Damasceno und 4 weiteren Autor:innen. Die Arbeit wurde bisher 5-mal zitiert (Crossref). Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).
Abstract (Originalsprache)
Test smells represent a set of poorly designed tests, which can harm test code maintainability. Although fundamental steps to understand test smells have been taken, there is still an evident lack of studies evaluating the impact of test smell refactoring from the perspective of internal quality attributes, such as size, cohesion, coupling, and complexity. In addition, the literature still lacks research that addresses the difficulties developers face during test smell refactoring. This article investigates the impact of test smell refactoring from a developer’s perspective, considering the internal quality attributes and the background experience. We investigated the perceptions and difficulties encountered by 20 developers while removing five types of test smells in four open-source projects over two months. Through this study, we analyzed: (i) the impact that test smell refactoring has on internal quality attributes; (ii) the developers’ perception of test smells as actual problems within software systems; (iii) the main difficulties developers face during test smell refactoring; (iv) the influence of developers’ experience on assertiveness and refactoring time of test smells, and (v) the effects of refactoring on the test smell density. Our findings can help developers design a prioritization scheme for test smell refactoring and make them aware of the real benefits of test smell refactoring.
Zitieren
APA
Damasceno, H., Bezerra, C., Campos, D., Machado, I., & Coutinho, E. (2023). Test smell refactoring revisited: What can internal quality attributes and developers’ experience tell us?. Journal of Software Engineering Research and Development, 11(1). https://doi.org/10.5753/jserd.2023.3195
Vancouver
Damasceno H, Bezerra C, Campos D, Machado I, Coutinho E. Test smell refactoring revisited: What can internal quality attributes and developers’ experience tell us?. Journal of Software Engineering Research and Development. 2023;11(1). doi:10.5753/jserd.2023.3195
BibTeX
@article{Damasceno2023,
author = {Damasceno, Humberto and Bezerra, Carla and Campos, Denivan and Machado, Ivan and Coutinho, Emanuel},
title = {Test smell refactoring revisited: What can internal quality attributes and developers’ experience tell us?},
journal = {Journal of Software Engineering Research and Development},
year = {2023},
volume = {11},
number = {1},
doi = {10.5753/jserd.2023.3195}
}
EUVIMED