As of 2026-07-10 (commit a9e26aa45387), apache/trafficserver contains 1,114,338 total lines: 859,668 code, 141,636 comments, 113,034 blank, across 2,935 files in 25 languages (top: C++ 39.3%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving apache/trafficserver to commit a9e26aa45387, 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.
This is a large codebase by counted code lines. Code represents 77.1% of all lines, comments represent 12.7%, and the repository averages 293 code lines per file. C++ accounts for 39.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 1216 | 458003 | 337476 | 61058 | 59469 |
| C Header | 978 | 424209 | 321752 | 63444 | 39013 |
| JSON | 45 | 140111 | 140111 | 0 | 0 |
| C++ Header | 207 | 38990 | 27385 | 4222 | 7383 |
| Python | 48 | 15429 | 11717 | 1231 | 2481 |
| CMake | 188 | 12941 | 7624 | 3930 | 1387 |
| C | 4 | 3870 | 3296 | 256 | 318 |
| Autoconf | 17 | 3188 | 2155 | 639 | 394 |
| YAML | 28 | 2537 | 1996 | 482 | 59 |
| Shell | 42 | 3325 | 1803 | 1059 | 463 |
| Perl | 15 | 2614 | 1765 | 536 | 313 |
| Lua | 37 | 1886 | 859 | 669 | 358 |
Top language (C++ 39.3%). Generated at 2026-07-10T12:37:28.452561055+00:00.
apache/trafficserver has 1,114,338 total lines, including 859,668 code lines, 141,636 comment lines, and 113,034 blank lines.
OctoCounts resolved the public GitHub repository to commit a9e26aa45387, 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 a9e26aa45387 on 2026-07-10T12:37:28.452561055+00:00.