repowiserepowise
Sign in
vanloctech/youwee
OverviewDocsArchitectureKnowledge GraphFilesCode HealthSecurityRefactoring

People & History

CommitsContributorsDecisions
Chat
Stats
repowiserepowise
ExplorePricingDocs
Sign in
repowisevanloctech/youwee
YO
YO

vanloctech / youwee

typescriptrustmain36de438130.6K linessynced 2mo ago

Code health

5.8out of 10Fair

This codebase scores 5.8 out of 10 for code health, which we rate fair. It also scores maintainability 7.7 and static performance 9.6 out of 10. The three are scored separately and never blended into one number. Risk is concentrated, as it usually is: 74 of 506 files are git hotspots, and they average 4.0 — which is where the fixes pay off most.

Full health report →
Documentation559pages
0 with model-written prose, 559 built from the index
Score validation16/203.6× baselineTop-ranked files that did go on to need a bug fixDead code35exportsUnused exports that nothing in the graph reaches

Do next

3 things worth doing in the week to Jul 29, the last indexed commit.

Worth planning

  • Break up download_video (CCN 131, 974 lines)

    src-tauri/src/commands/download.rs:1191

    download_video nests its control flow deeply, and part of it is duplicated, so splitting it also removes a copy; 3 files import it, changed 16 times in 90 days.

    gain
    up to +0.4 health on this file(inferred)
    finding
    Nested complexity
    size
    CCN 131, 974 lines, nests 12 deep
    severity
    critical
    Medium effort, worth a check
  • Break up get_video_transcript (CCN 46, 405 lines)

    src-tauri/src/commands/video.rs:344

    get_video_transcript nests its control flow deeply, and part of it is duplicated, so splitting it also removes a copy; 5 files import it, changed 7 times in 90 days.

    gain
    up to +1.0 health on this file(inferred)
    finding
    Nested complexity
    size
    CCN 46, 405 lines, nests 8 deep
    severity
    critical
    Medium effort, worth a check
  • Break up execute_plugin (CCN 24, 392 lines)

    src-tauri/src/services/plugin.rs:1405

    execute_plugin is long, branchy and widely depended on, and part of it is duplicated, so splitting it also removes a copy; 9 files import it, changed 26 times in 90 days.

    gain
    up to +0.4 health on this file(inferred)
    finding
    Brain method
    size
    CCN 24, 392 lines, nests 3 deep
    severity
    critical
    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
Lines of code
130.6K
Files
506
Symbols
4,021
Modules
6
Languages
3

Recent activity

All commits →

Commits

  • 72aad9c3feat: add romanian language support and update changelogs2mo ago
  • 6cd26213feat: add Uzbek language support and update changelogs2mo ago
  • 81e3decbfeat: add Turkish language support and update changelogs2mo ago
  • e9a0445afeat: copy queue item URLs2mo ago
  • cbf78202feat: remove sponsor section from README files3mo ago
  • 97d4ebcafeat: update changelogs for AppImage icon fix and bump dependencies3mo ago

Decisions

  • Upgrade Plugin SDK to v2.0.0 with stricter permissionsproposed · 2mo ago
  • Rename internal SQLite database with migrationproposed · 2mo ago
  • Persist library history without max limitproposed · 2mo ago
  • Plugin development using Youwee SDK with build/sign stepproposed · 2mo ago
  • Plugin packaging and integrity via checksum (optional)proposed · 2mo ago
  • Typed configuration fields exposed by pluginsproposed · 2mo ago
▸

Everything we found

1,859 open

Every detector's open count by area, each with its worst example. An inventory, not a to-do list: the actions above are the part worth doing.

  • worst item is critical severity. Code health1,273Untested hotspot · src-tauri/src/lib.rs21 findings · 10.0 deducted→
  • worst item is medium severity. Refactoring107<anonymous@1>+1.5 health, M effort · extensions/youwee-webext/src/popup.js→
  • worst item is medium severity. Decisions111src/pages/SettingsPage.tsx37 awaiting review · 74 hotspots ungoverned→
  • worst item is medium severity. Ownership338src/lib/types.ts100% single-owner concentration, 45 commits in 90d→
  • worst item is low severity. Dead code30DialogCloseUnreachable variable (0 lines)→

Composition

Open the graph →
  • typescript74%
  • rust24%
  • javascript2%

Explore this codebase

  • Docs559 pages across 6 modules→
  • ChatAsk this codebase a question and get an answer with its sources.→
  • Files506 files with per-file docs, health and history→
  • ArchitectureDependency graph, layers, and 20 entry points→
  • Code healthPer-file scores, 1,285 open findings, coverage and refactoring targets→
  • Knowledge graphEntities, communities, and the paths between them→
  • Change couplingFiles that keep changing together, mined from commit history→
  • CommitsChange-risk ranked history with agent provenance→
  • ContributorsBus factor, per-file maintainers, and the human/agent split→
  • StatsSize class, origin, lifetime churn, rhythm and records→
  • CostsWhat indexing this snapshot cost, by model and by run.→