repowisedietrichmax/colota

Code health of dietrichmax/colota

Repowise scores dietrichmax/colota at 7.7 out of 10 for code health, which reads as good, alongside maintainability 8.9 and static performance 9.9 on the same scale. There are 420 open findings across the three pillars, and the lowest-scoring file is LocationForegroundService.kt at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

50 critical, 103 high, 129 medium, 124 low.

Hotspots

25 files are flagged as hotspots. The top 5:

  • apps/mobile/android/app/src/test/java/com/Colota/service/LocationForegroundServiceTest.kt: 13 commits in the last 90 days from 2 contributors with 23 recent bug fixes
  • apps/mobile/android/app/src/main/java/com/colota/service/LocationForegroundService.kt: 17 commits in the last 90 days from 2 contributors with 36 recent bug fixes
  • apps/mobile/android/app/src/main/java/com/colota/export/ExportConverters.kt: 5 commits in the last 90 days from 1 contributor
  • apps/mobile/android/app/src/main/java/com/colota/bridge/LocationServiceModule.kt: 15 commits in the last 90 days from 1 contributor with 15 recent bug fixes
  • apps/mobile/android/app/src/test/java/com/Colota/sync/NetworkManagerTest.kt: 3 commits in the last 90 days from 1 contributor with 2 recent bug fixes

Lowest-scoring files

  • apps/mobile/android/app/src/main/java/com/colota/service/LocationForegroundService.kt: 1.0 out of 10 with 36 bug fixes in the last 180 days
  • apps/mobile/android/app/src/main/java/com/colota/data/DatabaseHelper.kt: 1.0 out of 10 with 6 bug fixes in the last 180 days
  • apps/mobile/android/app/src/main/java/com/colota/sync/NetworkManager.kt: 1.0 out of 10 with 3 bug fixes in the last 180 days
  • apps/mobile/android/app/src/main/java/com/colota/sync/SyncManager.kt: 1.0 out of 10 with 5 bug fixes in the last 180 days
  • apps/mobile/android/app/src/main/java/com/colota/service/ProfileManager.kt: 2.5 out of 10 with 3 bug fixes in the last 180 days

Checked against bug fixes

Of the 20 files Repowise scores lowest, 18 had a bug fix in the last 180 days. Across all 377 scored files, 30.2% had a bug fix in that window.

Dead code and refactoring

Repowise found 21 unused exports. 15 refactoring targets across 15 files would raise the score.

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

Related guide: Best dead code detection tools by language