# google/flatbuffers SLOC report

> As of 2026-08-26 (commit 5761d6e67af8), google/flatbuffers contains 136,190 total lines: 101,824 code, 19,217 comments, 15,149 blank, across 593 files in 30 languages (top: C++ 39.8%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving google/flatbuffers to commit 5761d6e67af8, 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 74.8% of all lines, comments represent 14.1%, and the repository averages 172 code lines per file. C++ accounts for 39.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 47 | 48,400 | 40,568 | 3,414 | 4,418 |
| C Header | 72 | 16,903 | 11,795 | 2,973 | 2,135 |
| Rust | 45 | 12,612 | 10,319 | 1,226 | 1,067 |
| Swift | 68 | 9,782 | 6,657 | 2,055 | 1,070 |
| Kotlin | 34 | 9,213 | 6,022 | 2,172 | 1,019 |
| Python | 60 | 6,689 | 4,750 | 632 | 1,307 |
| Java | 40 | 7,340 | 4,299 | 2,289 | 752 |
| Dart | 8 | 3,705 | 2,796 | 403 | 506 |
| TypeScript | 29 | 2,882 | 2,300 | 272 | 310 |
| C# | 12 | 3,607 | 2,248 | 1,006 | 353 |
| Go | 21 | 2,900 | 1,981 | 466 | 453 |
| Lua | 17 | 1,627 | 1,260 | 112 | 255 |

Top language (C++ 39.8%). Generated at 2026-08-26T18:18:40.079145789+00:00. Canonical report: https://octocounts.com/github/google/flatbuffers

## Report FAQ

### How many lines of code does google/flatbuffers have?

google/flatbuffers has 136,190 total lines, including 101,824 code lines, 19,217 comment lines, and 15,149 blank lines.

### How was the google/flatbuffers line count measured?

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

### What commit was counted for google/flatbuffers?

This OctoCounts report was generated from master at commit 5761d6e67af8 on 2026-08-26T18:18:40.079145789+00:00.

## Similar repository reports

- [ch604/PrismLauncher-offline](https://octocounts.com/github/ch604/PrismLauncher-offline) — C++, 97,460 code lines
- [xxnuo/MTranServer](https://octocounts.com/github/xxnuo/MTranServer) — C++, 107,278 code lines
- [78/xiaozhi-esp32](https://octocounts.com/github/78/xiaozhi-esp32) — C++, 95,271 code lines
- [aria2/aria2](https://octocounts.com/github/aria2/aria2) — C++, 94,545 code lines
- [hyprwm/Hyprland](https://octocounts.com/github/hyprwm/Hyprland) — C++, 112,274 code lines
- [hyprwm/hyprland](https://octocounts.com/github/hyprwm/hyprland) — C++, 118,806 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [OctoCounts API docs](https://octocounts.com/docs/api)
