Gallery · Architecture explained · Documents
FastAPI 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
52 files analyzed · Average health: 89/100 · 41 A, 2 B, 9 C, 0 D, 0 F
README badge
shields.io fetches the endpoint JSON. The image uses style=flat-square.
[](https://chapibunny.github.io/repolens/fastapi/score/)
The same score is also a square SVG at badge.svg:
[](https://chapibunny.github.io/repolens/fastapi/score/)
| Grade | Files |
|---|---|
| A | 41 |
| B | 2 |
| C | 9 |
| D | 0 |
| F | 0 |
Hotspots
| File | Score | Grade |
|---|---|---|
fastapi/encoders.py | 45 | C |
fastapi/routing.py | 45 | C |
fastapi/dependencies/utils.py | 45 | C |
fastapi/openapi/utils.py | 45 | C |
fastapi/telemetry/_asgi.py | 45 | C |
fastapi/telemetry/_runtime.py | 45 | C |
fastapi/_compat/v2.py | 46 | C |
fastapi/dependencies/models.py | 54 | C |
fastapi/_compat/shared.py | 58 | C |
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.