Analyzed 2026-03-23 by code2llm · Primary language: python · Python: 108, JavaScript: 29, Shell: 7
| Module | Path | Lines | Funcs | Classes | CC max |
|---|---|---|---|---|---|
| tools.jsx | src/proxym/dashboard/components | 1,127 | 77 | 0 | 62 |
| tickets.jsx | src/proxym/dashboard/components | 807 | 51 | 0 | 90 |
| coverage_html_cb_dd2e7eb5.js | htmlcov | 735 | 65 | 0 | 21 |
| adapters.py | src/proxym/tools | 616 | 14 | 6 | 24 |
| tasks.jsx | src/proxym/dashboard/components | 597 | 51 | 0 | 51 |
| _tools_api.py | src/proxym/dashboard | 574 | 26 | 3 | 13 |
| validate_system.sh | scripts | 531 | 11 | 0 | 0 |
| setup.jsx | src/proxym/dashboard/components | 517 | 27 | 0 | 16 |
| projects.jsx | src/proxym/dashboard/components | 467 | 22 | 0 | 21 |
| __init__.py | src/proxym/tools | 421 | 13 | 5 | 7 |
| tickets.py | src/proxym/dashboard | 412 | 23 | 10 | 17 |
| __init__.py | src/proxym/accounts | 398 | 20 | 8 | 15 |
| frontend.py | src/proxym/api | 373 | 32 | 0 | 6 |
| __init__.py | src/proxym/router | 357 | 14 | 1 | 9 |
| _tickets_api.py | src/proxym/dashboard | 355 | 16 | 6 | 6 |
| repair_agent.py | src/proxym/observability | 341 | 9 | 1 | 14 |
| __init__.py | src/proxym/cache | 333 | 10 | 3 | 9 |
| entrypoint.sh | services/vscode | 333 | 1 | 0 | 0 |
| __init__.py | src/proxym/providers | 331 | 4 | 3 | 8 |
| browser_profiles.py | src/proxym/virt | 325 | 11 | 2 | 9 |
| Severity | Target | Type | Value | Limit |
|---|---|---|---|---|
| critical | TicketDetailPanel | cc_exceeded | 90 | 15 |
| critical | JobDetailsPanel | cc_exceeded | 62 | 15 |
| critical | TasksPanel | cc_exceeded | 51 | 15 |
| critical | TicketDispatchTable | cc_exceeded | 51 | 15 |
| critical | ToolsPanel | cc_exceeded | 49 | 15 |
| critical | TicketHistoryItem | cc_exceeded | 42 | 15 |
| critical | LogPanel | cc_exceeded | 34 | 15 |
| critical | VMsPanel | cc_exceeded | 32 | 15 |
| critical | useDashboardData | high_fan_out | 31 | 10 |
| critical | VoiceChat | high_fan_out | 31 | 10 |
| critical | DiagRooConfig | cc_exceeded | 29 | 15 |
| critical | TicketsPanel | cc_exceeded | 28 | 15 |
| critical | run_all_tests | high_fan_out | 28 | 10 |
| critical | chat_completions | high_fan_out | 27 | 10 |
| critical | TicketsPanel | high_fan_out | 27 | 10 |
| Function | Fan-out | Note |
|---|---|---|
| useDashboardData | 31 | Orchestrates 31 calls |
| VoiceChat | 31 | Orchestrates 31 calls |
| run_all_tests | 28 | Run all diagnostic tests and return comprehensive status. |
| chat_completions | 27 | OpenAI-compatible chat completions with intelligent routing. Extra headers: X |
| TicketsPanel | 27 | Orchestrates 27 calls |
| TicketDispatchTable | 27 | 27-way dispatch |
| create_ticket | 25 | Create a new ticket. Accepts 'task' (new) or 'title' (legacy). |
| _llm_fallback_execute | 24 | Execute a task via LLM API when the tool binary is not available. Calls litellm |
| TableExport | 23 | Export with 23 outputs |
| TableExport | 23 | Export with 23 outputs |
| # | Action | Impact | Effort |
|---|---|---|---|
| 1 | Split DiagnosticsPanel (CC=26 → target CC<10) | high | low |
| 2 | Split LogPanel (CC=34 → target CC<10) | high | low |
| 3 | Split VMsPanel (CC=32 → target CC<10) | high | low |
| 4 | Split TaskJobBadge (CC=25 → target CC<10) | high | low |
| 5 | Split TasksPanel (CC=51 → target CC<10) | high | low |
| 6 | Split TicketHistoryItem (CC=42 → target CC<10) | high | low |
| 7 | Split TicketDetailPanel (CC=90 → target CC<10) | high | low |
| 8 | Split TicketsPanel (CC=28 → target CC<10) | high | low |
| 9 | Split DiagRooConfig (CC=29 → target CC<10) | high | low |
| 10 | Split JobDetailsPanel (CC=62 → target CC<10) | high | low |
| 11 | Split TicketDispatchTable (CC=51 → target CC<10) | high | low |
| 12 | Split ToolsPanel (CC=49 → target CC<10) | high | low |
| 13 | Split god module src/proxym/dashboard/components/tickets.jsx (807L, 0 classes) | high | high |
| 14 | Split god module src/proxym/dashboard/components/tools.jsx (1127L, 0 classes) | high | high |
| 15 | Split god module src/proxym/dashboard/components/tasks.jsx (597L, 0 classes) | high | high |