首页> 外文会议>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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号