vercel-labs / agent-desktop
Code health
Hotspots average 8.6, the place fixes pay off most.
Explore this codebase
- Code health map309hotspots across 3,449 files
- Ownership3,056sole-owned files: one author, no second reader
- Architecture8modules, 15 entry points
- Decisions81recorded, of which 0 accepted and 81 awaiting review
- Refactoring98open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 3
3 things worth doing in the week to Nov 10, the last indexed commit.
Worth planning
Tidy the code shape this week's commits left: 7 findings in 7 files
1 commit in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with
crates/macos/src/system/appkit_bridge.m(1 finding): tidying it while the change is fresh costs less than after the next one.- code-shape findings
- 7
- files
- 7
- commits
- 1
Medium effortReview why fixes keep landing in
src/main.rs: tests reach itChanged 13 times in 90 days, and 3 of those commits were bug fixes.
- commits in 90 days
- 13
- bug-fix commits
- 3
- line coverage
- Unknown, no report
- tests that reach it
- 4 test files, import graph(inferred)
Medium effort, worth a checkReview why fixes keep landing in
crates/macos/src/system/appkit_bridge.m: tests reach itChanged 8 times in 90 days, and 3 of those commits were bug fixes.
- commits in 90 days
- 8
- bug-fix commits
- 3
- line coverage
- Unknown, no report
- tests that reach it
- 1 test file, call graph(inferred)
Medium 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
6 areas
Every detector's open count by area. The actions above are the part worth doing.
- Code health3,901 open findingsCriticalGod class · probes/windows/26-shell-surfaces/shell-probe.cs80 findings · 8.9 deducted
- Refactoring98 open opportunitiesLowmain+0.7 health, M effort · scripts/jev/act.mjs
- Doc drift13Mediumprobes/windows/FINDINGS.mdDocument names docs/phases.md, which no longer exists.
- Decisions81 to reviewMediumcrates/core/src/snapshot/mod.rs81 awaiting review, 0 drifting from the code
- Ownership3,056 sole-owned filesMediumsrc/main.rsOne author, no second reader
- Dead code1LowisSiteUrlConfiguredUnreachable variable (1 lines)