arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2208.07574cs.SEcs.LG
收藏

基于机器学习的测试气味检测

Machine Learning-Based Test Smell Detection

University of Salerno(萨勒诺大学);Tampere University(坦佩雷大学)

Valeria Pontillo, Dario Amoroso d'Aragona, Fabiano Pecorelli, Dario Di Nucci, Filomena Ferrucci, Fabio Palomba

摘要:

测试气味是开发测试用例时采用的次优设计选择的症状。已有的研究已经证明了它们对测试代码的可维护性和有效性的危害。因此,研究人员一直在提出自动化的、基于电子学的技术来检测它们。然而,这样的检测器的性能仍然是有限的,并且取决于要调谐的阈值。目的:设计并实验了一种基于机器学习的气味检测方法。方法:我们计划开发最大的人工验证测试气味数据集。该数据集将用于训练六个机器学习器,并评估他们在项目内和跨项目场景中的能力。最后,我们计划将我们的方法与最先进的基于几何学的技术进行比较。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑