# vitest-dev/vitest SLOC report

> vitest-dev/vitest: 95,811 code lines at commit ff6b4275fd76, counted with tokei-15.0.0 on 2026-11-23. Saved result 28bdafc858bf838d541527a868520007f717fb3b9f5b65db9f48aa37a033eec6.

Source: [vitest-dev/vitest on GitHub](https://github.com/vitest-dev/vitest) · counted commit [ff6b4275fd76](https://github.com/vitest-dev/vitest/tree/ff6b4275fd760184955713c940f7bbeba5f30be7)

vitest-dev/vitest has 95,811 source lines of code out of 123,875 total lines across 771 files, counted with tokei from the main ref at commit ff6b4275fd76 on November 23, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving vitest-dev/vitest to commit ff6b4275fd76, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

vitest-dev/vitest: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a medium-sized codebase by counted code lines. Code represents 77.3% of all lines, comments represent 12.5%, and the repository averages 124 code lines per file. TypeScript accounts for 77.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 603 | 97,424 | 74,223 | 13,161 | 10,040 |
| YAML | 4 | 18,924 | 17,276 | 15 | 1,633 |
| JSON | 49 | 1,696 | 1,696 | 0 | 0 |
| JavaScript | 26 | 1,589 | 1,387 | 67 | 135 |
| Vue | 51 | 746 | 664 | 15 | 67 |
| CSS | 1 | 279 | 229 | 22 | 28 |
| SVG | 3 | 150 | 150 | 0 | 0 |
| TOML | 2 | 130 | 96 | 13 | 21 |
| HTML | 4 | 65 | 64 | 1 | 0 |
| TSX | 1 | 32 | 26 | 0 | 6 |
| Markdown | 27 | 2,840 | 0 | 2,195 | 645 |

Top language: TypeScript 77.5%. Generated on November 23, 2026. Canonical report: https://octocounts.com/github/vitest-dev/vitest/commit/ff6b4275fd760184955713c940f7bbeba5f30be7?reportId=28bdafc858bf838d541527a868520007f717fb3b9f5b65db9f48aa37a033eec6&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/vitest-dev/vitest/commit/ff6b4275fd760184955713c940f7bbeba5f30be7?reportId=28bdafc858bf838d541527a868520007f717fb3b9f5b65db9f48aa37a033eec6&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does vitest-dev/vitest have?

vitest-dev/vitest has 95,811 lines of code, plus 15,489 comment lines and 12,575 blank lines, for 123,875 total lines at commit ff6b4275fd76 on November 23, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the vitest-dev/vitest line count measured?

OctoCounts resolved the public GitHub repository to commit ff6b4275fd76, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for vitest-dev/vitest?

This OctoCounts report was generated from main at commit ff6b4275fd76 on November 23, 2026.

## Similar repository reports

- [FaqFirebase/pi-desktop](https://octocounts.com/github/FaqFirebase/pi-desktop) — TypeScript, 95,712 code lines
- [alpic-ai/skybridge](https://octocounts.com/github/alpic-ai/skybridge) — TypeScript, 95,552 code lines
- [subsy/ralph-tui](https://octocounts.com/github/subsy/ralph-tui) — TypeScript, 96,238 code lines
- [wardiclabs/wardic](https://octocounts.com/github/wardiclabs/wardic) — TypeScript, 96,364 code lines
- [keleus/BewlyCat](https://octocounts.com/github/keleus/BewlyCat) — TypeScript, 95,168 code lines
- [yarnpkg/berry](https://octocounts.com/github/yarnpkg/berry) — TypeScript, 96,653 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [Jest vs Vitest](https://octocounts.com/compare/jest-vs-vitest)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [Svelte vs Vue](https://octocounts.com/compare/svelte-vs-vue)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
