# react/react-native SLOC report

> As of 2026-10-22 (commit 05a2e4c79975), react/react-native contains 819,545 total lines: 600,185 code, 129,711 comments, 89,649 blank, across 5,471 files in 29 languages (top: JavaScript 43.4%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

react/react-native has 600,185 source lines of code out of 819,545 total lines across 5,471 files, counted from the main ref at commit 05a2e4c79975 by the OctoCounts tokei engine on 2026-10-22. 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 react/react-native to commit 05a2e4c79975, 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 large codebase by counted code lines. Code represents 73.2% 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,616 | 328,642 | 260,326 | 45,191 | 23,125 |
| Kotlin | 818 | 102,398 | 71,636 | 17,849 | 12,913 |
| C++ | 527 | 91,052 | 69,739 | 8,550 | 12,763 |
| C Header | 1,268 | 96,815 | 54,561 | 24,217 | 18,037 |
| JSON | 74 | 48,746 | 48,746 | 0 | 0 |
| Objective-C++ | 260 | 57,993 | 44,670 | 4,458 | 8,865 |
| TypeScript | 120 | 19,707 | 12,002 | 6,118 | 1,587 |
| Objective-C | 102 | 14,497 | 10,807 | 1,330 | 2,360 |
| Java | 14 | 9,228 | 6,665 | 1,468 | 1,095 |
| Python | 44 | 5,889 | 4,476 | 488 | 925 |
| CMake | 146 | 5,178 | 3,536 | 788 | 854 |
| Ruby | 21 | 4,941 | 3,385 | 856 | 700 |

Top language (JavaScript 43.4%). Generated at 2026-10-22T05:45:10.094189612+00:00. Canonical report: https://octocounts.com/github/react/react-native

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/react/react-native/commit/05a2e4c7997529530f264751bbb3cf1d2178423a?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=cbd95f24e4e72123679abe807bbdfc92a7faffabf9687f525442840032b13725).

## Report FAQ

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

react/react-native has 819,545 total lines, including 600,185 code lines, 129,711 comment lines, and 89,649 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 05a2e4c79975, 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 05a2e4c79975 on 2026-10-22T05:45:10.094189612+00:00.

## Similar repository reports

- [bilawalsidhu/gods-eye-view](https://octocounts.com/github/bilawalsidhu/gods-eye-view) — JavaScript, 594,851 code lines
- [mshiravi433-ctrl/fbtcryp](https://octocounts.com/github/mshiravi433-ctrl/fbtcryp) — JavaScript, 581,034 code lines
- [CesiumGS/cesium](https://octocounts.com/github/CesiumGS/cesium) — JavaScript, 679,655 code lines
- [lackx741-tech/aegion](https://octocounts.com/github/lackx741-tech/aegion) — JavaScript, 527,031 code lines
- [DenisovAV/flutter_edge_ai](https://octocounts.com/github/DenisovAV/flutter_edge_ai) — JavaScript, 730,903 code lines
- [alam00000/bentopdf](https://octocounts.com/github/alam00000/bentopdf) — JavaScript, 446,825 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)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Vite vs webpack](https://octocounts.com/compare/vite-vs-webpack)
- [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)
