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

使用变分执行寻找高阶突变体

Finding Higher Order Mutants Using Variational Execution

Serena Chen

摘要:

变异测试是一种有效但耗时的测试方法。它通过重复地对源代码进行更改(称为突变体)并检查测试套件是否失败(即,突变体是否被杀死)。最近的研究表明,应用多个变化(称为高阶突变)比单个变化(称为一阶突变)更难杀死。具体来说,一种特殊的高阶变异,称为强包容高阶变异(SSHOM),可以使相同的准确性,在评估测试集的质量与较少的测试执行。人们对这些SSHOM知之甚少,因为它们很难找到。我们在这项研究中的目标是确定一个更快,更可靠的方法来寻找SSHOMs,以便在未来表征它们。我们提出了一种基于变分执行的方法来找到SSHOMs。初步的结果表明,变分执行比现有的遗传算法的速度和结果的完整性。在一组33个一阶突变中,我们的变分执行方法在4.5秒内找到所有38个SSHOM,而遗传算法在50秒内只找到38个SSHOM中的36个。

英文摘要:

Mutation testing is an effective but time consuming method for gauging the quality of a test suite. It functions by repeatedly making changes, called mutants, to the source code and checking whether the test suite fails (i.e., whether the mutant is killed). Recent work has shown cases in which applying multiple changes, called a higher order mutation, is more difficult to kill than a single change, called a first order mutation. Specifically, a special kind of higher order mutation, called a strongly subsuming higher order mutation (SSHOM), can enable equivalent accuracy in assessing the quality of the test suite with fewer executions of tests. Little is known about these SSHOMs, as they are difficult to find. Our goal in this research is to identify a faster, more reliable method for finding SSHOMs in order to characterize them in the future. We propose an approach based on variational execution to find SSHOMs. Preliminary results indicate that variational execution performs better than the existing genetic algorithm in terms of speed and completeness of results. Out of a set of 33 first order mutations, our variational execution approach finds all 38 SSHOMs in 4.5 seconds, whereas the genetic algorithm only finds 36 of the 38 SSHOMs in 50 seconds.

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

↑