repowisevanloctech/youwee

Code health of vanloctech/youwee

Repowise scores vanloctech/youwee at 5.8 out of 10 for code health, which reads as fair, alongside maintainability 7.7 and static performance 9.6 on the same scale. There are 1,285 open findings across the three pillars, and the lowest-scoring file is lib.rs at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

159 critical, 273 high, 433 medium, 354 low.

Hotspots

74 files are flagged as hotspots. The top 5:

  • src/pages/SettingsPage.tsx: 14 commits in the last 90 days from 1 contributor with 3 recent bug fixes
  • src-tauri/src/services/plugin.rs: 26 commits in the last 90 days from 1 contributor with 5 recent bug fixes
  • src/components/settings/PostDownloadPluginsCard.tsx: 21 commits in the last 90 days from 1 contributor with 1 recent bug fix
  • src/contexts/DownloadContext.tsx: 35 commits in the last 90 days from 2 contributors with 7 recent bug fixes
  • src-tauri/src/lib.rs: 29 commits in the last 90 days from 2 contributors with 9 recent bug fixes

Lowest-scoring files

  • src-tauri/src/lib.rs: 1.0 out of 10 with 9 bug fixes in the last 180 days
  • src/contexts/channels/useChannelsController.ts: 1.0 out of 10
  • src/contexts/DependenciesContext.tsx: 1.0 out of 10 with 5 bug fixes in the last 180 days
  • src/contexts/HistoryContext.tsx: 1.0 out of 10 with 4 bug fixes in the last 180 days
  • src/lib/backend-error.ts: 1.0 out of 10 with 1 bug fix in the last 180 days

Checked against bug fixes

Of the 20 files Repowise scores lowest, 16 had a bug fix in the last 180 days. Across all 506 scored files, 22.3% had a bug fix in that window.

Dead code and refactoring

Repowise found 35 unused exports. 54 refactoring targets across 54 files would raise the score.

More on youwee: summary and FAQ, codebase overview, architecture.

Related guide: Best dead code detection tools by language