Java Developer Tools

Metrics - Details - Dependency

This group contains metrics that measure the responsibility, independency, and stability of a body of code.

Abstractness

This is the ratio of the number of abstract types (abstract classes and interfaces) in the target elements to the total number of types in the target elements.

This metric includes a breakdown based on whether the type is abstract or concrete.

Applicability

This metric can be computed for any type container.

Afferent Couplings

This is the number of types outside the target elements that depend on types inside the target elements.

Applicability

This metric can be computed for any type container.

Distance

This is the normalized distance of the target elements from the main sequence. The normalized distance is computed by

[Abstractness] + [Instability] - 1.

Applicability

This metric can be computed for any type container.

Parameters

Maximum distance from mean
Causes the metric to flag any projects or packages with too great a distance from the mean.

Efferent Couplings

This is the number of types inside the target elements that depend on types outside the target elements.

Applicability

This metric can be computed for any type container.

Parameters

Maximum types with external references
Causes the metric to flag any projects or packages with too many types with external references.

Instability

This is the amount of instability within the target elements. The instability is computed by

[Efferent Couplings] / ([Afferent Couplings] + [Efferent Couplings]).

Applicability

This metric can be computed for any type container.

Authentication required

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

Signing you in...

Google Developers needs your permission to do that.