首页> 外文期刊>IEEE Transactions on Software Engineering >Fragment class analysis for testing of polymorphism in Java software
【24h】

Fragment class analysis for testing of polymorphism in Java software

机译:用于在Java软件中测试多态性的片段类分析

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

摘要

Testing of polymorphism in object-oriented software may require coverage of all possible bindings of receiver classes and target methods at call sites. Tools that measure this coverage need to use class analysis to compute the coverage requirements. However, traditional whole-program class analysis cannot be used when testing incomplete programs. To solve this problem, we present a general approach for adapting whole-program class analyses to operate on program fragments. Furthermore, since analysis precision is critical for coverage tools, we provide precision measurements for several analyses by determining which of the computed coverage requirements are actually feasible for a set of subject components. Our work enables the use of whole-program class analyses for testing of polymorphism in partial programs, and identifies analyses that potentially are good candidates for use in coverage tools.
机译:在面向对象的软件中测试多态性可能需要覆盖接收者类和目标方法在呼叫站点的所有可能的绑定。衡量此覆盖范围的工具需要使用类分析来计算覆盖范围要求。但是,当测试不完整的程序时,不能使用传统的整个程序类分析。为了解决此问题,我们提出了一种通用方法,用于使整个程序类分析适应于程序片段。此外,由于分析精度对于覆盖率工具至关重要,因此我们通过确定计算出的覆盖率要求对于一组主题组件实际上是可行的,从而为几种分析提供了精确度。我们的工作使得可以使用全程序类分析来测试部分程序中的多态性,并确定可能是覆盖工具中很好使用的分析。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号