| 本文已被:浏览 4404次 下载 5482次 |
 码上扫一扫! |
|
|
| 基于数据切片度量JAVA内聚性 |
|
李必信1, 朱平1, 谭毅1, 李宣东1, 郑国梁1
|
|
南京大学计算机软件新技术国家重点实验室,江苏,南京,210093,中国科学技术大学,计算机科学技术系,安徽,合肥,230056
|
|
| 摘要: |
| 面向对象的程序切片在程序分析、程序理解、软件测试和调试以及软件维护方面有着广泛的用途.首先建立了抽象数据切片和类内切片的概念,然后基于这两种切片讨论了JAVA语言中存在的内聚问题,通过分析这些切片与数据、方法、类之间的关系来度量数据、方法以及类的内聚性问题. |
| 关键词: 抽象数据切片 类内切片 数据类聚 类内聚 JAVA |
| DOI: |
| 分类号: |
| 基金项目:国家863青年基金资助项目(863-306-QN2000-2) |
|
| Measuring JAVA Cohesion Based on Data Slice |
|
LI Bi-xin,ZHU Ping,TAN Yi,LI Xuan-dong,ZHENG Guo-liang
|
| Abstract: |
| 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. |
| Key words: abstract data slice inter-class slice data cohesion class cohesion JAVA |