repowisemurtaza-nasir/speakr

Code health of murtaza-nasir/speakr

Repowise scores murtaza-nasir/speakr at 6.1 out of 10 for code health, which reads as fair, alongside maintainability 7.1 and static performance 9.5 on the same scale. There are 1,445 open findings across the three pillars, and the lowest-scoring file is processing.py at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

115 critical, 214 high, 387 medium, 705 low.

Hotspots

41 files are flagged as hotspots. The top 5:

  • static/js/app.modular.js: 76 commits in the last 90 days from 4 contributors with 22 recent bug fixes
  • static/js/modules/composables/audio.js: 21 commits in the last 90 days from 2 contributors with 5 recent bug fixes
  • src/api/recordings.py: 36 commits in the last 90 days from 5 contributors with 7 recent bug fixes
  • tests/test_webhooks.py: 9 commits in the last 90 days from 1 contributor with 3 recent bug fixes
  • tests/test_cov_recordings_read.py: 6 commits in the last 90 days from 3 contributors with 1 recent bug fix

Lowest-scoring files

  • src/tasks/processing.py: 1.0 out of 10 with 2 bug fixes in the last 180 days
  • src/services/job_queue.py: 1.0 out of 10 with 1 bug fix in the last 180 days
  • src/services/embeddings.py: 1.0 out of 10 with 3 bug fixes in the last 180 days
  • src/init_db.py: 1.0 out of 10 with 1 bug fix in the last 180 days
  • src/api/auth.py: 1.0 out of 10 with 3 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 415 scored files, 21.4% had a bug fix in that window.

Dead code and refactoring

Repowise found 28 unused exports. 82 refactoring targets across 82 files would raise the score.

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