opencollective / opencollective-api
typescriptjavascriptmain033d4af274.2K linessynced on Jun 29, 2026
Code health
7.5out of 10Good
Hotspots average 4.6, the place fixes pay off most.
Explore this codebase
- Code health map97hotspots across 2,082 files
- Ownership1,519sole-owned files: one author, no second reader
- Architecture9modules, 466 entry points
- Decisions43recorded, of which 0 in force and 43 background
- RefactoringNo refactoring analysis yet
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 1 · 1 setup step
1 thing worth doing this quarter · 1 setup step.
Worth planning
Delete 90 unused symbols and files (2,428 lines)
Nothing in the graph reaches them, across 46 files; every reader and agent pays to skip them.
- symbols
- 90
- lines
- 2,428
- safe to delete
- Yes(inferred)
Medium effort
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
Everything we found
5 areas
Every detector's open count by area. The actions above are the part worth doing.
- Code health2,292 open findingsCriticalUntested hotspot · server/lib/sql-search.ts30 findings · 9.5 deducted
- Refactoring7MediumCollective+1.1 health, XL effort · server/models/Collective.ts
- Decisions0 drifting from the codeMediumtest/server/graphql/v2/mutation/ExpenseMutations.test.jsHigh-churn file with no governing decision
- Ownership1,519 sole-owned filesMediumserver/graphql/v1/CollectiveInterface.jsOne author, no second reader
- Dead code110Lowcron/daily/61-clean-stale-expense-drafts.jsUnreachable symbol (10 lines)