CodeQL library for C#
codeql/csharp-all 0.9.0 (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)