Code health of nandhakishorm/laya
Repowise scores nandhakishorm/laya at 7.4 out of 10 for code health, which reads as good, alongside maintainability 7.5 and static performance 9.9 on the same scale. There are 504 open findings across the three pillars, and the lowest-scoring file is onnx_agent.py at 1.4. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.
Findings by severity
30 critical, 86 high, 148 medium, 220 low.
Hotspots
12 files are flagged as hotspots. The top 5:
- laya/agent.py: 39 commits in the last 90 days from 23 contributors with 19 recent bug fixes
- laya/router.py: 22 commits in the last 90 days from 15 contributors with 10 recent bug fixes
- laya-ts/src/agent.ts: 6 commits in the last 90 days from 3 contributors with 1 recent bug fix
- laya/lang.py: 14 commits in the last 90 days from 11 contributors with 11 recent bug fixes
- laya-ts/src/router.ts: 4 commits in the last 90 days from 2 contributors
Lowest-scoring files
- laya/onnx_agent.py: 1.4 out of 10
- laya/router.py: 1.6 out of 10 with 10 bug fixes in the last 180 days
- laya/agent.py: 1.6 out of 10 with 19 bug fixes in the last 180 days
- laya-ts/src/agent.ts: 2.3 out of 10
- laya/lang.py: 2.8 out of 10 with 11 bug fixes in the last 180 days
Checked against bug fixes
Of the 20 files Repowise scores lowest, 11 had a bug fix in the last 180 days. Across all 135 scored files, 11.1% had a bug fix in that window.
Dead code and refactoring
Repowise found 8 unused exports. 36 refactoring targets across 36 files would raise the score.
More on laya: summary and FAQ, codebase overview, architecture.
Related guide: Best dead code detection tools by language