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.
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) |