RepoLens

Gallery · Architecture explained · Documents

NestJS 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

430 files analyzed · Average health: 93/100 · 377 A, 21 B, 26 C, 6 D, 0 F

README badge

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

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

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

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

NestJS code health

Grade distribution
GradeFiles
A377
B21
C26
D6
F0

Hotspots

Hotspots (score under 60)
FileScoreGrade
packages/core/injector/injector.ts30D
packages/core/injector/instance-wrapper.ts30D
packages/core/injector/module.ts30D
packages/core/nest-application.ts37D
packages/core/middleware/utils.ts38D
packages/core/router/router-explorer.ts38D
packages/common/services/logger.service.ts41C
packages/core/scanner.ts42C
packages/common/pipes/validation.pipe.ts44C
packages/common/interfaces/http/http-server.interface.ts45C
packages/common/pipes/parse-array.pipe.ts45C
packages/common/services/console-logger.service.ts45C

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.