CodeQL library for Java
Search

Member predicate MetricRefType::getAfferentCoupling

The afferent coupling of a type is the number of types that directly depend on it.

This may also be referred to as the number of (direct) “incoming dependencies” of a type.

int getAfferentCoupling()