nexu-io / openmotion
Code health
Hotspots average 7.1, the place fixes pay off most.
Explore this codebase
- Code health map275hotspots across 9,716 files
- Ownership3,686sole-owned files: one author, no second reader
- Architecture19modules, 13 entry points
- Decisions38recorded, of which 0 in force and 38 background
- Refactoring180open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 5
6 things worth doing in the week to Nov 21, the last indexed commit, 1 of them now.
Worth planning
Simplify
validateInputinshared/phase1-tools.ts: tests reach it, and fixes keep landingChanged 47 times in 90 days, and 10 of those commits were bug fixes.
- commits in 90 days
- 47
- bug-fix commits
- 10
- line coverage
- Unknown, no report
- tests that reach it
- 48 test files, call graph(inferred)
Medium effort, worth a checkTidy the code shape this week's commits left: 188 findings in 107 files
34 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with
game-projects.ts(17 findings): tidying it while the change is fresh costs less than after the next one.- code-shape findings
- 188
- files
- 107
- commits
- 34
Large effortReview why fixes keep landing in
scripts/distribution.ts: tests reach itChanged 75 times in 90 days, and 11 of those commits were bug fixes.
- commits in 90 days
- 75
- bug-fix commits
- 11
- line coverage
- Unknown, no report
- tests that reach it
- 8 test files, call graph(inferred)
Large effort, worth a checkSimplify
handlerinserver.ts: tests reach it, and fixes keep landingChanged 51 times in 90 days, and 13 of those commits were bug fixes.
- commits in 90 days
- 51
- bug-fix commits
- 13
- line coverage
- Unknown, no report
- tests that reach it
- 39 test files, call graph(inferred)
Large effort, worth a checkSimplify
WorkspaceFrameinstudio/src/motion/WorkspaceFrame.tsx: tests reach it, and fixes keep landingChanged 70 times in 90 days, and 9 of those commits were bug fixes.
- commits in 90 days
- 70
- bug-fix commits
- 9
- line coverage
- Unknown, no report
- tests that reach it
- 6 test files, call graph(inferred)
Large effort, worth a check
Everything we found
6 areas
Every detector's open count by area. The actions above are the part worth doing.
- Code health5,820 open findingsCriticalCo-change scatter · shared/generation-options.ts29 findings · 10.2 deducted
- Refactoring180 open opportunitiesMediumpackageNpm+1.2 health, M effort · scripts/package-npm.mjs
- Doc drift123Mediumlibrary/design/skills/oil-motion/references/delivery-selection.mdLink points at #分辨率和时长, which prompting.md no longer declares.
- Decisions0 drifting from the codeMediumstudio/src/motion/WorkspacePageNavigation.test.tsxHigh-churn file with no governing decision
- Ownership3,686 sole-owned filesMediumtests/inline-onboarding.test.tsOne author, no second reader
- Dead code14LowSTUDIO_UPDATE_ANIMATION_DESCRIPTIONUnreachable constant (6 lines)