3,167-Line God Function Metrics
- Entity ID:
ent-20260419-77cbb6b979b1 - Type:
concept - Scope:
shared - Status:
active - Aliases: god function cyclomatic profile
Description
Quantified signature of the single largest function in Claude Code: 3,167 lines, 486 branch points, 12 levels of nesting — the canonical example of velocity-pressure code accretion.
Key claims
- Velocity-pressure pattern is diagnostic, not unusual
- A single 3,167-line function has 486 branch points and 12 nesting levels
- print.ts 3,167-line function and query.ts 1,421-line while loop are the canonical god-function examples
Relations
- 3,167-Line God Function Metrics --[related_to]--> tt() Function