Skip to main navigation Skip to search Skip to main content

TsDetect: An open source test smells detection tool

  • Anthony Peruma
  • , Khalid Almalki
  • , Christian D. Newman
  • , Mohamed Wiem Mkaouer
  • , Ali Ouni
  • , Fabio Palomba
  • Rochester Institute of Technology
  • University of Salerno

Research output: Contribution to Book/Report types › Contribution to conference proceedings › peer-review

106 Citations (Scopus)

Abstract

The test code, just like production source code, is subject to bad design and programming practices, also known as smells. The presence of test smells in a software project may affect the quality, maintainability, and extendability of test suites making them less effective in finding potential faults and quality issues in the project's production code. In this paper, we introduce tsDetect, an automated test smell detection tool for Java software systems that uses a set of detection rules to locate existing test smells in test code. We evaluate the effectiveness of tsDetect on a benchmark of 65 unit test files containing instances of 19 test smell types. Results show that tsDetect achieves a high detection accuracy with an average precision score of 96% and an average recall score of 97%. tsDetect is publicly available, with a demo video, at: https://testsmells.github.io/

Original languageEnglish
Title of host publicationESEC/FSE 2020 - Proceedings of the 28th ACM Joint Meeting European Software Engineering Conference and Symposium on the Foundations of Software Engineering
EditorsPrem Devanbu, Myra Cohen, Thomas Zimmermann
PublisherAssociation for Computing Machinery, Inc
Pages1650-1654
Number of pages5
ISBN (Electronic)9781450370431
DOIs
Publication statusPublished - 8 Nov 2020
Event28th ACM Joint Meeting European Software Engineering Conference and Symposium on the Foundations of Software Engineering, ESEC/FSE 2020 - Virtual, Online, United States
Duration: 8 Nov 2020 → 13 Nov 2020

Publication series

NameESEC/FSE 2020 - Proceedings of the 28th ACM Joint Meeting European Software Engineering Conference and Symposium on the Foundations of Software Engineering

Conference

Conference28th ACM Joint Meeting European Software Engineering Conference and Symposium on the Foundations of Software Engineering, ESEC/FSE 2020
Country/TerritoryUnited States
CityVirtual, Online
Period8/11/20 → 13/11/20

Keywords

  • Detection Tool
  • Software Quality
  • Test Smells

ASJC Scopus subject areas

  • Software

Fingerprint

Dive into the research topics of 'TsDetect: An open source test smells detection tool'. These topics are generated from the title and abstract of the publication. Together, they form a unique fingerprint.

Cite this