# react/react SLOC report

> As of 2026-11-06 (commit d71b537241d2), react/react contains 462,369 total lines: 366,426 code, 59,511 comments, 36,432 blank, across 2,135 files in 11 languages (top language: JavaScript 63.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

react/react has 366,426 source lines of code out of 462,369 total lines across 2,135 files, counted with tokei from the main ref at commit d71b537241d2 on November 6, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving react/react to commit d71b537241d2, 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

react/react: 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 79.2% of all lines, comments represent 12.9%, and the repository averages 172 code lines per file. JavaScript accounts for 63.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JavaScript | 1,476 | 294,170 | 231,789 | 38,573 | 23,808 |
| Rust | 118 | 73,792 | 65,006 | 3,802 | 4,984 |
| TypeScript | 221 | 75,125 | 60,520 | 10,258 | 4,347 |
| JSON | 86 | 3,538 | 3,530 | 0 | 8 |
| CSS | 88 | 3,828 | 3,283 | 61 | 484 |
| TSX | 15 | 1,591 | 1,333 | 153 | 105 |
| HTML | 23 | 438 | 416 | 9 | 13 |
| Shell | 19 | 531 | 316 | 118 | 97 |
| TOML | 14 | 247 | 223 | 4 | 20 |
| SVG | 7 | 10 | 10 | 0 | 0 |
| Markdown | 68 | 9,099 | 0 | 6,533 | 2,566 |

Top language: JavaScript 63.3%. Generated on November 6, 2026. Canonical report: https://octocounts.com/github/react/react

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/react/react/commit/d71b537241d26861df496413db2142c7ba192c25?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&reportId=5d150a1d016a3d9bbd2b5ed836956e83df38586532c89c654d9978bab71dc7f7).

## Report FAQ

### How many lines of code does react/react have?

react/react has 366,426 lines of code, plus 59,511 comment lines and 36,432 blank lines, for 462,369 total lines at commit d71b537241d2 on November 6, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the react/react line count measured?

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

### What commit was counted for react/react?

This OctoCounts report was generated from main at commit d71b537241d2 on November 6, 2026.

## Similar repository reports

- [petanderson239-cell/legion-engine](https://octocounts.com/github/petanderson239-cell/legion-engine) — JavaScript, 365,322 code lines
- [lili-luo/aicoding-cookbook](https://octocounts.com/github/lili-luo/aicoding-cookbook) — JavaScript, 360,718 code lines
- [usebruno/bruno](https://octocounts.com/github/usebruno/bruno) — JavaScript, 355,635 code lines
- [mejango/juicescan](https://octocounts.com/github/mejango/juicescan) — JavaScript, 352,486 code lines
- [fishjar/kiss-translator](https://octocounts.com/github/fishjar/kiss-translator) — JavaScript, 339,214 code lines
- [tastejs/todomvc](https://octocounts.com/github/tastejs/todomvc) — JavaScript, 332,898 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)
- [React vs Vue](https://octocounts.com/compare/react-vs-vue)
- [Angular vs React](https://octocounts.com/compare/angular-vs-react)
- [Svelte vs React](https://octocounts.com/compare/svelte-vs-react)
- [SolidJS vs React](https://octocounts.com/compare/solidjs-vs-react)
- [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)
