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

对象级粗粒度切片方法
引用本文:柴玉梅,刘东昊,王黎明.对象级粗粒度切片方法[J].计算机工程与设计,2012,33(3):987-990.
作者姓名:柴玉梅  刘东昊  王黎明
作者单位:郑州大学信息工程学院,河南郑州,450001
摘    要:基于面向对象程序的对象间语义级关系,提出了一种对象级粗粒度切片方法,用于解决以往传统程序切片构造过程复杂,切片结构庞大,可理解性不强等问题.该方法并非基于传统的程序依赖图或系统依赖图,而是建立在对象间的关联、组合等语义级关系的基础之上.依据对象间语义级关系构造程序的对象图,在对象图的基础上获取程序的前向对象级粗粒度切片和后向对象级粗粒度切片,并结合了对象间的组合关系使得所得后向对象级粗粒度切片更加精简.

关 键 词:程序切片  面向对象  对象级切片  粗粒度切片  无定型切片

Coarse-grained object-level slicing method
CHAI Yu-mei , LIU Dong-hao , WANG Li-ming.Coarse-grained object-level slicing method[J].Computer Engineering and Design,2012,33(3):987-990.
Authors:CHAI Yu-mei  LIU Dong-hao  WANG Li-ming
Affiliation:(School of Information Engineering,Zhengzhou University,Zhengzhou 450001,China)
Abstract:Based on the semantic level relationships between objects of object-oriented programming,a coarse-grained object-level slicing method is proposed to solve the problem that the traditional program slicing encountered,like difficult to build,result is huge,intelligibility is not obvious and so on.This method is not based on the traditional program dependence graph or system dependence graph,but on two kinds of semantic level relationships between objects,association relationships and composition relationships.Firstly,object graph is constructed according the semantic level relationship between objects,then the coarse-grained object-level forward slicing and the coarse-grained object-level backward slicing are created based on object graph,at last the coarse-grained object-level backward slicing is simplified using the composition relationships of objects.
Keywords:program slicing  object-oriented  object-level slicing  coarse-grained slicing  amorphous slicing
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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