机构地区: 武汉理工大学计算机科学与技术学院
出 处: 《计算机应用与软件》 2007年第6期152-153,186,共3页
摘 要: 针对CK度量组存在的缺陷,改进了“每类加权方法数”、“继承树深度”、“每个类的孩子数”,并给出了相应公式。对CK度量组补充了封装性、多态性的度量。对CK度量组的应用进行了分析。 To overcome the flaws of the CK Metrics Suite,Weighted Methods per Class is divided into three parts to facilitate the calculation of the method inherited from the base class into WMC, Depth of Inheritance Tree is imoroved, which takes multiple inheritance into account, and the number of undirected inherited children is added to Number of Children. Metrics to measure encapsulation and polymorphism were supplemented to the CK Metrics Suite. The application of the CK Metrics Suite was analyzed.
领 域: [自动化与计算机技术] [自动化与计算机技术]