改进的CK度量套件  被引量:3

Improvement on CK Metrics Suite for Object-Oriented Software

在线阅读下载全文

作  者:李晓航[1] 胡晓鹏[1] 

机构地区:[1]西南交通大学信息科学与技术学院,四川成都610031

出  处:《西南交通大学学报》2008年第1期35-39,共5页Journal of Southwest Jiaotong University

摘  要:为弥补CK套件中每类加权方法数量、继承树深度和方法内聚缺乏度等度量指标的缺陷,提出了如下改进的度量指标:每类加权方法参数复杂性(WMACC)、每类加权方法属性复杂性(WACC)、相对继承树深度(RDIT)、方法内聚性(CM)和封装率(ER).用Java的Util包中的类作为测试数据比较了ICK度量套件和CK套件,结果表明,WMACC和CM更准确地反映了方法的复杂性和内聚性,RDIT更适合于纯面向对象系统的环境.WACC和ER提供了对属性复杂性和封装性的度量.To overcome the shortcomings of CK suite in terms of its metrics, such as WMC ( weighted methods per class), DIT ( depth of inheritance tree), and LCOM ( lack of cohesion in methods) for object-oriented software, an improved CK (ICK) suite was proposed. In the ICK suite, weighted method argument complexity per class (WMACC), weighted attribute complexity per class (WACC), relative DIT (RDIT), cohesion in methods (CM), and encapsulation ratio (ER) were defined. The ICK suite was evaluated and compared with the CK suite using the classes in the Util package of Java, and the results show that WMACC and CM describe the complexity and cohesion of methods better, and RDIT is more suitable for object-oriented software. WACC and ER provide metrics for attribute complexity and performance in encapsulation, respectively.

关 键 词:软件度量 CK套件 软件工程 每类加权方法数量 继承树深度 方法内聚性缺乏度 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象