|
计算机应用研究 2009
Measurement of complexity of object-oriented polymorphism
|
Abstract:
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 ...