google/flatbuffers has 101,849 source lines of code out of 136,226 total lines across 593 files, counted with tokei from the master ref at commit 5eb190f00005 on November 6, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
google/flatbuffers: 101,849 code lines at commit 5eb190f00005, counted with tokei-15.0.0 on 2026-11-06. Saved result 20d22295599fb61d1189e7f2402ace512ac63a8e03613b8d6b691ff5b58ffbf5.
OctoCounts produced this report by resolving google/flatbuffers to commit 5eb190f00005, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.
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 | 48400 | 40568 | 3414 | 4418 |
| C Header | 72 | 16903 | 11795 | 2973 | 2135 |
| Rust | 45 | 12637 | 10341 | 1226 | 1070 |
| Swift | 68 | 9793 | 6660 | 2063 | 1070 |
| Kotlin | 34 | 9213 | 6022 | 2172 | 1019 |
| Python | 60 | 6689 | 4750 | 632 | 1307 |
| Java | 40 | 7340 | 4299 | 2289 | 752 |
| Dart | 8 | 3705 | 2796 | 403 | 506 |
| TypeScript | 29 | 2882 | 2300 | 272 | 310 |
| C# | 12 | 3607 | 2248 | 1006 | 353 |
| Go | 21 | 2900 | 1981 | 466 | 453 |
| Lua | 17 | 1627 | 1260 | 112 | 255 |
| CMake | 10 | 1551 | 1116 | 267 | 168 |
| YAML | 5 | 1396 | 1087 | 0 | 309 |
| PHP | 8 | 2028 | 1062 | 720 | 246 |
| Bazel | 15 | 1096 | 995 | 27 | 74 |
| XML | 13 | 762 | 721 | 18 | 23 |
| Shell | 18 | 1081 | 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 on .
google/flatbuffers: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
google/flatbuffers has 101,849 lines of code, plus 19,225 comment lines and 15,152 blank lines, for 136,226 total lines at commit 5eb190f00005 on November 6, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 5eb190f00005, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from master at commit 5eb190f00005 on November 6, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for google/flatbuffers on this page — 101,849 code lines across 30 languages, counted by tokei.