首页> 外文会议>International Conference on Information Technology: New Generations;ITNG '09 >A Dependence Graph-Based Test Coverage Analysis Technique for Object-Oriented Programs
【24h】

A Dependence Graph-Based Test Coverage Analysis Technique for Object-Oriented Programs

机译:面向对象程序的基于依赖图的测试覆盖率分析技术

获取原文

摘要

We propose a novel test coverage analysis technique for object-oriented programs. Our technique consists of three phases: graph construction, instrumentation, and coverage analysis. In the graph construction phase, the source program is converted into a dependence graph-based representation, named Call-based Object-Oriented System Dependence Graph (COSDG). In the instrumentation phase, the source code is instrumented at specific points. During the coverage analysis phase, the instrumented source code is executed for different test inputs, and the edges of COSDG are marked by the graph marker. Various coverage measures are computed from the marked COSDG by the coverage analyzer to finally produce a coverage report. Inheritance and polymorphic coverage are considered in addition to traditional coverage measures.
机译:我们为面向对象的程序提出了一种新颖的测试覆盖率分析技术。我们的技术包括三个阶段:图形构建,检测和覆盖分析。在图构建阶段,源程序将转换为基于依赖图的表示形式,称为基于调用的面向对象的系统依赖图(COSDG)。在检测阶段,将在特定位置检测源代码。在覆盖率分析阶段,将为不同的测试输入执行检测到的源代码,并通过图形标记来标记COSDG的边缘。覆盖率分析器根据标记的COSDG计算出各种覆盖率度量,以最终生成覆盖率报告。除了传统的覆盖措施,还考虑了继承和多态覆盖。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号