Java Developer Tools

Metrics - Details - Inheritance

This group contains metrics based on the inheritance structure of the code.

Average Depth of Inheritance Hierarchy

This is the average depth of the types defined in the target elements. The depth of an interface is defined to be one (1). The depth of the class java.lang.Object is defined to be one (1). The depth of any other class is defined to be one more than the depth of its superclass.

Applicability

This metric can be computed for any type or type container.

Parameters

Maximum average value
Causes the metric to flag any projects or packages with too much depth in the inheritance hierarchy.

Average Number of Subtypes

This is the average number of subtypes for the types defined in the target elements.

Applicability

This metric can be computed for any type or type container.

Parameters

Maximum average value
Causes the metric to flag any projects or packages containing types that have too many subtypes.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.