节点文献

一种基于切片技术度量Java耦合性的框架

A Framework for Measuring Java Couple Based on Program Slicing Technique

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 李必信杨朝晖谭毅朱平李宣东郑国梁

【Author】 LI Bi Xin 1),2) YANG Zhao Hui 1) TAN Yi 1) ZHU Ping 1) LI Xuan Dong 1) ZHENG Guo Liang 1) 1) (State Key Laboratory for Novel Software Technology, Nanjing University, Nanjing 210093) 2) (Department

【机构】 南京大学计算机软件新技术国家重点实验室!南京210093中国科学技术大学计算机科学与技术系合肥230027南京大学计

【摘要】 在研究面向对象的度量问题时 ,人们通过简单的统计方法和基于信息流的方法来度量其中的一些特征 ,例如基本度量、CK度量和 Ao Ki度量等 .文中采用一种基于程序切片的方法来度量 Java的耦合性问题 ,通过对 Java源程序中存在的耦合关系的度量 ,得到了一种比传统方法更精确的耦合度量方法

【Abstract】 Object oriented software metrics is one of the important research directions in software engineering domain, and is widely used in software quality assurement,software testing, and software reuse, etc. Coupling and cohesiveness are two important properties in object oriented software metrics, and we can evaluate software module or system by measuring their coupling and cohesive properties. People usually use basic statistical or information flow method to measure object oriented properties to study object oriented metrics, such as basic metric, CK metrics and Aoki metrics etc, but there are many limitations in these basic methods. Especially, they are faulty in many facets. So we introduce a new measuring method more suitable for object oriented program in this paper. First, we study all coupling relationship existing in Java program source codes, and find that there are three kinds of coupling relationship, i.e., interact coupling, inheritance coupling and component coupling. We find it very suitable to study interact coupling by computing the program slices, so we establish measure equations by the number of elements in the join set or in the union set of the two slices. We measure coupling between two variables,two methods,two classes,or two pakages by computing program slices with respect to them. Then, a new framework based on program slicing technique is introduced to measure coupling in Java. Finally, a kind of more precise object oriented metric method than those based on information flow is obtained by measuring coupling relationship in object oriented programs.

【关键词】 面向对象程序切片耦合度量Java
【Key words】 object-orientationprogram slicingcouplingJava
【基金】 国家“八六三”高技术研究发展计划资助! (863 -3 0 6-QN2 0 0 0 -2 );江苏省自然科学基金! (BK990 3 8)
  • 【文献出处】 计算机学报 ,Chinese Journal of Computers , 编辑部邮箱 ,2001年03期
  • 【分类号】TP311.5
  • 【被引频次】19
  • 【下载频次】228
节点文献中: