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

状态依赖的类内聚度量
引用本文:黄万艮,陈松乔.状态依赖的类内聚度量[J].计算机工程与应用,2005,41(30):24-27,161.
作者姓名:黄万艮  陈松乔
作者单位:[1]中南大学信息科学与工程学院,长沙410083 [2]湖南大学会计学院信息管理系,长沙410079
基金项目:国家自然科学基金(编号:P90104028)
摘    要:类是面向对象软件中的模块,包含属性和方法。类内聚度量是对类属性和方法相关程度的度量。通过对类方法和属性的分类及其与类状态之间的关系分析,提出了类核的概念和状态依赖的类内聚度量方法。该方法有利于克服类内聚度量复杂性和判断模糊性问题,并可以在设计阶段对类的内聚进行度量。

关 键 词:  状态  内聚度量  类核
文章编号:1002-8331-(2005)30-0024-04
收稿时间:2005-05
修稿时间:2005-05

Measuring the Class Cohesion Based on State-dependence
Huang Wangen, Cheng Songqiao.Measuring the Class Cohesion Based on State-dependence[J].Computer Engineering and Applications,2005,41(30):24-27,161.
Authors:Huang Wangen  Cheng Songqiao
Affiliation:1.College of Information Science and Engineering,Central South University,Changsha 410083; 2.Information Department of Accounting College,Hunan University,Changsha 410079
Abstract:Classes are the basic modules in a oriented-objected software,which consist of attributes and methods. Measuring the class cohesion is the measuring extent of relativity for the attributes and methods of a class.According to classifying attributes and methods,analyzing their relationships with state graph of the same class,this paper defines the core of a class and proposes a novel approach to measuring the class cohesion based on state-dependence.Our approach not only benefit overcome the judging mistiness and complexity about measuring the class cohesion,but also can be conducted during design.
Keywords:class  state  measuring cohesion  class core
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号