nestjs / nest
Code health
Hotspots average 7.6, the place fixes pay off most.
Explore this codebase
- Code health map72hotspots across 2,718 files
- Ownership409sole-owned files: one author, no second reader
- Architecture6modules, 57 entry points
- Decisions6recorded, of which 0 in force and 6 background
- Refactoring20open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 2
2 things worth doing in the week to Nov 20, the last indexed commit.
Worth planning
Tidy the code shape this week's commits left: 3 findings in 2 files
2 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with
packages/platform-node/router/route-table.ts(2 findings): tidying it while the change is fresh costs less than after the next one.- code-shape findings
- 3
- files
- 2
- commits
- 2
Medium effortReview why fixes keep landing in
packages/platform-fastify/adapters/fastify-adapter.ts: tests reach itChanged 24 times in 90 days, and 13 of those commits were bug fixes.
- commits in 90 days
- 24
- bug-fix commits
- 13
- line coverage
- Unknown, no report
- tests that reach it
- 57 test files, call graph(inferred)
Large effort, worth a check
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
4 areas
Every detector's open count by area. The actions above are the part worth doing.
- Code health781 open findingsCriticalPrior defects · packages/platform-node/router/route-table.ts20 findings · 8.3 deducted
- Refactoring20 open opportunitiesMediumserializeCookie+1.2 health, M effort · packages/core/helpers/cookies/serialize-cookie.ts
- Decisions0 drifting from the codeMediumpackages/platform-fastify/test/adapters/fastify-adapter.spec.tsHigh-churn file with no governing decision
- Ownership409 sole-owned filesMediumpackages/core/middleware/utils.tsOne author, no second reader