get_quality_hotspots
Identify code files needing refactoring by ranking them based on complexity, recent changes, and test coverage gaps.
Instructions
Rank files by a composite score of cyclomatic complexity × churn × (1 - test coverage). Top refactor candidates.
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": "get_quality_hotspots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_id | No | Repo ID (uses latest snapshot) | |
| snapshot_id | No | Specific snapshot ID | |
| top_n | No | Max hotspots to return, ranked by churn × complexity × (1-coverage) |