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

一种基于结构熵的类内聚度度量方法
引用本文:郁湧,唐家华,李文宏,李彤.一种基于结构熵的类内聚度度量方法[J].系统工程与电子技术,2009,31(3):702-704.
作者姓名:郁湧  唐家华  李文宏  李彤
作者单位:1. 云南大学软件学院, 云南, 昆明, 650091;2. 云南省教育厅发展规划处, 云南, 昆明, 650223;3. 云南省公安厅信息通讯处, 云南, 昆明, 650021
基金项目:云南省科技厅面上项目 
摘    要:内聚度是指模块内各成分之间的联结强度。在面向对象软件系统中,内聚度主要是指类内部的属性和方法之间的联结强度。在类依赖图的基础上,提出了一种基于结构熵类内聚度度量方法,从类的属性与属性、属性与方法和方法与方法之间依赖关系3个方面对类的内聚度进行度量。并综合以上3种内聚度给出了一个类内聚度的度量方法,为评价类的内聚度提供了指南。

关 键 词:面向对象  结构熵  内聚度  软件度量
收稿时间:2007-11-06
修稿时间:2008-05-27

Approach to measurement of class cohesion based on structure entropy
YU Yong,TANG Jia-hua,LI Wen-hong,LI Tong.Approach to measurement of class cohesion based on structure entropy[J].System Engineering and Electronics,2009,31(3):702-704.
Authors:YU Yong  TANG Jia-hua  LI Wen-hong  LI Tong
Institution:1. School of Software, Yunnan Univ., Kunming 650091, China;2. Developing and Planning Division of Yunnan Provincial Department of Education, Kunming 650223, China;3. Communication Division of Yunnan Provincial Department of Public Security, Kunming 650021, China
Abstract:The cohesion represents the tight degree of the components of a software module.In an object-oriented 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.
Keywords:
本文献已被 万方数据 等数据库收录!
点击此处可从《系统工程与电子技术》浏览原始摘要信息
点击此处可从《系统工程与电子技术》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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