TL;DR
This paper introduces xNose, an automated tool for detecting test smells in C# projects, achieving high accuracy and providing insights into their prevalence and distribution to improve code quality.
Contribution
The paper extends test smell detection to C#, developing xNose and analyzing its effectiveness and the prevalence of test smells in C# projects.
Findings
xNose achieves 96.97% precision and 96.03% recall.
16 test smells identified and evaluated in C#.
Empirical analysis reveals test smell distribution in C# projects.
Abstract
Test smells, similar to code smells, can negatively impact both the test code and the production code being tested. Despite extensive research on test smells in languages like Java, Scala, and Python, automated tools for detecting test smells in C# are lacking. This paper aims to bridge this gap by extending the study of test smells to C#, and developing a tool (xNose) to identify test smells in this language and analyze their distribution across projects. We identified 16 test smells from prior studies that were language-independent and had equivalent features in C# and evaluated xNose, achieving a precision score of 96.97% and a recall score of 96.03%. In addition, we conducted an empirical study to determine the prevalence of test smells in xUnit-based C# projects. This analysis sheds light on the frequency and distribution of test smells, deepening our understanding of their impact…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
