一种面向对象多态复杂性的度量方法  被引量:2

Measurement of complexity of object-oriented polymorphism

在线阅读下载全文

作  者:曾一[1] 李娟[1] 郭英君[1] 吴光金[2] 

机构地区:[1]重庆大学计算机学院,重庆400044 [2]重庆市农村商业银行科技部,重庆400020

出  处:《计算机应用研究》2009年第6期2336-2339,共4页Application Research of Computers

摘  要:提出了一种类级多态复杂性和系统级多态复杂性的度量方法。该方法对强制多态、重载多态、类型参数化多态和包含多态这四种类型的多态进行分析,得出反映类的多态复杂性的量度,即强制多态复杂性(CCPP)、重载复杂性(CMC)、参数多态复杂性(CPMP)、包含多态复杂性(CCTP);然后通过整合得到度量系统级的多态复杂性。实验证明,该方法能够正确有效地度量面向对象软件的多态复杂性。This paper analyzed mandatory polymorphism, override polymorphism, type parameters polymorphism and inclusive polymorphism and then obtained four metrics reflecting the class level polymorphism complexity : CCPP( complexity of compel polymorphism ), CMC (complexity of method overload), CPMP( complexity of parameter polymorphism), CCTP( complexity of contain polymorphism). The measurement method of system level polymorphism' s complexity could be gained by synthesizing these metrics. Experiments show that this method can measure the polymorphism complexity of object-oriented software effectively.

关 键 词:面向对象 多态 度量 复杂性 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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