Machine Learning-Based Test Smell Detection

Valeria Pontillo, Dario Amoroso d'Aragona, Fabiano Pecorelli, Dario Di Nucci, Filomena Ferrucci +1 more
8/16/2022
cs.SEcs.LG

Official code: darioamorosodaragona-tuni/ML-Test-Smell-Detection-Online-Appendix (3 stars, GPL-3.0, last commit 2024-01-16).

Abstract

Context: Test smells are symptoms of sub-optimal design choices adopted when developing test cases. Previous studies have proved their harmfulness for test code maintainability and effectiveness.

Show full abstract

Therefore, researchers have been proposing automated, heuristic-based techniques to detect them. However, the performance of such detectors is still limited and dependent on thresholds to be tuned. Objective: We propose the design and experimentation of a novel test smell detection approach based on machine learning to detect four test smells. Method: We plan to develop the largest dataset of manually-validated test smells. This dataset will be leveraged to train six machine learners and assess their capabilities in within- and cross-project scenarios. Finally, we plan to compare our approach with state-of-the-art heuristic-based techniques.

View on arXivView PDF

Code Implementations(1)

GPL-3.0
31Jun 3, 20222 years agoGPL-3.0

Similar Papers

Cite this paper

@article{pontillo2022machine,
  title  = {Machine Learning-Based Test Smell Detection},
  author = {Valeria Pontillo and Dario Amoroso d'Aragona and Fabiano Pecorelli and Dario Di Nucci and Filomena Ferrucci and Fabio Palomba},
  year   = {2022},
  eprint = {2208.07574},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.07574}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2208.07574.svg)](https://codeofpaper.com/paper/2208.07574)

Discussion