heygen-com / hyperframes
Code health
Hotspots average 6.0, the place fixes pay off most.
Explore this codebase
- Code health map117hotspots across 9,554 files
- Ownership1,277sole-owned files: one author, no second reader
- Architecture11modules, 27 entry points
- Decisions34recorded, of which 0 in force and 34 background
- Refactoring248open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 5 · 1 setup step
12 things worth doing in the week to Nov 24, the last indexed commit, 7 of them now · 1 setup step.
Worth planning
Review why fixes keep landing in
packages/studio/src/player/lib/previewElements.ts: tests reach itChanged 15 times in 90 days, and 10 of those commits were bug fixes.
- commits in 90 days
- 15
- bug-fix commits
- 10
- line coverage
- Unknown, no report
- tests that reach it
- 53 test files, call graph(inferred)
Medium effort, worth a checkTidy the code shape this week's commits left: 20 findings in 12 files
9 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with
packages/lint/src/rules/gsap.ts(5 findings): tidying it while the change is fresh costs less than after the next one.- code-shape findings
- 20
- files
- 12
- commits
- 9
Large effortSimplify
compileWithAssetsinpackages/producer/src/services/htmlCompiler.ts: tests reach it, and fixes keep landingChanged 23 times in 90 days, and 19 of those commits were bug fixes.
- commits in 90 days
- 23
- bug-fix commits
- 19
- line coverage
- Unknown, no report
- tests that reach it
- 40 test files, call graph(inferred)
Large effort, worth a checkSimplify
applyTimedElementVisibilityinpackages/core/src/runtime/init.ts: tests reach it, and fixes keep landingChanged 20 times in 90 days, and 13 of those commits were bug fixes.
- commits in 90 days
- 20
- bug-fix commits
- 13
- line coverage
- Unknown, no report
- tests that reach it
- 34 test files, call graph(inferred)
Large effort, worth a checkReview why fixes keep landing in
packages/studio-server/src/history/projectHistory.ts: tests reach itChanged 12 times in 90 days, and 9 of those commits were bug fixes.
- commits in 90 days
- 12
- bug-fix commits
- 9
- line coverage
- Unknown, no report
- tests that reach it
- 52 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,458 open findingsCriticalChange entropy · packages/producer/src/services/htmlCompiler.ts78 findings · 12.0 deducted
- Refactoring248 open opportunitiesMediumreadStorage+1.4 health, M effort · packages/studio/src/utils/studioUiPreferences.ts
- Doc drift21Mediumdocs/packages/cli.mdxLink points at #hyperframes-json, which docs/packages/cli.mdx no longer declares.
- Decisions0 drifting from the codeMediumpackages/producer/src/services/htmlCompiler.tsHigh-churn file with no governing decision
- Ownership1,277 sole-owned filesMediumpackages/core/src/runtime/editingPort.tsOne author, no second reader
- Dead code5LowextraPanelsUnreachable variable (1 lines)