Skip to main content

Module complexity

Module complexity 

Source
Expand description

Complexity engine. Flags functions whose cyclomatic or cognitive complexity exceeds a threshold. (Churn × complexity hotspot ranking — the unfilled FOSS Python niche — is planned via git log --numstat; PLAN.md §3.5.)

Constants§

DEFAULT_COGNITIVE
DEFAULT_CYCLOMATIC
Default thresholds (tunable via config later).

Functions§

analyze
analyze_with