面向对象软件度量C&K方法的研究与改进

An Improvement on C&K Object-Oriented Software Metrics Suite

  • 摘要: 现有面向对象软件度量方法和度量准则的基础上,结合面向对象技术特性,对C&K面向对象度量方法进行了分析和改进,提出了类的复杂性、类的方法个数等类规模的度量指标,以及多继承数深度、继承方法比、继承属性比等类的继承性度量指标,并对这些指标在工程实践中的应用进行了讨论。改进后的度量指标可以有效地补充C&K方法,优化度量结果。

     

    Abstract: Based on the study of object-oriented software measurement and the characteristics of object-oriented technology, some improvements on C&K metrics suite are discussed in this paper. Some new metrics for class size and class hierarchy measurement are presented including complexity per class, number of methods, depth of multi-inheritance tree and number of father etc. Meanwhile, the applications of these improved metrics in software engineering are discussed. All the improvements can supplement C&K metrics and optimize the result of measurement.

     

/

返回文章
返回