proxy — Good

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

1,165
Functions
106
Classes
125
Files
35,748
Lines
3
Languages
3.5
Avg CC
67
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 494 21 0 20
projects.jsx src/proxym/dashboard/components 457 22 0 21
tasks.jsx src/proxym/dashboard/components 407 33 0 21
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
__init__.py src/proxym/accounts 350 20 8 10
_tickets_api.py src/proxym/dashboard 343 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
tickets.py src/proxym/cli 311 13 0 12
__init__.py src/proxym/observability 300 8 0 7
_pipeline.py src/proxym/api 299 16 1 7
dsl.py src/proxym/cli 287 8 2 5
home.jsx src/proxym/dashboard/components 285 38 0 12
__init__.py src/proxym/projects 281 14 4 21

Alerts (20)

SeverityTargetTypeValueLimit
critical LogPanel cc_exceeded 34 15
critical VMsPanel cc_exceeded 32 15
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 useDashboardData high_fan_out 24 10
critical DiagnosticsPanel high_fan_out 22 10
critical AddProjectForm high_fan_out 20 10
error VoiceChat cc_exceeded 24 15
error ProjectRegistry._enrich_local cc_exceeded 21 15
error table cc_exceeded 21 15
error table_body_rows cc_exceeded 21 15
error no_rows cc_exceeded 21 15

Hotspots (10)

FunctionFan-outNote
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
useDashboardData 24 Orchestrates 24 calls
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 TicketManager._apply_filters (CC=17 → target CC<10) medium low
7 Split ProjectRegistry._enrich_local (CC=21 → target CC<10) medium low
8 Split check_providers_config (CC=15 → target CC<10) medium low
9 Split VoiceChat (CC=24 → target CC<10) medium low
10 Split table (CC=21 → target CC<10) medium low
11 Split table_body_rows (CC=21 → target CC<10) medium low
12 Split no_rows (CC=21 → target CC<10) medium low
13 Split footer (CC=21 → target CC<10) medium low
14 Split ratio_columns (CC=21 → target CC<10) medium low
15 Split filter_handler (CC=21 → target CC<10) medium low