# google/flatbuffers SLOC report

> google/flatbuffers: 101,824 code lines at commit 6dda43bbaa99, counted with tokei-14.0.0 on 2026-10-22. Saved result 8a63ff09a4ecea82868a2c71a809fc2755cfa38b27aa17af2655565d0a1757aa.

google/flatbuffers has 101,824 source lines of code out of 136,190 total lines across 593 files, counted from the master ref at commit 6dda43bbaa99 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 google/flatbuffers to commit 6dda43bbaa99, 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 |
| CMake | 10 | 1,551 | 1,116 | 267 | 168 |
| YAML | 5 | 1,396 | 1,087 | 0 | 309 |
| PHP | 8 | 2,028 | 1,062 | 720 | 246 |
| Bazel | 15 | 1,096 | 995 | 27 | 74 |
| XML | 13 | 762 | 721 | 18 | 23 |
| Shell | 18 | 1,081 | 564 | 387 | 130 |
| Nim | 7 | 526 | 424 | 7 | 95 |
| FlatBuffers Schema | 19 | 507 | 361 | 59 | 87 |
| JSON | 8 | 183 | 181 | 0 | 2 |
| Batch | 2 | 173 | 129 | 0 | 44 |
| TOML | 4 | 89 | 69 | 8 | 12 |
| JavaScript | 2 | 66 | 56 | 1 | 9 |
| MSBuild | 1 | 41 | 36 | 0 | 5 |
| Autoconf | 2 | 20 | 16 | 1 | 3 |
| Makefile | 1 | 14 | 10 | 0 | 4 |
| Forge Config | 1 | 2 | 2 | 0 | 0 |
| Markdown | 22 | 790 | 0 | 544 | 246 |
| Plain Text | 2 | 205 | 0 | 158 | 47 |

Top language (C++ 39.8%). Generated at 2026-10-22T05:15:25.073993616Z. Canonical report: https://octocounts.com/github/google/flatbuffers/commit/6dda43bbaa9961ad913ce949f8ebd08f3062fae2?reportId=8a63ff09a4ecea82868a2c71a809fc2755cfa38b27aa17af2655565d0a1757aa&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/google/flatbuffers/commit/6dda43bbaa9961ad913ce949f8ebd08f3062fae2?reportId=8a63ff09a4ecea82868a2c71a809fc2755cfa38b27aa17af2655565d0a1757aa&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 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 6dda43bbaa99, 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 6dda43bbaa99 on 2026-10-22T05:15:25.073993616Z.

## Similar repository reports

- [AutoHotkey/AutoHotkey](https://octocounts.com/github/AutoHotkey/AutoHotkey) — C++, 104,602 code lines
- [xxnuo/MTranServer](https://octocounts.com/github/xxnuo/MTranServer) — C++, 104,823 code lines
- [nu774/qaac](https://octocounts.com/github/nu774/qaac) — C++, 96,359 code lines
- [skyrim-multiplayer/skymp](https://octocounts.com/github/skyrim-multiplayer/skymp) — C++, 96,296 code lines
- [Alex313031/thorium](https://octocounts.com/github/Alex313031/thorium) — C++, 95,220 code lines
- [aria2/aria2](https://octocounts.com/github/aria2/aria2) — C++, 94,545 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)
- [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)
