# facebook/react-native SLOC report

> As of 2026-09-21 (commit 68542c5cc8ce), facebook/react-native contains 805,907 total lines: 590,523 code, 127,302 comments, 88,082 blank, across 5,417 files in 29 languages (top: JavaScript 43.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

facebook/react-native has 590,523 source lines of code out of 805,907 total lines across 5,417 files, counted from the main ref at commit 68542c5cc8ce by the OctoCounts tokei engine on 2026-09-21. 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 facebook/react-native to commit 68542c5cc8ce, 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.3% of all lines, comments represent 15.8%, and the repository averages 109 code lines per file. JavaScript accounts for 43.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JavaScript | 1,603 | 325,584 | 257,805 | 44,816 | 22,963 |
| Kotlin | 809 | 99,714 | 69,569 | 17,481 | 12,664 |
| C++ | 515 | 86,927 | 66,338 | 8,274 | 12,315 |
| C Header | 1,266 | 97,404 | 55,400 | 24,028 | 17,976 |
| JSON | 74 | 48,745 | 48,745 | 0 | 0 |
| Objective-C++ | 255 | 56,225 | 43,330 | 4,318 | 8,577 |
| TypeScript | 120 | 19,584 | 11,901 | 6,109 | 1,574 |
| Objective-C | 101 | 14,318 | 10,662 | 1,323 | 2,333 |
| Java | 14 | 8,895 | 6,419 | 1,407 | 1,069 |
| Python | 43 | 5,457 | 4,131 | 468 | 858 |
| CMake | 145 | 5,066 | 3,460 | 768 | 838 |
| Ruby | 21 | 4,763 | 3,254 | 830 | 679 |

Top language (JavaScript 43.7%). Generated at 2026-09-21T09:05:35.700381300+00:00. Canonical report: https://octocounts.com/github/facebook/react-native

## Reproduce this report

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

## Report FAQ

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

facebook/react-native has 805,907 total lines, including 590,523 code lines, 127,302 comment lines, and 88,082 blank lines.

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

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

### What commit was counted for facebook/react-native?

This OctoCounts report was generated from main at commit 68542c5cc8ce on 2026-09-21T09:05:35.700381300+00:00.

## Similar repository reports

- [antfu/talks](https://octocounts.com/github/antfu/talks) — JavaScript, 464,561 code lines
- [wlsdks/ontology-atlas](https://octocounts.com/github/wlsdks/ontology-atlas) — JavaScript, 460,756 code lines
- [alam00000/bentopdf](https://octocounts.com/github/alam00000/bentopdf) — JavaScript, 394,423 code lines
- [facebook/react](https://octocounts.com/github/facebook/react) — JavaScript, 364,889 code lines
- [react/react](https://octocounts.com/github/react/react) — JavaScript, 364,586 code lines
- [lili-luo/aicoding-cookbook](https://octocounts.com/github/lili-luo/aicoding-cookbook) — JavaScript, 360,718 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)
