Hierarchy model of object-oriented program metrics
Zou Peng-tao · Jisuanji gongcheng yu sheji · 2004
A complexity metrics of a program can be used to analyze quantitatively the complexity of a program; therefore, the cost of a program can be estimated. In order to measure the complexity of an object-oriented program, a hierarchy model of object-oriented program complexity metrics is proposed after the definition of metrics and fundamental theory are discussed. The hierarchy is divided into 5 layers: system layer, class cluster layer, class hierarchical tree layer, class layer, and method layer. Different metrics methods are needed for different layers. The benefits of a hierarchy model consist of the following: it is a framework with different metric methods in different layers; the layers are independent from each other, the modification of a layer does not affect the other layers.