Produces an aggregated technical debt report by combining multiple quality signals: complexity hotspots (cyclomatic > 15, cognitive > 20), public functions without tests, high-coupling modules (> 15 dependencies), unused exports, and oversized files (> 30 functions or > 1000 lines). Each item is scored by severity and estimated effort.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
category | enum | No | all | Filter by debt category: complexity, cognitive_complexity, missing_tests, high_coupling, unused_code, large_file |
severity | enum | No | low | Minimum severity to include: low, medium, high, critical |
limit | number | No | 50 | Maximum number of items to return |
Show me all the technical debt in this project.
Returns a comprehensive list of all debt items across all categories, sorted by severity.
What are the most complex functions? Show me anything with high cyclomatic or cognitive complexity.
Uses category: "complexity" (or "cognitive_complexity") to filter to complexity-related debt.
Which public functions don't have tests?
Uses category: "missing_tests" to list public functions with no corresponding test function.
Show me only the critical technical debt — the stuff that needs fixing now.
Sets severity: "critical" to filter to the highest-priority items.
Give me the top 10 worst technical debt items.
Sets limit: 10 to return only the highest-scoring items.
Each debt item includes:
complexity, cognitive_complexity, missing_tests, high_coupling, unused_code, or large_filelow, medium, high, or criticaltrivial, small, medium, large| Category | Medium | High | Critical |
|---|---|---|---|
| Cyclomatic complexity | > 15 | > 25 | > 40 |
| Cognitive complexity | > 20 | > 30 | > 50 |
| Missing tests | public function | public API entry point | exported from package |
| High coupling | > 15 deps | > 25 deps | > 40 deps |
| Large file | > 30 functions | > 50 functions | > 80 functions |
missing_tests category only flags public functions — internal helpers are excluded to reduce noisehigh_coupling measures efferent coupling (outgoing dependencies) — a module with 20+ dependencies is fragilecategory filters to generate focused reports for specific team discussionsstellarion_codebase_health for the big picture, then drill into debt details here