# vuejs/pinia SLOC report

> vuejs/pinia: 20,933 code lines at commit 23e12f4e7863, counted with tokei-15.0.0 on 2026-11-23. Saved result bbf9e3cc9fd9ef7d79d0a135e01ab7a1d5a53b602bc2c1cfbe0cdbbc534d7715.

Source: [vuejs/pinia on GitHub](https://github.com/vuejs/pinia) · counted commit [23e12f4e7863](https://github.com/vuejs/pinia/tree/23e12f4e78634703cfb57e6b1df0ca2f73841c49)

vuejs/pinia has 20,933 source lines of code out of 26,673 total lines across 158 files, counted with tokei from the v4 ref at commit 23e12f4e7863 on November 23, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving vuejs/pinia to commit 23e12f4e7863, 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

vuejs/pinia: 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 78.5% of all lines, comments represent 10.9%, and the repository averages 132 code lines per file. TypeScript is the largest programming language at 31.4% of counted code; data and prose formats such as JSON or YAML hold a larger share.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| YAML | 3 | 14,426 | 13,421 | 0 | 1,005 |
| TypeScript | 84 | 9,043 | 6,578 | 1,528 | 937 |
| 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 programming language: TypeScript 31.4%. Generated on November 23, 2026. Canonical report: https://octocounts.com/github/vuejs/pinia/commit/23e12f4e78634703cfb57e6b1df0ca2f73841c49?reportId=bbf9e3cc9fd9ef7d79d0a135e01ab7a1d5a53b602bc2c1cfbe0cdbbc534d7715&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/23e12f4e78634703cfb57e6b1df0ca2f73841c49?reportId=bbf9e3cc9fd9ef7d79d0a135e01ab7a1d5a53b602bc2c1cfbe0cdbbc534d7715&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 20,933 lines of code, plus 2,900 comment lines and 2,840 blank lines, for 26,673 total lines at commit 23e12f4e7863 on November 23, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit 23e12f4e7863, 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 23e12f4e7863 on November 23, 2026.

## Similar repository reports

- [codeacme17/examor](https://octocounts.com/github/codeacme17/examor) — YAML, 21,135 code lines
- [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
- [PatrickKish1/traderX](https://octocounts.com/github/PatrickKish1/traderX) — YAML, 21,855 code lines
- [docmirror/dev-sidecar](https://octocounts.com/github/docmirror/dev-sidecar) — YAML, 20,034 code lines
- [funAgent/ai-bubu](https://octocounts.com/github/funAgent/ai-bubu) — YAML, 19,876 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)
- [Vuex vs Pinia](https://octocounts.com/compare/vuex-vs-pinia)
- [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)
