Expand description
Cyclomatic complexity via tree-sitter (decision-point counting).
Uses the same structural chunk roots as super::chunks_ts and walks each function-like
subtree, skipping nested function bodies so inner items get their own scores.
Structs§
- Function
Complexity - McCabe-style complexity for one function-like root (minimum 1).
Functions§
- cyclomatic_
per_ function - AST-backed cyclomatic complexity for every function-like node under structural chunks.