Code health of 2233admin/react-grid-layout
Repowise scores 2233admin/react-grid-layout at 8.2 out of 10 for code health, which reads as good, alongside maintainability 8.8 and static performance 10.0 on the same scale. There are 109 open findings across the three pillars, and the lowest-scoring file is layout.ts at 3.1. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.
Findings by severity
10 critical, 27 high, 24 medium, 34 low.
Lowest-scoring files
- src/core/layout.ts: 3.1 out of 10
- src/react/components/GridLayout.tsx: 3.4 out of 10 with 2 bug fixes in the last 180 days
- src/core/compactors.ts: 5.3 out of 10
- test/spec/benchmark-test.js: 5.4 out of 10
- src/extras/fastHorizontalCompactor.ts: 5.8 out of 10
Checked against bug fixes
Of the 20 files Repowise scores lowest, 4 had a bug fix in the last 180 days. Across all 108 scored files, 10.2% had a bug fix in that window.
Dead code and refactoring
Repowise found 6 unused exports.
More on react-grid-layout: summary and FAQ, codebase overview, architecture.
Related guide: Best dead code detection tools by language