Analyzed 2026-03-25 by code2llm · Primary language: python · Python: 180, JavaScript: 73, Shell: 8
| Module | Path | Lines | Funcs | Classes | CC max |
|---|---|---|---|---|---|
| tasks.jsx | src/proxym/dashboard/components | 1,697 | 110 | 0 | 129 |
| tools.jsx | src/proxym/dashboard/components | 1,610 | 113 | 0 | 87 |
| tickets.jsx | src/proxym/dashboard/components | 1,500 | 94 | 0 | 94 |
| projects.jsx | src/proxym/dashboard/components | 1,070 | 72 | 0 | 129 |
| coverage_html_cb_dd2e7eb5.js | htmlcov | 735 | 65 | 0 | 21 |
| setup.jsx | src/proxym/dashboard/components | 649 | 33 | 0 | 36 |
| __init__.py | src/proxym/tools | 646 | 19 | 5 | 10 |
| _users_git_support.py | src/proxym/dashboard | 637 | 35 | 1 | 13 |
| environments.jsx | src/proxym/dashboard/components | 611 | 30 | 0 | 59 |
| __init__.py | src/proxym/providers | 537 | 9 | 3 | 25 |
| validate_system.sh | scripts | 531 | 11 | 0 | 0 |
| _tickets_api.py | src/proxym/dashboard | 499 | 21 | 0 | 10 |
| _manager.py | src/proxym/dashboard/tickets | 478 | 34 | 1 | 22 |
| _environments_api.py | src/proxym/dashboard | 460 | 33 | 6 | 13 |
| users.jsx | src/proxym/dashboard/components | 457 | 21 | 0 | 24 |
| tickets.py | src/proxym/cli | 450 | 16 | 0 | 23 |
| useDashboardData.js | src/proxym/dashboard/hooks | 446 | 70 | 0 | 28 |
| executor.py | src/proxym/tools | 440 | 18 | 3 | 27 |
| __init__.py | src/proxym/accounts | 398 | 20 | 8 | 15 |
| _llm_fallback.py | src/proxym/tools/adapters | 388 | 5 | 0 | 18 |
| Severity | Target | Type | Value | Limit |
|---|---|---|---|---|
| critical | TasksPanel | cc_exceeded | 129 | 15 |
| critical | ProjectFormUnified | cc_exceeded | 129 | 15 |
| critical | TicketDetailPanel | cc_exceeded | 94 | 15 |
| critical | TicketsPanel | cc_exceeded | 91 | 15 |
| critical | TicketDispatchTable | cc_exceeded | 87 | 15 |
| critical | JobDetailsPanel | cc_exceeded | 77 | 15 |
| critical | ToolHealthPanel | cc_exceeded | 76 | 15 |
| critical | HumanTaskPanel | cc_exceeded | 65 | 15 |
| critical | EnvironmentsPanel | cc_exceeded | 59 | 15 |
| critical | ToolsPanel | cc_exceeded | 57 | 15 |
| critical | TicketsPanel | high_fan_out | 56 | 10 |
| critical | useDashboardData | high_fan_out | 50 | 10 |
| critical | ToolsJobQueue | cc_exceeded | 48 | 15 |
| critical | TasksPanel | high_fan_out | 46 | 10 |
| critical | TicketCard | cc_exceeded | 42 | 15 |
| Function | Fan-out | Note |
|---|---|---|
| TicketsPanel | 56 | Orchestrates 56 calls |
| useDashboardData | 50 | Orchestrates 50 calls |
| TasksPanel | 46 | Orchestrates 46 calls |
| EnvironmentsPanel | 42 | Orchestrates 42 calls |
| SetupPanel | 36 | Orchestrates 36 calls |
| VoiceChat | 31 | Orchestrates 31 calls |
| ProjectFormUnified | 31 | Orchestrates 31 calls |
| DiagnosticsPanel | 30 | Orchestrates 30 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 |
| # | Action | Impact | Effort |
|---|---|---|---|
| 1 | Split ToolExecutor._sync_ticket_execution (CC=27 → target CC<10) | high | low |
| 2 | Split filter_models (CC=25 → target CC<10) | high | low |
| 3 | Split enrich_project (CC=28 → target CC<10) | high | low |
| 4 | Split useDashboardData (CC=28 → target CC<10) | high | low |
| 5 | Split DiagnosticsPanel (CC=40 → target CC<10) | high | low |
| 6 | Split LogPanel (CC=34 → target CC<10) | high | low |
| 7 | Split HumanTaskPanel (CC=65 → target CC<10) | high | low |
| 8 | Split VMsPanel (CC=36 → target CC<10) | high | low |
| 9 | Split _resolveJobEnvironment (CC=25 → target CC<10) | high | low |
| 10 | Split TaskCardMeta (CC=37 → target CC<10) | high | low |
| 11 | Split TaskJobBadge (CC=25 → target CC<10) | high | low |
| 12 | Split TaskBulkEditBar (CC=30 → target CC<10) | high | low |
| 13 | Split QuickTaskCreator (CC=31 → target CC<10) | high | low |
| 14 | Split TasksPanel (CC=129 → target CC<10) | high | low |
| 15 | Split TicketTable (CC=26 → target CC<10) | high | low |