首页 | 本学科首页   官方微博 | 高级检索  
     

一种面向对象继承复杂性的综合度量
引用本文:曾一,吴光金.一种面向对象继承复杂性的综合度量[J].计算机工程与应用,2008,44(20):64-66.
作者姓名:曾一  吴光金
作者单位:重庆大学 计算机学院,重庆 400033
摘    要:通过对面向对象系统和当前存在的面向对象度量方法进行分析,提取出与面向对象继承复杂性度量相关的量度。修改并整合这些量度,提出了一种类级继承复杂性和系统级继承复杂性度量方法。经过修改后得出反映继承复杂性的量度有:继承成员个数(NIM)、覆盖成员个数(NOM)、成员名重复数(NRN)、继承路径长度(LIP)、访问方式改变数(NMA)。由此,通过整合可以得到对类级继承复杂性和系统级继承复杂性度量方法。最后,通过与其他度量方法进行比较,说明了该方法对面向对象继承复杂性的度量更为适合。

关 键 词:继承复杂性  量度  度量  合成  
收稿时间:2007-10-9
修稿时间:2008-1-15  

Synthetical measurement of complexity of object-oriented inheritance
ZENG Yi,WU Guang-jin.Synthetical measurement of complexity of object-oriented inheritance[J].Computer Engineering and Applications,2008,44(20):64-66.
Authors:ZENG Yi  WU Guang-jin
Affiliation:College of Computer Science,Chongqing University,Chongqing 400033,China
Abstract:Extract the metrics which are relative to the measurement of oriented-object inheritance by analyzing object-oriented system and existed measurement method of object-oriented.By modifying and recombining these metrics,put forward class level inheritance complexity and system level complexity of inheritance.After modification and recombination,obtain several metrics that reflect the inheritance’s complexity:NIM(Number of Inherited Members),NOM(Number of Overriding Members),NRN(Number of Repeat Names of member),LIP(Length of Inheritance Path),and NMA(Number of Modified Access mode).Therefore,we can find the measurement method of class level inheritance complexity and system level inheritance complexity by synthesizing these metrics.In the end,validate this method by comparing with other measurement methods.
Keywords:complexity of inheritance  measurement  metric  synthesis
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算机工程与应用》浏览原始摘要信息
点击此处可从《计算机工程与应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号