\label{tab:eclipse_metrics}Java class-level code metrics measured by Eclipse Metrics 2 tool
Metric name Metrics
NumberOfOverridenMethods Total number of methods in Java class that are overridden from an ancestor class
NumberOfAttributes Total number of Java class’ attributes
NumberOfChildren Total number of Java class’ direct subclasses
NumberOfMethods Total number of methods in Java class
DepthOfInheritanceTree In the inheritance hierarchy, distance from Java class object
LackOfCohesionOfMethods Cohesiveness of a Java class calculated with the Henderson-Sellers method
NumberOfStaticMethods Total number of static methods in Java class
SpecializationIndex Relation between number of methods and depth of inheritance tree
WeightedMethodsPerClass Sum of the cyclomatic complexity measured for all methods in Java class
NumberOfStaticAttributes Total number of Java class’ static attributes