CodeQL library for Java/Kotlin
codeql/java-all 4.0.1-dev (changelog, source)
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()