CodeQL library for C#
codeql/csharp-all 0.4.4 (changelog, source)
Search

Predicate afferentCoupling

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

Import path

import semmle.code.csharp.metrics.Coupling
predicate afferentCoupling(ValueOrRefType t, int ca)