arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.01873cs.SE
收藏

潜在变异体:关于变异测试与软件演化之间相互作用的大规模研究

Latent Mutants: A large-scale study on the Interplay between mutation testing and software evolution

Jeongju Sohn, Ezekiel Soremekun, Michail Papadakis

AI总结:

本文通过跨版本变异测试提出“潜在变异体”概念,分析其在13个开源项目中的表现,并利用随机森林以86%准确率实现有效预测。

摘要:

在本文中,我们以一种及时的方式应用变异测试,即跨越多个项目版本。因此,我们研究当前版本的变异体在程序的未来版本中如何表现。我们研究我们称之为潜在变异体的特征,即在一个版本中存活而在后续修订中被杀死的变异体,并探索它们是否可以通过这些属性被预测。我们检查了由Pitest在13个开源项目上生成的131,308个变异体。这些变异体中约11.2%是存活的,其中3.5%是潜在变异体,平均在104天后显现。利用变异算子和与变更相关的特征,我们成功证明了这些潜在变异体是可识别的,使用简单的随机森林分类器以86%的准确率和67%的平衡准确率对它们进行预测。

英文摘要:

In this paper we apply mutation testing in an in-time fashion, i.e., across multiple project releases. Thus, we investigate how the mutants of the current version behave in the future versions of the programs. We study the characteristics of what we call latent mutants, i.e., the mutants that are live in one version and killed in later revisions, and explore whether they are predictable with these properties. We examine 131,308 mutants generated by Pitest on 13 open-source projects. Around 11.2% of these mutants are live, and 3.5% of them are latent, manifesting in 104 days on average. Using the mutation operators and change-related features we successfully demonstrate that these latent mutants are identifiable, predicting them with an accuracy of 86% and a balanced accuracy of 67% using a simple random forest classifier.

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

↑