repowiseersinkoc/phonebox

Code health of ersinkoc/phonebox

Repowise scores ersinkoc/phonebox at 7.6 out of 10 for code health, which reads as good, alongside maintainability 8.8 and static performance 9.9 on the same scale. There are 1,563 open findings across the three pillars, and the lowest-scoring file is main.js at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

160 critical, 306 high, 951 medium, 146 low.

Hotspots

58 files are flagged as hotspots. The top 5:

  • android/app/src/main/assets/www/i18n.js: 120 commits in the last 90 days from 37 contributors with 4 recent bug fixes
  • android/app/src/main/assets/www/locale-existing.js: 72 commits in the last 90 days from 27 contributors with 6 recent bug fixes
  • android/app/src/main/assets/www/main.js: 92 commits in the last 90 days from 27 contributors with 1 recent bug fix
  • android/app/src/main/assets/www/widgets/pc.js: 27 commits in the last 90 days from 10 contributors with 1 recent bug fix
  • android/app/src/main/assets/www/locale-zh-Hant.js: 108 commits in the last 90 days from 32 contributors with 6 recent bug fixes

Lowest-scoring files

  • android/app/src/main/assets/www/main.js: 1.0 out of 10
  • tools/pages/demo.js: 1.0 out of 10
  • android/app/src/main/assets/www/widgets/pc.js: 1.0 out of 10
  • android/app/src/main/assets/www/widgets/basic.js: 1.0 out of 10 with 2 bug fixes in the last 180 days
  • android/app/src/main/assets/www/widgets/controls.js: 1.0 out of 10 with 2 bug fixes in the last 180 days

Checked against bug fixes

Of the 20 files Repowise scores lowest, 7 had a bug fix in the last 180 days. Across all 761 scored files, 3.9% had a bug fix in that window.

Dead code and refactoring

Repowise found 1 unused export. 57 refactoring targets across 57 files would raise the score.

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

Related guide: Best dead code detection tools by language