code_complexity
Compute cyclomatic complexity for functions in TypeScript/JavaScript files to identify complex code and prioritize refactoring for better maintainability.
Instructions
Computes cyclomatic complexity for functions in a TypeScript/JavaScript file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the TS/JS file | |
| function | No | Compute only for this function (omit for all) |