apache/thrift has 258,977 source lines of code out of 380,826 total lines across 1,685 files, counted with tokei from the 925120084185f6fc7073f1377a47cdba2359505f ref at commit 925120084185 on November 20, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
apache/thrift: 258,977 code lines at commit 925120084185, counted with tokei-15.0.0 on 2026-11-20. Saved result f48aff99423065010105b357e74c365fdea83d8d4b31d3bde3eb2212e0caa9d2.
OctoCounts produced this report by resolving apache/thrift to commit 925120084185, 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 68.0% of all lines, comments represent 19.3%, and the repository averages 154 code lines per file. C++ accounts for 28.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 120 | 94863 | 73043 | 10750 | 11070 |
| Ruby | 94 | 23128 | 17379 | 2545 | 3204 |
| Java | 194 | 28583 | 17230 | 7921 | 3432 |
| Go | 108 | 23180 | 17148 | 3831 | 2201 |
| C Header | 194 | 26821 | 14388 | 8293 | 4140 |
| C# | 133 | 18890 | 13055 | 3310 | 2525 |
| D | 54 | 21596 | 12992 | 5942 | 2662 |
| JSON | 13 | 12774 | 12770 | 0 | 4 |
| C | 48 | 16743 | 12547 | 1910 | 2286 |
| Pascal | 21 | 14596 | 10545 | 1446 | 2605 |
| Rust | 27 | 10413 | 7819 | 943 | 1651 |
| JavaScript | 47 | 11394 | 7415 | 2785 | 1194 |
| Python | 49 | 8510 | 5881 | 1261 | 1368 |
| PHP | 60 | 8761 | 5304 | 2188 | 1269 |
| Haxe | 68 | 8418 | 4960 | 2083 | 1375 |
| Erlang | 31 | 6349 | 4599 | 1150 | 600 |
| Dart | 40 | 4641 | 3091 | 820 | 730 |
| M4 | 23 | 4185 | 2718 | 1025 | 442 |
| Perl | 26 | 4397 | 2672 | 974 | 751 |
| Lua | 12 | 3106 | 2418 | 321 | 367 |
| Automake | 55 | 4166 | 2383 | 1120 | 663 |
| Thrift | 52 | 3167 | 1168 | 1583 | 416 |
| Visual Studio Project | 5 | 1148 | 1148 | 0 | 0 |
| Shell | 26 | 1440 | 909 | 315 | 216 |
| OCaml | 11 | 1135 | 830 | 204 | 101 |
| MSBuild | 17 | 1150 | 771 | 311 | 68 |
| CMake | 11 | 1027 | 633 | 272 | 122 |
| PowerShell | 2 | 654 | 437 | 121 | 96 |
| LLVM | 1 | 389 | 376 | 0 | 13 |
| XML | 8 | 513 | 319 | 147 | 47 |
| Dockerfile | 4 | 312 | 260 | 0 | 52 |
| Kotlin | 4 | 332 | 223 | 74 | 35 |
| TypeScript | 1 | 716 | 183 | 435 | 98 |
| RPM Specfile | 1 | 252 | 182 | 18 | 52 |
| Visual Studio Solution | 4 | 157 | 154 | 0 | 3 |
| Common Lisp | 8 | 278 | 144 | 91 | 43 |
| Batch | 5 | 149 | 131 | 0 | 18 |
| YAML | 7 | 286 | 111 | 146 | 29 |
| HTML | 3 | 171 | 108 | 54 | 9 |
| Rakefile | 1 | 149 | 107 | 22 | 20 |
| Emacs Lisp | 1 | 140 | 98 | 28 | 14 |
| Makefile | 7 | 206 | 96 | 74 | 36 |
| Vim Script | 1 | 91 | 69 | 17 | 5 |
| TOML | 4 | 62 | 55 | 0 | 7 |
| Autoconf | 6 | 150 | 50 | 90 | 10 |
| Bitbake | 1 | 50 | 36 | 0 | 14 |
| CSS | 1 | 33 | 13 | 18 | 2 |
| Forge Config | 2 | 8 | 8 | 0 | 0 |
| INI | 1 | 1 | 1 | 0 | 0 |
| Markdown | 71 | 11066 | 0 | 8900 | 2166 |
| Plain Text | 2 | 80 | 0 | 58 | 22 |
Top language: C++ 28.2%. Generated on .
apache/thrift: 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.
apache/thrift has 258,977 lines of code, plus 73,596 comment lines and 48,253 blank lines, for 380,826 total lines at commit 925120084185 on November 20, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 925120084185, 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 925120084185f6fc7073f1377a47cdba2359505f at commit 925120084185 on November 20, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for apache/thrift on this page — 258,977 code lines across 51 languages, counted by tokei.