CodeQL library for Java/Kotlin
codeql/java-all 1.1.2-dev (changelog, source)

Member predicate MetricPackage::getEfferentCoupling

Efferent Coupling (outgoing dependencies)

The efferent coupling of a package is the number of types inside this package that depend on types outside this package.

A high efferent coupling indicates that it may be advisable to merge this package with others.

Efferent coupling of packages is also used to define other package metrics, such as the instability metric.

int getEfferentCoupling()