RepoLens

Gallery · Architecture explained · Documents

Gin 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.

93/100

58 files analyzed · Average health: 93/100 · 52 A, 0 B, 6 C, 0 D, 0 F

README badge

shields.io fetches the endpoint JSON. The image uses style=flat-square.

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

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

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

Gin code health

Grade distribution
GradeFiles
A52
B0
C6
D0
F0

Hotspots

Hotspots (score under 60)
FileScoreGrade
binding/form_mapping.go45C
gin.go45C
path.go45C
tree.go45C
context.go46C
logger.go48C

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.