Technique · Static analysis
Complexity limits
Measures cyclomatic complexity, function length and nesting and fails when a change pushes a function past a limit.
Sub-techniques
-
Complexity thresholds
V1012.001Per-function limits on cyclomatic or cognitive complexity.
-
Size budgets
V1012.002Limits on function, file and parameter counts.