arrow
返回

Machine learning-based test smell detection

delete2024-03-05
delete4
delete
OA
AI
V
Valeria Pontillo *
D
Dario Amoroso d’Aragona
F
Fabiano Pecorelli
D
Dario Di Nucci
F
Filomena Ferrucci
F
Fabio Palomba
DOI:10.1007/s10664-023-10436-2delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
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 these detectors is still limited and dependent on tunable thresholds. We design and experiment with a novel test smell detection approach based on machine learning to detect four test smells. First, we develop the largest dataset of manually-validated test smells to enable experimentation. Afterward, we train six machine learners and assess their capabilities in within- and cross-project scenarios. Finally, we compare the ML-based approach with state-of-the-art heuristic-based techniques. The key findings of the study report a negative result. The performance of the machine learning-based detector is significantly better than heuristic-based techniques, but none of the learners able to overcome an average F-Measure of 51%. We further elaborate and discuss the reasons behind this negative result through a qualitative investigation into the current issues and challenges that prevent the appropriate detection of test smells, which allowed us to catalog the next steps that the research community may pursue to improve test smell detection techniques.
Keyword:
Test smells
Test code quality
Machine learning
Empirical software engineering
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Empirical Software Engineering 封面图
Empirical Software Engineering
IF:
3.6
论文数:
2.0K
被引数:
5.3K

机构

U
University of Salerno
学者数:
1.2W
论文数: 1.1W
被引数: 1.2W
T
Tampere University
学者数:
1.4W
论文数: 1.3W
被引数: 1.4W
引用论文

引用论文

Combustor Miniaturization with Liquid-Fuel Filming
err2003-11-11
err0
PREAI
errSimone Stanchi; Derek Dunn-Rankin; William Sirignano
err分享
err收藏
err分享
err收藏
Popping Balloons: A Case Study of Dynamical Fragmentation
err2015-10-30
err0
PREAI
errSébastien Moulinet; Mokhtar Adda-Bedia
err分享
err收藏
Diverticula of the bladder in children
err1978-01-01
err0
PREAI
errMaria Ines Boechat; R. L. Lebowitz
err分享
err收藏
Surgical treatment of undescended testes
err2007-03-23
err0
errOAAI
errJ Thorup; S Haugen; C Kollin; S Lindahl; G Läckgren; A Nordenskjold; S Taskinen
err分享
err收藏
学者 查看更多内容