supabase / realtime
elixirmain5357e3365.5K linessynced 3mo ago
Code health
8.4out of 10Good
This codebase scores 8.4 out of 10 for code health, which we rate good. It also scores maintainability 9.9 and static performance 10.0 out of 10. The three are scored separately and never blended into one number. Risk is concentrated, as it usually is: 50 of 585 files are git hotspots, and they average 6.5 — which is where the fixes pay off most.
Do next
0 suggested
Nothing stands out in the week to Jul 9, the last indexed commit.
Improve what Repowise can see
Add a test coverage report
Without one, Repowise cannot tell tested code from untested code, so every test-related action says “unknown”.
- line coverage
- Unknown, no report
Small effort
- Lines of code
- 65.5K
Recent activity
All commitsCommits
Decisions
- 2. Bring up the full supabase stack. We use its realtime container only as the source of truth for…proposed
- 3. Swap realtime: copy supabase's exact env (via env inside their container, so we avoid…proposed
- Add OpenAPI v3 docsproposed
- Add partitioning to realtime.messagesproposed
- Add tenant flag to control presence defaultproposed
- Add write permission checks for channels via transactional update/revertproposed
Everything we found
641 open
Every detector's open count by area, each with its worst example. An inventory, not a to-do list: the actions above are the part worth doing.
- worst item is critical severity. Code health206Untested hotspot · lib/realtime/api.ex4 findings · 6.2 deducted
- worst item is low severity. Refactoring4initRealtime+0.6 health, M effort · assets/js/app.js
- worst item is medium severity. Decisions89test/e2e/realtime-check.ts39 awaiting review · 50 hotspots ungoverned
- worst item is medium severity. Ownership323test/e2e/realtime-check.ts100% single-owner concentration, 24 commits in 90d
- worst item is low severity. Dead code19lib/realtime/release.exUnreachable symbol (0 lines)
Composition
Open the graph- elixir98%
- javascript<1%
- shell<1%
- dockerfile<1%
- typescript<1%
Explore this codebase
- Docs43 pages across 9 modules
- ChatAsk this codebase a question and get an answer with its sources.
- Files585 files with per-file docs, health and history
- ArchitectureDependency graph, layers, and 8 entry points
- Code healthPer-file scores, 399 open findings, coverage and refactoring targets
- Knowledge graphEntities, communities, and the paths between them
- Change couplingFiles that keep changing together, mined from commit history
- CommitsChange-risk ranked history with agent provenance
- ContributorsBus factor, per-file maintainers, and the human/agent split
- StatsSize class, origin, lifetime churn, rhythm and records
- CostsWhat indexing this snapshot cost, by model and by run.