Code health of snowarch/inir
Repowise scores snowarch/inir at 7.5 out of 10 for code health, which reads as good, alongside maintainability 9.4 and static performance 9.9 on the same scale. There are 2,418 open findings across the three pillars, and the lowest-scoring file is doctor.sh at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.
Findings by severity
270 critical, 456 high, 647 medium, 711 low.
Hotspots
263 files are flagged as hotspots. The top 5:
- modules/settings/DesktopWidgetsConfig.qml: 27 commits in the last 90 days from 1 contributor with 4 recent bug fixes
- modules/settings/BarConfig.qml: 22 commits in the last 90 days from 1 contributor with 7 recent bug fixes
- modules/background/Background.qml: 34 commits in the last 90 days from 1 contributor with 14 recent bug fixes
- modules/common/Config.qml: 86 commits in the last 90 days from 2 contributors with 16 recent bug fixes
- modules/background/widgets/AbstractBackgroundWidget.qml: 17 commits in the last 90 days from 1 contributor with 6 recent bug fixes
Lowest-scoring files
- sdata/lib/doctor.sh: 1.0 out of 10 with 7 bug fixes in the last 180 days
- scripts/lib/generate-ipc-registry.py: 1.0 out of 10 with 2 bug fixes in the last 180 days
- scripts/cava/resolve_audio_source.py: 1.2 out of 10 with 1 bug fix in the last 180 days
- scripts/niri-config.py: 2.0 out of 10 with 3 bug fixes in the last 180 days
- sdata/lib/functions.sh: 2.5 out of 10 with 7 bug fixes in the last 180 days
Checked against bug fixes
Of the 20 files Repowise scores lowest, 20 had a bug fix in the last 180 days. Across all 1,476 scored files, 31.0% had a bug fix in that window.
Dead code and refactoring
Repowise found 15 unused exports. 56 refactoring targets across 56 files would raise the score.
More on inir: summary and FAQ, codebase overview, architecture.