repowisefloratina/obsidian-refined-layout

Code health of floratina/obsidian-refined-layout

Repowise scores floratina/obsidian-refined-layout at 5.5 out of 10 for code health, which reads as fair, alongside maintainability 7.1 and static performance 9.9 on the same scale. There are 64 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

13 critical, 8 high, 32 medium, 11 low.

Hotspots

7 files are flagged as hotspots. The top 5:

  • main.js: 37 commits in the last 90 days from 1 contributor with 3 recent bug fixes
  • src/settings-tab.ts: 22 commits in the last 90 days from 1 contributor with 1 recent bug fix
  • scripts/check-css.mjs: 20 commits in the last 90 days from 1 contributor
  • src/settings.ts: 12 commits in the last 90 days from 1 contributor
  • src/main.ts: 17 commits in the last 90 days from 1 contributor with 2 recent bug fixes

Lowest-scoring files

  • main.js: 1.0 out of 10 with 3 bug fixes in the last 180 days
  • src/blank-line-navigation.ts: 2.7 out of 10 with 2 bug fixes in the last 180 days
  • src/settings-tab.ts: 4.5 out of 10
  • tests/blank-line-navigation/browser.mjs: 5.1 out of 10 with 2 bug fixes in the last 180 days
  • src/settings.ts: 6.7 out of 10

Checked against bug fixes

Of the 20 files Repowise scores lowest, 5 had a bug fix in the last 180 days. Across all 28 scored files, 17.9% had a bug fix in that window.

Dead code and refactoring

3 refactoring targets across 3 files would raise the score.

More on obsidian-refined-layout: summary and FAQ, codebase overview, architecture.

Related guide: Best dead code detection tools by language