Gallery · Architecture explained · Documents
sqlc code health score
The score is the average RepoLens code-health number for the files in this gallery scan. Higher is healthier. The badge below links back to this page.
94/100
362 files analyzed · Average health: 94/100 · 325 A, 13 B, 19 C, 5 D, 0 F
README badge
shields.io fetches the endpoint JSON. The image uses style=flat-square.
[](https://chapibunny.github.io/repolens/sqlc/score/)
The same score is also a square SVG at badge.svg:
[](https://chapibunny.github.io/repolens/sqlc/score/)
| Grade | Files |
|---|---|
| A | 325 |
| B | 13 |
| C | 19 |
| D | 5 |
| F | 0 |
Hotspots
| File | Score | Grade |
|---|---|---|
internal/sql/astutils/rewrite.go | 30 | D |
internal/sql/astutils/walk.go | 30 | D |
internal/sql/catalog/table.go | 30 | D |
internal/sql/catalog/types.go | 31 | D |
internal/sql/preprocess/preprocess.go | 39 | D |
internal/sql/catalog/catalog.go | 41 | C |
internal/sql/ast/a_expr.go | 43 | C |
internal/sql/ast/comment.go | 43 | C |
internal/compiler/compile.go | 45 | C |
internal/compiler/expand.go | 45 | C |
internal/compiler/find_params.go | 45 | C |
internal/compiler/output_columns.go | 45 | C |
Badge for any repository
Run repolens badge --format all --out repolens-badge.json and publish the JSON where shields.io can fetch it (GitHub Pages or a workflow artifact you host). The GitHub Action command: badge writes those files without publishing npm. Point badge-url at the public JSON URL.