# storybookjs/storybook SLOC report

> storybookjs/storybook: 629,078 code lines at commit f5a24e569b3a, counted with tokei-15.0.0 on 2026-11-16. Saved result 3942b672ad595c3ba85fef6ec84020f84bfacb672cfae5363702407497a31ded.

storybookjs/storybook has 629,078 source lines of code out of 799,930 total lines across 6,478 files, counted with tokei from the next ref at commit f5a24e569b3a on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving storybookjs/storybook to commit f5a24e569b3a, 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

storybookjs/storybook: 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 large codebase by counted code lines. Code represents 78.6% of all lines, comments represent 10.3%, and the repository averages 97 code lines per file. TypeScript accounts for 76.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 4,175 | 586,384 | 483,361 | 40,404 | 62,619 |
| TSX | 738 | 80,822 | 68,757 | 3,344 | 8,721 |
| JSON | 565 | 62,423 | 62,410 | 0 | 13 |
| JavaScript | 237 | 7,956 | 6,251 | 756 | 949 |
| Svelte | 209 | 3,303 | 2,718 | 155 | 430 |
| JSX | 64 | 3,117 | 2,356 | 519 | 242 |
| CSS | 47 | 1,357 | 1,262 | 6 | 89 |
| Vue | 125 | 610 | 491 | 1 | 118 |
| Python | 1 | 531 | 447 | 42 | 42 |
| HTML | 20 | 381 | 366 | 3 | 12 |
| YAML | 9 | 309 | 288 | 5 | 16 |
| Pug | 44 | 146 | 139 | 0 | 7 |
| Shell | 6 | 182 | 118 | 29 | 35 |
| SVG | 12 | 57 | 55 | 0 | 2 |
| Sass | 12 | 45 | 37 | 7 | 1 |
| Dockerfile | 1 | 29 | 19 | 4 | 6 |
| TOML | 1 | 5 | 3 | 2 | 0 |
| MDX | 37 | 2,937 | 0 | 2,574 | 363 |
| Markdown | 168 | 49,011 | 0 | 34,018 | 14,993 |
| Plain Text | 7 | 325 | 0 | 261 | 64 |

Top language: TypeScript 76.8%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/storybookjs/storybook/commit/f5a24e569b3a85085d2fd430c54868f095067a54?reportId=3942b672ad595c3ba85fef6ec84020f84bfacb672cfae5363702407497a31ded&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/storybookjs/storybook/commit/f5a24e569b3a85085d2fd430c54868f095067a54?reportId=3942b672ad595c3ba85fef6ec84020f84bfacb672cfae5363702407497a31ded&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 storybookjs/storybook have?

storybookjs/storybook has 629,078 lines of code, plus 82,130 comment lines and 88,722 blank lines, for 799,930 total lines at commit f5a24e569b3a on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the storybookjs/storybook line count measured?

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

### What commit was counted for storybookjs/storybook?

This OctoCounts report was generated from next at commit f5a24e569b3a on November 16, 2026.

## Similar repository reports

- [agalwood/Motrix](https://octocounts.com/github/agalwood/Motrix) — TypeScript, 629,864 code lines
- [calcom/cal.diy](https://octocounts.com/github/calcom/cal.diy) — TypeScript, 635,133 code lines
- [dream-num/univer](https://octocounts.com/github/dream-num/univer) — TypeScript, 619,047 code lines
- [LegspCpd/formbricks-worker](https://octocounts.com/github/LegspCpd/formbricks-worker) — TypeScript, 615,802 code lines
- [generalaction/emdash](https://octocounts.com/github/generalaction/emdash) — TypeScript, 610,802 code lines
- [mumble-voip/mumble](https://octocounts.com/github/mumble-voip/mumble) — TypeScript, 608,877 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)
- [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)
