一种基于结构熵的类内聚度度量方法  被引量:8

Approach to measurement of class cohesion based on structure entropy

在线阅读下载全文

作  者:郁湧[1] 唐家华[1,2] 李文宏[1,3] 李彤[1] 

机构地区:[1]云南大学软件学院,云南昆明650091 [2]云南省教育厅发展规划处,云南昆明650223 [3]云南省公安厅信息通讯处,云南昆明650021

出  处:《系统工程与电子技术》2009年第3期702-704,共3页Systems Engineering and Electronics

基  金:云南省科技厅面上项目资助课题(2007F008M,08Z0011)

摘  要:内聚度是指模块内各成分之间的联结强度。在面向对象软件系统中,内聚度主要是指类内部的属性和方法之间的联结强度。在类依赖图的基础上,提出了一种基于结构熵类内聚度度量方法,从类的属性与属性、属性与方法和方法与方法之间依赖关系3个方面对类的内聚度进行度量。并综合以上3种内聚度给出了一个类内聚度的度量方法,为评价类的内聚度提供了指南。The cohesion represents the tight degree of the components of a software module. In an objectoriented environment, the cohesion means the tight degree among the attributes and methods in a class. Based on the class dependence graph and structure entropy, a new method is proposed to measure the cohesion of a class. This method measures the cohesion between attributes and attributes, attributes and methods, methods and methods of a class. The proposed method provides a guideline for evaluating the cohesion of a class.

关 键 词:面向对象 结构熵 内聚度 软件度量 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象