get_complexity
Measure cyclomatic complexity of a function by providing its file path and name. Helps assess code complexity for refactoring decisions.
Instructions
Get cyclomatic complexity of a function.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | path relative to the repo root (e.g., "src/main.py" or "calculator.py") | |
| function_name | Yes | name of the function to analyze |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |