# vuejs/pinia SLOC report

> vuejs/pinia: 20,922 code lines at commit cd4bbbda3e2c, counted with tokei-14.0.0 on 2026-10-21. Saved result 4966a79786f4b2ee3de23b2c7bb3f723cdb46782a7083f7f1aba7c7f19768620.

vuejs/pinia has 20,922 source lines of code out of 26,657 total lines across 157 files, counted from the v4 ref at commit cd4bbbda3e2c by the OctoCounts tokei engine on 2026-10-21. 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 vuejs/pinia to commit cd4bbbda3e2c, 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 78.5% of all lines, comments represent 10.9%, and the repository averages 133 code lines per file. YAML accounts for 64.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| YAML | 3 | 14,426 | 13,421 | 0 | 1,005 |
| TypeScript | 83 | 9,027 | 6,567 | 1,527 | 933 |
| JSON | 17 | 484 | 484 | 0 | 0 |
| Vue | 26 | 247 | 210 | 0 | 37 |
| JavaScript | 7 | 165 | 132 | 17 | 16 |
| HTML | 3 | 50 | 48 | 0 | 2 |
| SVG | 4 | 48 | 48 | 0 | 0 |
| TOML | 2 | 11 | 10 | 0 | 1 |
| Shell | 2 | 21 | 2 | 12 | 7 |
| Markdown | 10 | 2,178 | 0 | 1,343 | 835 |

Top language (YAML 64.1%). Generated at 2026-10-21T03:58:04.051257010Z. Canonical report: https://octocounts.com/github/vuejs/pinia/commit/cd4bbbda3e2c6e27d82b2d7242c55d5f31eb696d?reportId=4966a79786f4b2ee3de23b2c7bb3f723cdb46782a7083f7f1aba7c7f19768620&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/vuejs/pinia/commit/cd4bbbda3e2c6e27d82b2d7242c55d5f31eb696d?reportId=4966a79786f4b2ee3de23b2c7bb3f723cdb46782a7083f7f1aba7c7f19768620&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 vuejs/pinia have?

vuejs/pinia has 26,657 total lines, including 20,922 code lines, 2,899 comment lines, and 2,836 blank lines.

### How was the vuejs/pinia line count measured?

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

### What commit was counted for vuejs/pinia?

This OctoCounts report was generated from v4 at commit cd4bbbda3e2c on 2026-10-21T03:58:04.051257010Z.

## Similar repository reports

- [haloydev/examples](https://octocounts.com/github/haloydev/examples) — YAML, 20,496 code lines
- [CopilotKit/OpenIntelligentUI](https://octocounts.com/github/CopilotKit/OpenIntelligentUI) — YAML, 20,119 code lines
- [docmirror/dev-sidecar](https://octocounts.com/github/docmirror/dev-sidecar) — YAML, 19,420 code lines
- [vercel-labs/nostics](https://octocounts.com/github/vercel-labs/nostics) — YAML, 18,998 code lines
- [cncf/sbom](https://octocounts.com/github/cncf/sbom) — YAML, 23,143 code lines
- [plannotator/effective-html](https://octocounts.com/github/plannotator/effective-html) — YAML, 18,677 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)
- [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)
