proxy — Good

Analyzed 2026-03-23 by code2llm  ·  Primary language: python  ·  Python: 107, JavaScript: 28, Shell: 6

1,171
Functions
106
Classes
125
Files
36,032
Lines
3
Languages
3.5
Avg CC
69
Critical (CC≥10)
0
Duplicates
0
Cycles

Language Distribution

Largest Modules (lines)

Most Complex Modules (functions)

Evolution

Top Modules (141)

ModulePathLinesFuncsClassesCC max
coverage_html_cb_dd2e7eb5.js htmlcov 735 65 0 21
tickets.jsx src/proxym/dashboard/components 517 20 0 20
projects.jsx src/proxym/dashboard/components 460 22 0 21
tasks.jsx src/proxym/dashboard/components 407 33 0 21
tools.jsx src/proxym/dashboard/components 400 22 0 23
tickets.py src/proxym/dashboard 370 23 9 17
frontend.py src/proxym/api 363 31 0 6
__init__.py src/proxym/router 357 14 1 9
_tickets_api.py src/proxym/dashboard 357 16 6 8
__init__.py src/proxym/accounts 350 20 8 10
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
tickets.py src/proxym/cli 311 13 0 12
__init__.py src/proxym/observability 308 8 0 9
_pipeline.py src/proxym/api 299 16 1 7
useDashboardData.js src/proxym/dashboard/hooks 287 35 0 9
dsl.py src/proxym/cli 287 8 2 5

Alerts (20)

SeverityTargetTypeValueLimit
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 run_all_tests high_fan_out 28 10
critical chat_completions high_fan_out 27 10
critical DiagnosticsPanel cc_exceeded 26 15
critical DiagnosticsPanel high_fan_out 22 10
critical AddProjectForm high_fan_out 20 10
error VoiceChat cc_exceeded 24 15
error TicketDispatchTable cc_exceeded 23 15
error ProjectRegistry._enrich_local cc_exceeded 21 15
error table cc_exceeded 21 15
error table_body_rows cc_exceeded 21 15

Hotspots (10)

FunctionFan-outNote
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
DiagnosticsPanel 22 Orchestrates 22 calls
AddProjectForm 20 Orchestrates 20 calls
LogPanel 19 Orchestrates 19 calls
create_ticket 18 Create a new ticket. Accepts 'task' (new) or 'title' (legacy).
log_call 18 Dekorator logujący wywołanie, czas i błędy. Użycie: @log_call() def my_
TicketsPanel 18 Orchestrates 18 calls

Refactoring Priorities (15)

#ActionImpactEffort
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 DiagRooConfig (CC=29 → target CC<10) high low
5 Split god module htmlcov/coverage_html_cb_dd2e7eb5.js (735L, 0 classes) high high
6 Split god module src/proxym/dashboard/components/tickets.jsx (517L, 0 classes) high high
7 Split TicketManager._apply_filters (CC=17 → target CC<10) medium low
8 Split ProjectRegistry._enrich_local (CC=21 → target CC<10) medium low
9 Split check_providers_config (CC=15 → target CC<10) medium low
10 Split VoiceChat (CC=24 → target CC<10) medium low
11 Split table (CC=21 → target CC<10) medium low
12 Split table_body_rows (CC=21 → target CC<10) medium low
13 Split no_rows (CC=21 → target CC<10) medium low
14 Split footer (CC=21 → target CC<10) medium low
15 Split ratio_columns (CC=21 → target CC<10) medium low