【24h】

The Impact of Equivalent Mutants

机译:等价突变体的影响

获取原文

摘要

If a mutation is not killed by a test suite, this usually means that the test suite is not adequate. However, it may also be that the mutant keeps the programpsilas semantics unchanged-and thus cannot be detected by any test.We found such equivalent mutants to be surprisingly common: In an experiment on the JAXEN XPATH query engine, 8/20 = 40% of all mutations turned out to be equivalent. Worse, checking the equivalency took us 15 minutes for a single mutation. Equivalent mutants thus make it impossible to automatically assess test suites by means of mutation testing. To identify equivalent mutants, we are currently investigating the impact of a mutation on the execution: the more a mutation alters the execution, the higher the chance of it being non-equivalent. First experiments assessing the impact on code coverage are promising.
机译:如果某个突变没有被测试套件杀死,则通常意味着该测试套件不足。但是,也可能是该突变体保持了程序语言的语义不变,因此无法通过任何测试进行检测。我们发现这样的等效突变体出奇地常见:在JAXEN XPATH查询引擎上的实验中,8/20 = 40%结果证明所有突变都是等效的。更糟糕的是,检查等效性仅花费了我们15分钟的单个突变。因此,等效的突变体使得不可能通过突变测试自动评估测试套件。为了识别等效的突变体,我们目前正在研究突变对执行的影响:突变对执行的改变越多,其不等效的机会就越大。第一个评估对代码覆盖率影响的实验很有希望。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号