首页> 外文会议>Empirical software engineering and verification. >Is Branch Coverage a Good Measure of Testing Effectiveness?
【24h】

Is Branch Coverage a Good Measure of Testing Effectiveness?

机译:分支机构覆盖率是否是测试有效性的良好衡量标准?

获取原文
获取原文并翻译 | 示例

摘要

Most approaches to testing use branch coverage to decide on the quality of a given test suite. The intuition is that covering branches relates directly to uncovering faults. The empirical study reported here applied random testing to 14 Eiffel classes for a total of 2520 hours and recorded the number of uncovered faults and the branch coverage over time. For the tested classes, (1) random testing reaches 93% branch coverage (2) it exercises almost the same set of branches every time, (3) it detects different faults from execution to execution, (4) during the first 10 minutes of testing, while branch coverage increases rapidly, there is a strong correlation between branch coverage and the number of uncovered faults, (5) over 50% of the faults are detected at a time where branch coverage hardly changes, and the correlation between branch coverage and the number of uncovered faults is weak. These results provide evidence that branch coverage is not a good stopping criterion for random testing. They also show that branch coverage is not a good indicator for the effectiveness of a test suite.
机译:大多数测试方法都使用分支覆盖范围来确定给定测试套件的质量。直觉是,覆盖分支与发现故障直接相关。此处报告的经验研究对14个Eiffel类进行了总共2520小时的随机测试,并记录了随时间推移未发现的断层数和分支覆盖范围。对于已测试的类,(1)随机测试达到93%的分支覆盖率;(2)每次都执行几乎相同的分支集;(3)从执行到执行,它检测到不同的错误;(4)在测试的前10分钟内测试中,尽管分支覆盖率迅速增加,但是分支覆盖率与未发现故障的数量之间存在很强的相关性。(5)在分支覆盖率几乎不变的时候检测到超过50%的故障,并且分支覆盖率与未发现的故障数量很少。这些结果提供了证据,表明分支机构的覆盖范围不是随机测试的良好停止标准。他们还表明,分支机构的覆盖范围不是测试套件有效性的良好指标。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号