Code health of getmydia/mydia
Repowise scores getmydia/mydia at 7.8 out of 10 for code health, which reads as good, alongside maintainability 9.0 and static performance 10.0 on the same scale. There are 3,989 open findings across the three pillars, and the lowest-scoring file is download_service_native.dart at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.
Findings by severity
1,103 critical, 746 high, 1,675 medium, 465 low.
Hotspots
690 files are flagged as hotspots. The top 5:
- player/lib/presentation/screens/player/player_screen.dart: 201 commits in the last 90 days from 3 contributors with 161 recent bug fixes
- lib/mydia/media.ex: 69 commits in the last 90 days from 1 contributor with 48 recent bug fixes
- native/mydia_p2p_core/src/lib.rs: 46 commits in the last 90 days from 1 contributor with 31 recent bug fixes
- lib/mydia/library.ex: 52 commits in the last 90 days from 1 contributor with 42 recent bug fixes
- lib/mydia_web/live/import_media_live/index.ex: 38 commits in the last 90 days from 1 contributor with 20 recent bug fixes
Lowest-scoring files
- player/lib/core/downloads/download_service_native.dart: 1.0 out of 10 with 18 bug fixes in the last 180 days
- player/lib/core/p2p/peer_sync_service.dart: 1.0 out of 10 with 10 bug fixes in the last 180 days
- player/lib/presentation/screens/player/player_screen.dart: 1.0 out of 10 with 161 bug fixes in the last 180 days
- player/lib/core/backup/backup_sync_service.dart: 1.0 out of 10 with 9 bug fixes in the last 180 days
- player/lib/core/sources/files/files_media_source.dart: 1.0 out of 10 with 7 bug fixes in the last 180 days
Checked against bug fixes
Of the 20 files Repowise scores lowest, 20 had a bug fix in the last 180 days. Across all 2,272 scored files, 12.3% had a bug fix in that window.
Dead code and refactoring
Repowise found 131 unused exports. 37 refactoring targets across 37 files would raise the score.
More on mydia: summary and FAQ, codebase overview, architecture.
Related guide: Best dead code detection tools by language