# react/react-native SLOC report

> react/react-native: 599,307 code lines at commit fe398e511d7b, counted with tokei-15.0.0 on 2026-11-05. Saved result ba0177036e7f55dcf2683e22bcccbbaf612e2f33e1d7433a9406b0fad6e74ba0.

react/react-native has 599,307 source lines of code out of 817,801 total lines across 5,457 files, counted with tokei from the main ref at commit fe398e511d7b on November 5, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving react/react-native to commit fe398e511d7b, 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-native: 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 73.3% of all lines, comments represent 15.8%, and the repository averages 110 code lines per file. JavaScript accounts for 43.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JavaScript | 1,600 | 327,859 | 259,907 | 45,018 | 22,934 |
| Kotlin | 820 | 102,878 | 71,952 | 17,981 | 12,945 |
| C++ | 530 | 91,634 | 70,173 | 8,640 | 12,821 |
| C Header | 1,257 | 95,842 | 54,248 | 23,759 | 17,835 |
| JSON | 75 | 48,766 | 48,766 | 0 | 0 |
| Objective-C++ | 263 | 58,851 | 45,341 | 4,540 | 8,970 |
| TypeScript | 119 | 19,690 | 12,000 | 6,105 | 1,585 |
| Objective-C | 88 | 11,637 | 8,617 | 1,170 | 1,850 |
| Java | 14 | 9,197 | 6,641 | 1,461 | 1,095 |
| Python | 44 | 5,889 | 4,476 | 488 | 925 |
| CMake | 146 | 5,182 | 3,540 | 788 | 854 |
| Ruby | 21 | 5,015 | 3,437 | 867 | 711 |
| XML | 261 | 3,976 | 3,171 | 716 | 89 |
| TSX | 8 | 3,036 | 2,542 | 155 | 339 |
| Shell | 33 | 2,638 | 1,495 | 756 | 387 |
| Swift | 6 | 1,269 | 971 | 145 | 153 |
| YAML | 15 | 918 | 914 | 2 | 2 |
| GNU Style Assembly | 12 | 1,073 | 424 | 501 | 148 |
| Batch | 3 | 279 | 216 | 0 | 63 |
| Prolog | 4 | 138 | 114 | 0 | 24 |
| TOML | 2 | 124 | 114 | 3 | 7 |
| C | 1 | 158 | 108 | 30 | 20 |
| SVG | 12 | 52 | 52 | 0 | 0 |
| Module-Definition | 1 | 38 | 36 | 0 | 2 |
| HTML | 2 | 30 | 30 | 0 | 0 |
| Pan | 1 | 19 | 17 | 0 | 2 |
| Autoconf | 1 | 10 | 3 | 4 | 3 |
| Xcode Config | 1 | 12 | 2 | 9 | 1 |
| Markdown | 117 | 21,591 | 0 | 16,368 | 5,223 |

Top language: JavaScript 43.4%. Generated on November 5, 2026. Canonical report: https://octocounts.com/github/react/react-native/commit/fe398e511d7b4cfa22baf5b449e256ff9b7d66c4?reportId=ba0177036e7f55dcf2683e22bcccbbaf612e2f33e1d7433a9406b0fad6e74ba0&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/react/react-native/commit/fe398e511d7b4cfa22baf5b449e256ff9b7d66c4?reportId=ba0177036e7f55dcf2683e22bcccbbaf612e2f33e1d7433a9406b0fad6e74ba0&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 react/react-native have?

react/react-native has 599,307 lines of code, plus 129,506 comment lines and 88,988 blank lines, for 817,801 total lines at commit fe398e511d7b on November 5, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit fe398e511d7b, 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-native?

This OctoCounts report was generated from main at commit fe398e511d7b on November 5, 2026.

## Similar repository reports

- [mshiravi433-ctrl/fbtcryp](https://octocounts.com/github/mshiravi433-ctrl/fbtcryp) — JavaScript, 668,979 code lines
- [lackx741-tech/aegion](https://octocounts.com/github/lackx741-tech/aegion) — JavaScript, 527,031 code lines
- [CesiumGS/cesium](https://octocounts.com/github/CesiumGS/cesium) — JavaScript, 681,960 code lines
- [bilawalsidhu/gods-eye-view](https://octocounts.com/github/bilawalsidhu/gods-eye-view) — JavaScript, 717,238 code lines
- [DenisovAV/flutter_edge_ai](https://octocounts.com/github/DenisovAV/flutter_edge_ai) — JavaScript, 783,600 code lines
- [chiikabu/the-browsing-of-isaac](https://octocounts.com/github/chiikabu/the-browsing-of-isaac) — JavaScript, 431,605 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 Native vs Flutter](https://octocounts.com/compare/react-native-vs-flutter)
- [React vs Vue](https://octocounts.com/compare/react-vs-vue)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Vite vs webpack](https://octocounts.com/compare/vite-vs-webpack)
- [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)
