Cyclomatic complexity per function
analyze_complexityIdentify complex functions in a source file by approximating cyclomatic complexity, sorted worst-first to prioritize refactoring.
Instructions
Approximate cyclomatic complexity (1 + decision points: if/loops/case/catch/&&/||/ternary) per function in a source file, worst first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | file path | |
| language | No | override language inference |