Code health of kovah/linkace
Repowise scores kovah/linkace at 9.1 out of 10 for code health, which reads as excellent, alongside maintainability 9.7 and static performance 10.0 on the same scale. There are 573 open findings across the three pillars, and the lowest-scoring file is SearchController.php at 4.1. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.
Findings by severity
17 critical, 20 high, 4 medium, 31 low.
Hotspots
18 files are flagged as hotspots. The top 5:
- tests/Search/ScoutSearchBackendTest.php: 3 commits in the last 90 days from 1 contributor
- tests/Commands/SearchSetupCommandTest.php: 3 commits in the last 90 days from 1 contributor
- config/scout.php: 3 commits in the last 90 days from 1 contributor
- tests/Controller/Guest/SearchControllerTest.php: 4 commits in the last 90 days from 2 contributors
- tests/Search/External/ExternalSearchTestCase.php: 3 commits in the last 90 days from 1 contributor
Lowest-scoring files
- app/Http/Controllers/App/SearchController.php: 4.1 out of 10
- app/Http/Controllers/Traits/SearchesLinks.php: 4.5 out of 10
- app/Search/ScoutSearchBackend.php: 5.2 out of 10
- app/Models/LinkList.php: 5.9 out of 10 with 1 bug fix in the last 180 days
- app/Models/Link.php: 5.9 out of 10 with 1 bug fix in the last 180 days
Checked against bug fixes
Of the 20 files Repowise scores lowest, 2 had a bug fix in the last 180 days. Across all 1,096 scored files, 0.6% had a bug fix in that window.
Dead code and refactoring
Repowise found 35 unused exports. 7 refactoring targets across 7 files would raise the score.
More on linkace: summary and FAQ, codebase overview, architecture.