Expand description
high-fan-in native rule — flags files that are imported by too many other files.
High fan-in is a structural design smell: a file with many dependents is a fragile shared dependency — any change to its interface ripples across the codebase.
Requires the structural index (normalize structure rebuild).
§Configuration
[rules.rule."high-fan-in"]
threshold = 15 # default: 20Functions§
- build_
high_ fan_ in_ report - Build a
DiagnosticsReportfor thehigh-fan-inrule.