Code Quality Report
code_quality_reportAnalyze a codebase to aggregate language line counts, comment ratio, function lengths, duplicate lines, TODO/FIXME density, and nesting depth into a quality score. Read-only.
Instructions
Aggregate quality metrics: lines of code per language, comment ratio, average and longest function lengths, duplicate-line ratio, TODO/FIXME density and maximum nesting depth, synthesized into a score. Read-only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "code_quality_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory relative to the workspace root (default "."). | |
| maxFiles | No | Maximum files to analyze (default 2000). |