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

面向Java语言的进化测试中分支依赖图的构建
引用本文:艾丽蓉,赵庆兰,刘西洋,刘洋,刘鹤辉.面向Java语言的进化测试中分支依赖图的构建[J].计算机科学,2006,33(7):249-252.
作者姓名:艾丽蓉  赵庆兰  刘西洋  刘洋  刘鹤辉
作者单位:1. 西北工业大学计算机学院,西安710072
2. 西安电子科技大学软件工程研究所,西安710071
摘    要:在面向对象程序的进化测试中,面向对象程序本身的状态特性使得一个分支的到达需要一定长度方法调用序列的执行,而封装特性则使得在一个对象外部无法直接调用其private方法或者protected方法。针对这两个问题,采用基于蚁群算法和遗传算法的动态搜索与静态分析相结合的方式提供了一种有效的思路。本文针对这种思路中的静态分析过程提出分支依赖图的概念,并设计、实现了针对Java语言的方法内分支依赖图以及类的分支依赖图的构建算法。

关 键 词:进化测试  状态问题  分支依赖

Construction of Branch Dependence Graph in Evolutionary Testing for Java
AI Li-Rong,ZHAO Qing-Lan,LIU Xi-Yang,LIU Yang,LIU He-Hui.Construction of Branch Dependence Graph in Evolutionary Testing for Java[J].Computer Science,2006,33(7):249-252.
Authors:AI Li-Rong  ZHAO Qing-Lan  LIU Xi-Yang  LIU Yang  LIU He-Hui
Abstract:In evolutionary testing,the execution of a sequence of method invocations is required to cover a given branch for the state characteristic of object-oriented programs,and private/protected methods can't be invocated directly because of the encapsulation.An effective solution to the both problems is to combine static analysis with dynamic search based on ant colony algorithm and genetic algorithm.Aiming at the static analysis in this approach,in this paper,the conception of Branch Dependence Graph(BDG)is proposed,and algorithm for constructing the BDG for Java is given.
Keywords:Evolutionary testing  State problem  Branch dependence
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机科学》浏览原始摘要信息
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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