RepoLens

Gallery · Architecture explained · Documents

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

86/100

205 files analyzed · Average health: 86/100 · 148 A, 22 B, 30 C, 5 D, 0 F

README badge

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

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

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

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

SvelteKit code health

Grade distribution
GradeFiles
A148
B22
C30
D5
F0

Hotspots

Hotspots (score under 60)
FileScoreGrade
packages/kit/src/runtime/client/client.js30D
packages/kit/src/runtime/app/server/remote/form.js36D
packages/kit/src/core/sync/create_manifest_data/index.js37D
packages/kit/src/core/env.js39D
packages/kit/src/runtime/server/page/render.js39D
packages/kit/src/runtime/server/respond.js40C
packages/kit/src/runtime/shared.js41C
packages/kit/src/runtime/server/remote-functions.js43C
packages/kit/src/core/postbuild/analyse.js45C
packages/kit/src/core/postbuild/prerender.js45C
packages/kit/src/core/sync/create_manifest_data/sort.js45C
packages/kit/src/core/sync/write_app_types.js45C

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.