6.2.11.13. OOPMetricsΒΆ

Metrics for object-oriented systems

Nested Rules

Metric-Coupling

Coupling between classes, routines, etc.

Metric-InverseCoupling

Inverse coupling between classes, routines, etc.

Metric-OO.CBO

Coupling between object classes

Metric-OO.CBOa

Coupling between objects (excluding ancestors)

Metric-OO.CBOs

Coupling between objects (excluding statics)

Metric-OO.DAC

Data abstraction coupling

Metric-OO.DIT

Depth of Inheritance Tree

Metric-OO.LCOM

Lack of cohesion in methods

Metric-OO.LCOM4

Lack of cohesion in methods

Metric-OO.LCOMs

Lack of cohesion in non-static methods

Metric-OO.NIVOC

Number of invocations

Metric-OO.NOA

Number of ancestor classes

Metric-OO.NOCC

Number of child classes

Metric-OO.NOFA

Number of fields added

Metric-OO.NOMA

Number of methods added

Metric-OO.NOMO

Number of methods overridden

Metric-OO.NOPC

Number of parent classes

Metric-OO.RFC

Response for a class

Metric-OO.WMC.McCabeComplexity

Weighted Methods per Class based on McCabe Complexity

Metric-OO.WMC.One

Weighted Methods per Class based on 1

Options