# vitest-dev/vitest SLOC report

> As of 2026-09-16 (commit 0780a8e5b796), vitest-dev/vitest contains 120,001 total lines: 93,179 code, 14,703 comments, 12,119 blank, across 748 files in 11 languages (top: TypeScript 75.3%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

vitest-dev/vitest has 93,179 source lines of code out of 120,001 total lines across 748 files, counted from the 0780a8e5b7967a4168173599e9c74fb79aab2483 ref at commit 0780a8e5b796 by the OctoCounts tokei engine on 2026-09-16. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving vitest-dev/vitest to commit 0780a8e5b796, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a medium-sized codebase by counted code lines. Code represents 77.6% of all lines, comments represent 12.3%, and the repository averages 125 code lines per file. TypeScript accounts for 75.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 580 | 92,032 | 70,132 | 12,425 | 9,475 |
| YAML | 4 | 20,385 | 18,579 | 14 | 1,792 |
| JSON | 49 | 1,732 | 1,732 | 0 | 0 |
| JavaScript | 27 | 1,805 | 1,583 | 82 | 140 |
| Vue | 50 | 677 | 596 | 15 | 66 |
| CSS | 1 | 259 | 215 | 20 | 24 |
| SVG | 3 | 150 | 150 | 0 | 0 |
| TOML | 2 | 134 | 100 | 13 | 21 |
| HTML | 4 | 67 | 66 | 1 | 0 |
| TSX | 1 | 32 | 26 | 0 | 6 |
| Markdown | 27 | 2,728 | 0 | 2,133 | 595 |

Top language (TypeScript 75.3%). Generated at 2026-09-16T10:56:44.920910846+00:00. Canonical report: https://octocounts.com/github/vitest-dev/vitest

## Reproduce this report

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

## Report FAQ

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

vitest-dev/vitest has 120,001 total lines, including 93,179 code lines, 14,703 comment lines, and 12,119 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 0780a8e5b796, 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 0780a8e5b7967a4168173599e9c74fb79aab2483 at commit 0780a8e5b796 on 2026-09-16T10:56:44.920910846+00:00.

## Similar repository reports

- [alpic-ai/skybridge](https://octocounts.com/github/alpic-ai/skybridge) — TypeScript, 91,821 code lines
- [XiaoYouChR/Ghost-Downloader-3](https://octocounts.com/github/XiaoYouChR/Ghost-Downloader-3) — TypeScript, 94,884 code lines
- [withastro/flue](https://octocounts.com/github/withastro/flue) — TypeScript, 91,469 code lines
- [TouchAI-org/TouchAI](https://octocounts.com/github/TouchAI-org/TouchAI) — TypeScript, 95,049 code lines
- [markdown-viewer/markdown-viewer-extension](https://octocounts.com/github/markdown-viewer/markdown-viewer-extension) — TypeScript, 90,608 code lines
- [yarnpkg/berry](https://octocounts.com/github/yarnpkg/berry) — TypeScript, 95,811 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)
- [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)
- [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)
