首页> 外文会议>IEEE/ACM International Workshop on Automation of Software Test >The Impact of Fault Type on the Relationship between Code Coverage and Fault Detection
【24h】

The Impact of Fault Type on the Relationship between Code Coverage and Fault Detection

机译:故障类型对代码覆盖与故障检测关系的影响

获取原文

摘要

Structural coverage criteria are commonly used to determine the adequacy of a test suite. However, studies investigating structural coverage and fault-finding capabilities have mixed results. Some studies have shown generating test suites to satisfy structural coverage criteria has a positive effect on finding faults, while other studies show the opposite. These mixed results indicate there are factors not yet known that affect the ability of test suites satisfying structural coverage criteria to find faults. In order to improve the fault-finding capabilities of test suites, it is essential to understand what factors are causing this variance. Unfortunately very little work has been done to investigate the variance observed in the relationship between structural coverage criteria and fault-finding capabilities. In this paper, we investigate one possible source of variation in the results observed: fault type. We provide an empirical study which narrows down the focus of the relationship between structural coverage and fault-finding capabilities by focusing on object-oriented bugs. Specifically, we investigated 26 different types of object-oriented faults and evaluated how effectively test suites with high coverage percentages were able to detect each type of fault. We found that a test suite's ability to find faults varied significantly according to the type of fault (ranging from a rate of 0% to 87.5% mutants detected per fault type. We also found there are particular types of faults that were consistently found less frequently across all object programs.
机译:结构覆盖标准通常用于确定测试套件的充分性。然而,研究调查结构覆盖和故障发现能力的研究具有混合结果。一些研究表明,为满足结构覆盖标准的测试套件显示了对发现故障的积极影响,而其他研究表明相反。这些混合结果表明存在尚未知道的因素,这影响了满足结构覆盖标准的测试套件能够找到故障的能力。为了提高测试套件的故障查找能力,必须了解导致这种方差的因素是必不可少的。不幸的是,已经很少工作来调查结构覆盖标准和故障发现能力之间的关系中所观察到的方差。在本文中,我们研究了观察到的结果的一个可能的变化来源:故障类型。我们提供了一个实证研究,通过专注于面向对象的错误,缩小了结构覆盖和故障发现能力之间的关系的重点。具体而言,我们调查了26种不同类型的面向对象的故障,并评估了如何有效的测试套件具有高覆盖百分比的测试套件能够检测到每种类型的故障。我们发现测试套件发现故障的能力显着根据故障类型(从每次故障类型检测到的0%至87.5%突变体的速率范围。我们还发现了特殊类型的故障始终如一地发现跨所有对象程序。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号