# apache/trafficserver SLOC report

> apache/trafficserver: 890,159 code lines at commit 415c3585111f, counted with tokei-14.0.0 on 2026-10-23. Saved result bb0c2028fd682aa69a4ccf0aa58a6c5d7170dca91cc932f8ecf5b4e28702c9b3.

apache/trafficserver has 890,159 source lines of code out of 1,160,259 total lines across 3,052 files, counted from the master ref at commit 415c3585111f by the OctoCounts tokei engine on 2026-10-23. 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 apache/trafficserver to commit 415c3585111f, 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 76.7% of all lines, comments represent 13.0%, and the repository averages 292 code lines per file. C++ accounts for 40.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 1,290 | 495,034 | 363,801 | 66,586 | 64,647 |
| C Header | 1,004 | 430,860 | 324,501 | 66,653 | 39,706 |
| JSON | 45 | 140,164 | 140,164 | 0 | 0 |
| C++ Header | 207 | 39,012 | 27,403 | 4,221 | 7,388 |
| Python | 49 | 16,191 | 12,333 | 1,269 | 2,589 |
| CMake | 197 | 13,953 | 8,269 | 4,215 | 1,469 |
| C | 4 | 3,870 | 3,296 | 256 | 318 |
| Autoconf | 17 | 3,246 | 2,200 | 646 | 400 |
| YAML | 33 | 2,720 | 2,065 | 586 | 69 |
| Shell | 42 | 3,305 | 1,784 | 1,059 | 462 |
| Perl | 14 | 2,440 | 1,644 | 518 | 278 |
| Lua | 37 | 1,886 | 859 | 669 | 358 |
| Dockerfile | 5 | 635 | 421 | 153 | 61 |
| Meson | 3 | 423 | 381 | 18 | 24 |
| Bazel | 5 | 469 | 353 | 83 | 33 |
| Makefile | 6 | 355 | 167 | 123 | 65 |
| RPM Specfile | 1 | 197 | 137 | 24 | 36 |
| TOML | 5 | 245 | 136 | 85 | 24 |
| BASH | 2 | 174 | 102 | 44 | 28 |
| Rust | 1 | 83 | 54 | 16 | 13 |
| SWIG | 1 | 96 | 38 | 41 | 17 |
| Scons | 1 | 63 | 30 | 25 | 8 |
| Forge Config | 3 | 64 | 21 | 42 | 1 |
| Markdown | 49 | 3,802 | 0 | 2,850 | 952 |
| Plain Text | 31 | 972 | 0 | 783 | 189 |

Top language (C++ 40.9%). Generated at 2026-10-23T07:58:51.377165179Z. Canonical report: https://octocounts.com/github/apache/trafficserver/commit/415c3585111fb42735a990c08680f3ff242adc1e?reportId=bb0c2028fd682aa69a4ccf0aa58a6c5d7170dca91cc932f8ecf5b4e28702c9b3&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/apache/trafficserver/commit/415c3585111fb42735a990c08680f3ff242adc1e?reportId=bb0c2028fd682aa69a4ccf0aa58a6c5d7170dca91cc932f8ecf5b4e28702c9b3&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does apache/trafficserver have?

apache/trafficserver has 1,160,259 total lines, including 890,159 code lines, 150,965 comment lines, and 119,135 blank lines.

### How was the apache/trafficserver line count measured?

OctoCounts resolved the public GitHub repository to commit 415c3585111f, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for apache/trafficserver?

This OctoCounts report was generated from master at commit 415c3585111f on 2026-10-23T07:58:51.377165179Z.

## Similar repository reports

- [protocolbuffers/protobuf](https://octocounts.com/github/protocolbuffers/protobuf) — C++, 893,906 code lines
- [OpenRCT2/OpenRCT2](https://octocounts.com/github/OpenRCT2/OpenRCT2) — C++, 851,181 code lines
- [d99kris/nchat](https://octocounts.com/github/d99kris/nchat) — C++, 850,012 code lines
- [organicmaps/organicmaps](https://octocounts.com/github/organicmaps/organicmaps) — C++, 939,720 code lines
- [The-OpenROAD-Project/OpenROAD](https://octocounts.com/github/The-OpenROAD-Project/OpenROAD) — C++, 816,455 code lines
- [ggml-org/llama.cpp](https://octocounts.com/github/ggml-org/llama.cpp) — C++, 794,101 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)
