RepoLens

Gallery · Architecture explained · Documents

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

89/100

73 files analyzed · Average health: 89/100 · 58 A, 7 B, 7 C, 1 D, 0 F

README badge

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

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

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

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

tRPC code health

Grade distribution
GradeFiles
A58
B7
C7
D1
F0

Hotspots

Hotspots (score under 60)
FileScoreGrade
packages/server/src/unstable-core-do-not-import/http/contentType.ts36D
packages/server/src/adapters/aws-lambda/getPlanner.ts45C
packages/server/src/adapters/ws.ts45C
packages/server/src/unstable-core-do-not-import/router.ts45C
packages/server/src/unstable-core-do-not-import/http/resolveResponse.ts45C
packages/server/src/unstable-core-do-not-import/stream/jsonl.ts45C
packages/server/src/unstable-core-do-not-import/procedureBuilder.ts56C
packages/server/src/unstable-core-do-not-import/clientish/serialize.ts59C

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.