摘要
面向对象的程序切片在程序分析、程序理解、软件测试和调试以及软件维护方面有着广泛的用途 .首先建立了抽象数据切片和类内切片的概念 ,然后基于这两种切片讨论了 JAVA语言中存在的内聚问题 ,通过分析这些切片与数据、方法、类之间的关系来度量数据、方法以及类的内聚性问题 .
Object-Oriented program slicing technique is widely used in program analysis, program comprehension, software testing, and software maintenance etc. In this paper, the basic concepts of abstract data slice and intra-class slice are created at first. Then, the cohesion existing in JAVA language is discussed based on these slices. Finally, the data cohesion, method cohesion and class cohesion are presented and solved by analyzing the relationship between these slice and data, method or class.
出处
《软件学报》
EI
CSCD
北大核心
2001年第12期1851-1858,共8页
Journal of Software
基金
国家 8 6 3青年基金资助项目 (86 3- 30 6 - QN2 0 0 0 - 2 )~~