摘要
针对以往的面向对象系统中的类内聚度量的不足,采用考虑结构因素的类连接内聚度量方法,对基于类的成员连接度的类连接内聚度量CBMC方法进行了改进。为正确地反映面向对象系统中的类内聚,综合考虑了类的特性,这些特性既包括类的组件间的交互模式,也包括类的结构因素。结果表明,能更加正确地反映类的内聚,在实际应用过程中对设计一个良好的类有较好的指导作用。
A new method is presented with the objective of overcoming the shortcomings of the previous class cohesionmetrics in object-oriented systems. The method has improved the CBMCmethod. In order to reflect class cohesion in object-oriented systems, synthetically take into account of the characteristics of classes. It includes not only members' interaction modes of a class, but also its structure factor. Results show that the is effective in class design practice.
出处
《华北电力大学学报(自然科学版)》
CAS
北大核心
2004年第2期83-86,共4页
Journal of North China Electric Power University:Natural Science Edition