# google/flatbuffers SLOC report

> As of 2026-09-16 (commit b8431fbcd7a5), 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%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

google/flatbuffers has 101,824 source lines of code out of 136,190 total lines across 593 files, counted from the b8431fbcd7a5c71817f314e18b332c0648554efa ref at commit b8431fbcd7a5 by the OctoCounts tokei engine on 2026-09-16. 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 b8431fbcd7a5, 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-09-16T06:17:08.473708561+00:00. Canonical report: https://octocounts.com/github/google/flatbuffers

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/google/flatbuffers/commit/b8431fbcd7a5c71817f314e18b332c0648554efa?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 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 b8431fbcd7a5, 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 b8431fbcd7a5c71817f314e18b332c0648554efa at commit b8431fbcd7a5 on 2026-09-16T06:17:08.473708561+00:00.

## Similar repository reports

- [autohotkey/autohotkey](https://octocounts.com/github/autohotkey/autohotkey) — C++, 102,688 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++, 108,029 code lines
- [ch604/PrismLauncher-offline](https://octocounts.com/github/ch604/PrismLauncher-offline) — C++, 94,962 code lines
- [aria2/aria2](https://octocounts.com/github/aria2/aria2) — C++, 94,545 code lines
- [Murmele/Gittyup](https://octocounts.com/github/Murmele/Gittyup) — C++, 90,490 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)
