← tugtug

Full product

This is the public preview. Use tugtug on your own repos to unlock the full dashboard: history, coupling, code-quality findings, reruns, and private-repo analysis.

Public code health report

vitejs/vite

Complexity × churn hotspots for a public GitHub repo, analyzed July 1, 2026.

Health Score

82

healthy

Files

296

analyzed

Hotspots

2

high-risk files

Avg Complexity

18

cyclomatic

Hotspot map

Bubble size = complexity · Color = churn frequency · Position = risk

drag to pan
low → high churn

Higher-risk files float upward so the most volatile complexity clusters are easy to spot.

Top hotspots

01packages/vite/src/node/plugins/css.ts
cx 393 · ch 1888%
02packages/vite/src/node/config.ts
cx 264 · ch 1860%
03packages/vite/src/node/plugins/html.ts
cx 204 · ch 948%
04packages/vite/src/node/build.ts
cx 225 · ch 840%
05packages/vite/src/node/plugins/importAnalysisBuild.ts
cx 107 · ch 331%
06packages/vite/src/node/server/index.ts
cx 112 · ch 1431%
07packages/vite/src/node/server/hmr.ts
cx 125 · ch 430%
08packages/vite/src/node/plugins/importAnalysis.ts
cx 177 · ch 328%
09packages/vite/src/node/server/middlewares/indexHtml.ts
cx 81 · ch 627%
10packages/vite/src/node/optimizer/resolve.ts
cx 23 · ch 125%

Add this badge to your README

vitejs/vite code health[![tugtug code health](https://tugtug.com/api/badge/vitejs/vite.svg)](https://tugtug.com/report/vitejs/vite)

Brag badges — copy the ones you’re proud of

tugtug hotspot-free[![tugtug hotspot-free](https://tugtug.com/api/badge/vitejs/vite.svg?metric=hotspots)](https://tugtug.com/report/vitejs/vite)
tugtug security clean[![tugtug security clean](https://tugtug.com/api/badge/vitejs/vite.svg?metric=security)](https://tugtug.com/report/vitejs/vite)
tugtug low duplication[![tugtug low duplication](https://tugtug.com/api/badge/vitejs/vite.svg?metric=duplication)](https://tugtug.com/report/vitejs/vite)
tugtug all exports used[![tugtug all exports used](https://tugtug.com/api/badge/vitejs/vite.svg?metric=deadcode)](https://tugtug.com/report/vitejs/vite)

Analyze your own repos

Sign in with GitHub to track health over time, get weekly alerts, and see your full coupling graph.

Sign in with GitHub →

tugtug · Evaluate any public GitHub repo.