首页 | 官方网站   微博 | 高级检索  
     

一种基于依赖性分析的类内聚度度量方法
引用本文:陈振强,徐宝文.一种基于依赖性分析的类内聚度度量方法[J].软件学报,2003,14(11):1849-1856.
作者姓名:陈振强  徐宝文
作者单位:1. 东南大学,计算机科学与工程系,江苏,南京,210096;江苏省,软件质量研究所,江苏,南京,210096
2. 东南大学,计算机科学与工程系,江苏,南京,210096;江苏省,软件质量研究所,江苏,南京,210096;武汉大学,软件工程国家重点实验室,湖北,武汉,430072
基金项目:国家自然科学基金,国家重点基础研究发展规划(973),教育部跨世纪优秀人才培养计划,高等学校博士学科点专项科研基金,江苏省自然科学基金,江苏省科技攻关项目,武汉大学软件工程国家重点实验室开放基金,江苏省计算机信息处理技术重点实验室开放基金(苏州大
摘    要:内聚度是指模块内各成分之间的联结强度.在面向对象程序中,内聚度主要是指类内部各成分之间的联结强度.在深入剖析了类的属性与属性、方法与属性以及方法与方法之间的关系及其性质的基础上,提出了一种基于依赖性分析的内聚度度量方法,并证明了它满足优良的内聚度度量方法应该具有的性质,从而克服了已有方法只是分析了某个方面的不足,为综合评价类内聚度提供了指南。

关 键 词:软件度量  面向对象  程序分析  内聚度
修稿时间:2002年9月25日

An Approach to Measurement of Class Cohesion Based on Dependence Analysis
CHEN Zhen-Qiang,XU Bao-Wen,.An Approach to Measurement of Class Cohesion Based on Dependence Analysis[J].Journal of Software,2003,14(11):1849-1856.
Authors:CHEN Zhen-Qiang    XU Bao-Wen    
Affiliation:CHEN Zhen-Qiang1,2,XU Bao-Wen1,2,3+ 1
Abstract:Cohesion represents the tight degree of the components of a software module. In an OO environment, the cohesion is mainly about the tight degree among the attributes and methods in classes. So it is urgent to fully explore the tight degree among the attributes and methods in classes of the detailed applications in order to make up the deficiency of the existing methods. The relationships between attributes and attributes, attributes and methods, methods and methods of a class, and the properties of these relationships are discussed. According to these properties, a new approach is proposed to measure the cohesion of a class based on a dependence analysis. This method is proved to satisfy the properties that a good measurement should have. The approach overcomes the limitations of the previous class cohesion measures, which consider only one or two of the three relationships in a class. The result of the approach provides a guideline for evaluating the cohesion of a class. ( )-0.1( )]
Keywords:software metrics  object orientation  program analysis  cohesion  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号