首页> 外文OA文献 >Undefined Behaviour in Mutation Testing
【2h】

Undefined Behaviour in Mutation Testing

机译:突变测试中未定义的行为

摘要

Mutation testing is used to evaluate the quality of a test suite by measuring how well the test suite detects systematically seeded faults (mutants). However, in the C programming language, the created mutants may introduce undefined behaviour. Such a mutant has no meaning and thus cannot meaningfully be reported as either detected or undetected by mutation testing. This introduces two problems. First, it increases the number of mutants that must be considered for mutation testing. Second, it creates a potential for bias in the mutation score when mutants with undefined behavior count toward the number of detected or undetected mutants. This thesis makes contributions toward identifying the ways in which traditional mutation testing mechanisms may lead to undefined behavior. It furthermore introduces automated analyses for statically detecting mutants that cause undefined behavior so that they can be filtered out ahead of time. A proof of concept implementation using Clang and LLVM validates that these techniques work for real world programs in the C programming language.
机译:变异测试用于通过评估测试套件检测系统地植入的故障(变异)的程度来评估测试套件的质量。但是,在C编程语言中,创建的变量可能会引入不确定的行为。这样的突变体没有意义,因此不能有意义地报告为通过突变测试检测到或未检测到。这引入了两个问题。首先,它增加了突变测试必须考虑的突变体数量。其次,当具有不确定行为的突变体计入检测到的或未检测到的突变体的数量时,它会在突变评分中产生偏见。本文为确定传统突变测试机制可能导致不确定行为的方式做出了贡献。此外,它还引入了自动分析以静态检测导致不确定行为的突变体,以便可以提前将其过滤掉。使用Clang和LLVM的概念验证实现证明了这些技术适用于使用C编程语言编写的实际程序。

著录项

  • 作者

    Ebrahimipour Mehrnoosh;

  • 作者单位
  • 年度 2016
  • 总页数
  • 原文格式 PDF
  • 正文语种
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号