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

利用约束进行等价突变检测

Using Constraints for Equivalent Mutant Detection

Simona Nica, Franz Wotawa

摘要:

在突变测试中,为了计算正确的突变分数,突变体是否等价于其程序的问题很重要。不幸的是,回答这个问题并不总是可能的,并且很难通过查看程序的结构来获得。在本文中,我们介绍了一种方法来解决等价的突变问题,使用的约束表示的程序和它的突变。特别地,该方法基于区分测试用例,即,测试输入,迫使程序及其突变体以不同的方式运行。除了该方法的基础,在本文中,我们还提出了算法和第一个实证结果。

英文摘要:

In mutation testing the question whether a mutant is equivalent to its program is important in order to compute the correct mutation score. Unfortunately, answering this question is not always possible and can hardly be obtained just by having a look at the program's structure. In this paper we introduce a method for solving the equivalent mutant problem using a constraint representation of the program and its mutant. In particularly the approach is based on distinguishing test cases, i.e., test inputs that force the program and its mutant to behave in a different way. Beside the foundations of the approach, in this paper we also present the algorithms and first empirical results.

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

↑