This page compares the source lines of code (SLOC) of facebook/react-native and flutter/flutter using cached OctoCounts reports. Code size is not code quality: a larger count only means more source material, not a better or worse project.
As of 2026-09-07, facebook/react-native contains 797,508 total lines (583,564 code) across 5,399 files, while flutter/flutter contains 2,289,612 total lines (1,609,067 code) across 9,799 files as of 2026-09-07. flutter/flutter is about 2.8x the size of facebook/react-native by code lines. Code size is not code quality: a larger count only means more source material, not a better or worse project.
| Metric | facebook/react-native | flutter/flutter |
|---|---|---|
| Files | 5,399 | 9,799 |
| Total lines | 797,508 | 2,289,612 |
| Code lines | 583,564 | 1,609,067 |
| Comment lines | 126,365 | 410,569 |
| Blank lines | 87,579 | 269,976 |
| Languages counted | 12 | 12 |
Top languages in facebook/react-native: JavaScript (43.1% of code), Kotlin (11.9% of code), C++ (11.4% of code). Top languages in flutter/flutter: Dart (59.9% of code), C++ (22.1% of code), C Header (5.6% of code). C++, C Header, JSON appear in both top language lists; JavaScript, Kotlin appear only in facebook/react-native's top languages; Dart, Objective-C++ appear only in flutter/flutter's top languages.
Methodology: both counts come from cached OctoCounts reports generated with tokei. facebook/react-native was counted at ref main (commit 8cfde6d0834b) on 2026-09-07; flutter/flutter was counted at ref master (commit b3ae7788091d) on 2026-09-07. See the counting methodology for ignored directories and analysis options.
Evidence and next steps:
Note: code size is not code quality. OctoCounts only reports reproducible line counts and makes no claim that either project is better.
flutter/flutter has more code: 1,609,067 code lines versus 583,564 for facebook/react-native, about 2.8x as much, based on cached OctoCounts reports as of 2026-09-07.
Not necessarily. SLOC measures size, not complexity, quality, or maintainability. A larger codebase can mean more features, more generated or vendored code, more verbose language idioms, or more tests — none of which imply the code is harder to work with. Use SLOC to gauge the scale of what you'd be reading or maintaining, not as a quality signal for facebook/react-native, flutter/flutter, or any repository.
Methodology: both counts come from cached OctoCounts reports generated with tokei. facebook/react-native was counted at ref main (commit 8cfde6d0834b) on 2026-09-07; flutter/flutter was counted at ref master (commit b3ae7788091d) on 2026-09-07. See the counting methodology for ignored directories and analysis options.
Yes. This page shows the default branch for each repository. Use the interactive comparison tool to pick any public GitHub repository, branch, tag, or commit SHA for both sides and get a fresh side-by-side report.