repowisevanloctech/youwee

vanloctech / youwee

typescriptrustmain36de438130.6K linessynced on Jul 31, 2026

Code health

5.8out of 10Fair

Hotspots average 4.0, the place fixes pay off most.

Explore this codebase

Do next · 3

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

Worth planning

  • Start breaking up download_video (CCN 131, 974 lines): first lift lines 1191-1217

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

    download_video nests deeply; easier to read and change once split, which also removes a duplicate; function changed in 43 commits; its file is imported by 3 files, changed 16 times in 90 days.

    gain
    up to under +0.1 health on this file(inferred)
    finding
    Nested complexity
    size
    CCN 131, 974 lines, nests 12 deep
    severity
    high
    worth a check
  • Start breaking up get_video_transcript (CCN 46, 405 lines): first lift lines 344-358

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

    get_video_transcript nests deeply; easier to read and change once split, which also removes a duplicate; function changed in 19 commits; its file is imported by 5 files, changed 7 times in 90 days.

    gain
    up to under +0.1 health on this file(inferred)
    finding
    Nested complexity
    size
    CCN 46, 405 lines, nests 8 deep
    severity
    high
    worth a check
  • Start breaking up execute_plugin (CCN 24, 392 lines): first lift lines 1405-1416

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

    execute_plugin has many paths; easier to read and change once split, which also removes a duplicate; function changed in 14 commits; its file is imported by 9 files, changed 26 times in 90 days.

    gain
    up to under +0.1 health on this file(inferred)
    finding
    Complex method
    size
    CCN 24, 392 lines, nests 3 deep
    severity
    high
    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

Everything we found

5 areas