English

Machine Learning-Based Test Smell Detection

Software Engineering 2022-08-17 v1 Machine Learning

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

Keywords

Cite

@article{arxiv.2208.07574,
  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},
  journal= {arXiv preprint arXiv:2208.07574},
  year   = {2022}
}

Comments

8 pages, 1 table, 38th IEEE International Conference on Software Maintenance and Evolution (ICSME) - Registered Report