check_complexity
Analyze Python function cyclomatic complexity to identify code that may be difficult to maintain or test, helping developers refactor complex logic.
Instructions
Analyze cyclomatic complexity of Python functions
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_complexity | No | Maximum allowed complexity, 0 = no limit (default: 0) | |
| min_complexity | No | Minimum complexity to report (default: 1) | |
| path | Yes | Path to Python code to analyze | |
| show_details | No | Include detailed metrics (default: true) |