Analyze code quality
analyzeReviews an indexed project or path for complex or long functions, large classes, dead code, module dependencies, and an overall quality score; read-only.
Instructions
Review the quality of the indexed project, or of one path: the most
complex functions, long functions, large classes, dead code (functions with
no static caller), module dependencies and an overall quality score. Use it
for "what is the most complex code", "review this directory", "is there dead
code". Pass path (relative) to limit it to a directory or file. Read-only.
Complexity is cyclomatic and approximate, and dead-code entries have no
static caller, so check them before you delete anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional relative path to filter analysis (subdirectory or file) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||