Not logged in.

Contribution Details

Type Conference or Workshop Paper
Scope Discipline-based scholarship
Published in Proceedings Yes
Title Investigating Severity Thresholds for Test Smells
Organization Unit
Authors
  • Davide Spadini
  • Martin Schvarcbacher
  • Ana-Maria Oprescu
  • Magiel Bruntink
  • Alberto Bacchelli
Presentation Type paper
Item Subtype Original Work
Refereed Yes
Status Published in final form
Language
  • English
ISBN 9781450375177
Page Range 311 - 321
Event Title MSR '20: 17th International Conference on Mining Software Repositories
Event Type conference
Event Location Seoul Republic of Korea
Event Start Date July 29 - 2020
Event End Date July 30 - 2020
Place of Publication New York, NY, USA
Publisher ACM
Abstract Text Test smells are poor design decisions implemented in test code, which can have an impact on the effectiveness and maintainability of unit tests. Even though test smell detection tools exist, how to rank the severity of the detected smells is an open research topic. In this work, we aim at investigating the severity rating for four test smells and investigate their perceived impact on test suite maintainability by the developers. To accomplish this, we first analyzed some 1,500 open-source projects to elicit severity thresholds for commonly found test smells. Then, we conducted a study with developers to evaluate our thresholds. We found that (1) current detection rules for certain test smells are considered as too strict by the developers and (2) our newly defined severity thresholds are in line with the participants' perception of how test smells have an impact on the maintainability of a test suite. Preprint [https://doi.org/10.5281/zenodo.3744281], data and material [https://doi.org/10.5281/zenodo.3611111].
Digital Object Identifier 10.1145/3379597.3387453
Other Identification Number merlin-id:20223
PDF File Download from ZORA
Export BibTeX
EP3 XML (ZORA)