首页 | 本学科首页   官方微博 | 高级检索  
     

面向对象类簇级测试中控制依赖分析方法研究
引用本文:毛澄映,卢炎生. 面向对象类簇级测试中控制依赖分析方法研究[J]. 计算机工程与科学, 2005, 27(8): 65-69
作者姓名:毛澄映  卢炎生
作者单位:华中科技大学计算机科学与技术学院,湖北,武汉,430074;华中科技大学计算机科学与技术学院,湖北,武汉,430074
基金项目:十五国防预研项目(41315.9.2)
摘    要:类簇控制依赖信息是进行类间数据流测试的基础。本文通过克服已有类控制流分析的不足之处,提出了CCFG算法,依照类间测试序,通过分析继承、聚集和关联等类间关系特 征进而增量式地构造类间控制流图(ICCFG算法),并初步探讨了动态控制依赖分析方法。实验表明,上述控制流分析方法可方便地用于类间数据流测试,并能有效地探测定义一使用错误。

关 键 词:类控制流图CCFG  类间控制流图ICCFG  类间关系  数据流测试
文章编号:1007-130X(2005)08-0065-05
修稿时间:2003-12-11

Methods for the Control Dependency Analysis in Object-Oriented Class-Cluster-Level Testing
MAO Cheng-ying,LU Yan-Sheng. Methods for the Control Dependency Analysis in Object-Oriented Class-Cluster-Level Testing[J]. Computer Engineering & Science, 2005, 27(8): 65-69
Authors:MAO Cheng-ying  LU Yan-Sheng
Abstract:The control dependency information of class cluster is the foundation of inter-class dataflow testing. This paper presents a new CCFG algorithm by overcoming some defects of the existing class control flow analysis approaches. According to the inter-class test order, we incrementally construct the inter-class control flow graph by analyzing the characteristics of class relationships such as inheritance, aggregation and association, and propose an algorithm named ICCFG. We also preliminarily discuss the methods of dynamic control dependency analysis. Empirical results show that such approaches for control flow analysis can be expediently used for dataflow testing and can effectively detect the du-pair faults.
Keywords:class control flow graph  inter-class control flow graph  class relationship  dataflow testing
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程与科学》浏览原始摘要信息
点击此处可从《计算机工程与科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号