RepoLens

Gallery · Architecture explained · Documents

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

75/100

32 files analyzed · Average health: 75/100 · 15 A, 7 B, 10 C, 0 D, 0 F

README badge

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

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

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

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

Fastify code health

Grade distribution
GradeFiles
A15
B7
C10
D0
F0

Hotspots

Hotspots (score under 60)
FileScoreGrade
lib/reply.js44C
fastify.js45C
lib/config-validator.js45C
lib/content-type-parser.js45C
lib/request.js45C
lib/route.js45C
lib/schemas.js45C
lib/server.js45C
lib/validation.js45C
lib/handle-request.js55C

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.