repowisemcuteangel/hesabyaar

Code health of mcuteangel/hesabyaar

Repowise scores mcuteangel/hesabyaar at 7.8 out of 10 for code health, which reads as good, alongside maintainability 8.5 and static performance 9.9 on the same scale. There are 613 open findings across the three pillars, and the lowest-scoring file is ci-warnings.mjs at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

132 critical, 126 high, 230 medium, 125 low.

Hotspots

89 files are flagged as hotspots. The top 5:

  • rust/hesabyar-core/src/validation.rs: 32 commits in the last 90 days from 2 contributors with 28 recent bug fixes
  • app/src/main/java/io/github/mojri/hesabyar/ui/screens/DashboardScreen.kt: 8 commits in the last 90 days from 4 contributors with 26 recent bug fixes
  • app/src/main/java/io/github/mojri/hesabyar/api/GeminiParser.kt: 3 commits in the last 90 days from 4 contributors with 45 recent bug fixes
  • app/src/main/java/io/github/mojri/hesabyar/ui/screens/SettingsScreen.kt: 15 commits in the last 90 days from 3 contributors with 25 recent bug fixes
  • app/src/main/java/io/github/mojri/hesabyar/domain/usecase/ManageBackupUseCase.kt: 8 commits in the last 90 days from 3 contributors with 22 recent bug fixes

Lowest-scoring files

  • .github/scripts/ci-warnings.mjs: 1.0 out of 10 with 12 bug fixes in the last 180 days
  • scripts/github-actions-pin-manager.mjs: 1.0 out of 10 with 10 bug fixes in the last 180 days
  • rust/hesabyar-core/src/parser/nlp.rs: 1.1 out of 10 with 15 bug fixes in the last 180 days
  • rust/hesabyar-core/src/validation.rs: 1.2 out of 10 with 28 bug fixes in the last 180 days
  • app/src/main/java/io/github/mojri/hesabyar/ui/screens/SettingsScreen.kt: 1.6 out of 10 with 25 bug fixes in the last 180 days

Checked against bug fixes

Of the 20 files Repowise scores lowest, 17 had a bug fix in the last 180 days. Across all 447 scored files, 17.2% had a bug fix in that window.

Dead code and refactoring

Repowise found 2 unused exports. 16 refactoring targets across 16 files would raise the score.

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