RepoLens

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.

[![sqlc code health](https://img.shields.io/endpoint?url=https%3A%2F%2Fchapibunny.github.io%2Frepolens%2Fsqlc%2Fbadge.json&style=flat-square)](https://chapibunny.github.io/repolens/sqlc/score/)

The same score is also a square SVG at badge.svg:

[![sqlc code health](https://chapibunny.github.io/repolens/sqlc/badge.svg)](https://chapibunny.github.io/repolens/sqlc/score/)

sqlc code health

Grade distribution
GradeFiles
A325
B13
C19
D5
F0

Hotspots

Hotspots (score under 60)
FileScoreGrade
internal/sql/astutils/rewrite.go30D
internal/sql/astutils/walk.go30D
internal/sql/catalog/table.go30D
internal/sql/catalog/types.go31D
internal/sql/preprocess/preprocess.go39D
internal/sql/catalog/catalog.go41C
internal/sql/ast/a_expr.go43C
internal/sql/ast/comment.go43C
internal/compiler/compile.go45C
internal/compiler/expand.go45C
internal/compiler/find_params.go45C
internal/compiler/output_columns.go45C

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.