首页> 外文会议>IEEE International Conference on Software Testing, Verification and Validation >Interpreting Coverage Information Using Direct and Indirect Coverage
【24h】

Interpreting Coverage Information Using Direct and Indirect Coverage

机译:使用直接和间接覆盖来解释覆盖范围信息

获取原文
获取外文期刊封面目录资料

摘要

Because of the numerous benefits of tests, developers often wish their applications had more tests. Unfortunately, it is challenging to determine what new tests to add in order to improve the quality of the test suite. A number of approaches, including numerous coverage criteria, have been proposed by the research community to help developers focus their limited testing resources. However, coverage criteria often fall short of this goal because achieving 100% coverage is often infeasible, necessitating the difficult process of determining if a piece of uncovered code is actually executable, and the criteria do not take into account how the code is covered. In this paper, we propose a new approach for interpreting coverage information, based on the concepts of direct coverage and indirect coverage, that address these limitations. We also presents the results of an empirical study of 17 applications that demonstrate that indirectly covered code is common in real world software, faults in indirectly covered code are significantly less likely to be detected than faults located in directly covered code, and indirectly covered code typically clusters at the method level. This means that identifying indirectly covered methods can be effective at helping testers improve the quality of their test suites by directing them to insufficiently tested code.
机译:由于测试的许多好处,开发者往往希望他们的应用程序有更多的测试。不幸的是,它是具有挑战性的,以确定哪些新的测试,以提高测试套件的质量增加。有多种方法,其中包括众多覆盖准则,提出了研究界以帮助开发人员关注其有限的测试资源。然而,覆盖准则往往达不到这个目标,因为实现100%的覆盖率往往是不可行的,因此需要确定一块裸露的代码实际上是可执行的艰难过程,以及标准不考虑代码是如何覆盖。在本文中,我们提出了基于直接覆盖和间接覆盖的概念解释的覆盖信息的新方法,解决这些限制。我们还提出了17个应用进行了实证研究的结果表明,间接覆盖的代码是在现实世界中的软件常见,间接覆盖的代码错误是显著不太可能比位于直接覆盖代码故障进行检测,并间接覆盖的代码通常簇在方法级别。这意味着识别间接覆盖方法可帮助测试有效通过将其引导到测试不充分代码改善他们的测试套件的质量。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号