← 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

vitest-dev/vitest

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

Health Score

82

healthy

Files

299

analyzed

Hotspots

0

high-risk files

Avg Complexity

12.2

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/expect/src/jest-utils.ts
cx 187 · ch 136%
02packages/expect/src/jest-expect.ts
cx 121 · ch 333%
03packages/mocker/src/node/hoistMocks.ts
cx 100 · ch 432%
04packages/browser/src/node/rpc.ts
cx 66 · ch 632%
05packages/browser/src/node/plugin.ts
cx 68 · ch 731%
06packages/mocker/src/node/automock.ts
cx 32 · ch 030%
07packages/browser/src/client/tester/tester-utils.ts
cx 70 · ch 530%
08packages/browser/src/client/orchestrator.ts
cx 48 · ch 930%
09packages/browser/src/client/tester/context.ts
cx 70 · ch 629%
10packages/browser/src/client/tester/runner.ts
cx 64 · ch 628%

Add this badge to your README

vitest-dev/vitest code health[![tugtug code health](https://tugtug.com/api/badge/vitest-dev/vitest.svg)](https://tugtug.com/report/vitest-dev/vitest)

Brag badges — copy the ones you’re proud of

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

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.