function_metrics
Measure cyclomatic complexity, body lines, and parameters for each function in a JavaScript/TypeScript project. Filter by minimum complexity or line count to locate complex and lengthy functions.
Instructions
Metrics per function/method: cyclomatic complexity, body lines and parameters. Optional threshold filters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name or path of the loaded project | |
| min_lines | No | Show only functions with body >= this number of lines | |
| min_complexity | No | Show only functions with complexity >= this value |