检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[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[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.204