Investigating Severity Thresholds for Test Smells

44Citations
Citations of this article
44Readers
Mendeley users who have this article in their library.
Get full text

Abstract

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].

References Powered by Scopus

A Modified Card Sorting Test Sensitive to Frontal Lobe Defects

2302Citations
N/AReaders
Get full text

A survey of controlled experiments in software engineering

514Citations
N/AReaders
Get full text

Quantifying the effect of code smells on maintenance effort

260Citations
N/AReaders
Get full text

Cited by Powered by Scopus

TsDetect: An open source test smells detection tool

70Citations
N/AReaders
Get full text

Test smell detection tools: A systematic mapping study

49Citations
N/AReaders
Get full text

The secret life of test smells - an empirical study on test smell evolution and maintenance

31Citations
N/AReaders
Get full text

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Cite

CITATION STYLE

APA

Spadini, D., Schvarcbacher, M., Oprescu, A. M., Bruntink, M., & Bacchelli, A. (2020). Investigating Severity Thresholds for Test Smells. In Proceedings - 2020 IEEE/ACM 17th International Conference on Mining Software Repositories, MSR 2020 (pp. 311–321). Association for Computing Machinery, Inc. https://doi.org/10.1145/3379597.3387453

Readers over time

‘20‘21‘22‘23‘24‘250481216

Readers' Seniority

Tooltip

PhD / Post grad / Masters / Doc 18

78%

Researcher 3

13%

Professor / Associate Prof. 2

9%

Readers' Discipline

Tooltip

Computer Science 24

80%

Engineering 4

13%

Materials Science 1

3%

Agricultural and Biological Sciences 1

3%

Save time finding and organizing research with Mendeley

Sign up for free
0