apache/trafficserver has 905,183 source lines of code out of 1,182,393 total lines across 3,089 files, counted with tokei from the master ref at commit 585e4d93f68a on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-15 (commit 585e4d93f68a), apache/trafficserver contains 1,182,393 total lines: 905,183 code, 155,191 comments, 122,019 blank, across 3,089 files in 25 languages (top language: C++ 41.5%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving apache/trafficserver to commit 585e4d93f68a, 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 76.6% of all lines, comments represent 13.1%, and the repository averages 293 code lines per file. C++ accounts for 41.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 1313 | 511943 | 376082 | 68968 | 66893 |
| C Header | 1012 | 434094 | 325719 | 68352 | 40023 |
| JSON | 45 | 140171 | 140171 | 0 | 0 |
| C++ Header | 207 | 38999 | 27394 | 4221 | 7384 |
| Python | 54 | 18421 | 14133 | 1380 | 2908 |
| CMake | 198 | 13784 | 8053 | 4247 | 1484 |
| C | 4 | 3870 | 3296 | 256 | 318 |
| Autoconf | 17 | 3250 | 2198 | 653 | 399 |
| YAML | 33 | 2723 | 2067 | 587 | 69 |
| Shell | 42 | 3290 | 1777 | 1052 | 461 |
| Perl | 13 | 2345 | 1583 | 494 | 268 |
| Lua | 37 | 1886 | 859 | 669 | 358 |
Top language: C++ 41.5%. Generated on .
apache/trafficserver: 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/trafficserver has 905,183 lines of code, plus 155,191 comment lines and 122,019 blank lines, for 1,182,393 total lines at commit 585e4d93f68a on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 585e4d93f68a, 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 585e4d93f68a on November 15, 2026.
Play the growth animation for apache/trafficserver on this page — 905,183 code lines across 25 languages, counted by tokei.