# apache/trafficserver SLOC report

> apache/trafficserver: 905,183 code lines at commit 585e4d93f68a, counted with tokei-15.0.0 on 2026-11-15. Saved result ee5f7322d9e70296c33399f3f592411479e31e7901e5150e15659072f7aba184.

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.

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.

## Counting rules and retention

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.

## Repository size insights

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++ | 1,313 | 511,943 | 376,082 | 68,968 | 66,893 |
| C Header | 1,012 | 434,094 | 325,719 | 68,352 | 40,023 |
| JSON | 45 | 140,171 | 140,171 | 0 | 0 |
| C++ Header | 207 | 38,999 | 27,394 | 4,221 | 7,384 |
| Python | 54 | 18,421 | 14,133 | 1,380 | 2,908 |
| CMake | 198 | 13,784 | 8,053 | 4,247 | 1,484 |
| C | 4 | 3,870 | 3,296 | 256 | 318 |
| Autoconf | 17 | 3,250 | 2,198 | 653 | 399 |
| YAML | 33 | 2,723 | 2,067 | 587 | 69 |
| Shell | 42 | 3,290 | 1,777 | 1,052 | 461 |
| Perl | 13 | 2,345 | 1,583 | 494 | 268 |
| 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 | 358 | 170 | 123 | 65 |
| TOML | 6 | 270 | 144 | 100 | 26 |
| RPM Specfile | 1 | 197 | 137 | 24 | 36 |
| 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,813 | 0 | 2,860 | 953 |
| Plain Text | 31 | 972 | 0 | 783 | 189 |

Top language: C++ 41.5%. Generated on November 15, 2026. Canonical report: https://octocounts.com/github/apache/trafficserver/commit/585e4d93f68a8e45897643e0a66e5df01fd08066?reportId=ee5f7322d9e70296c33399f3f592411479e31e7901e5150e15659072f7aba184&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/585e4d93f68a8e45897643e0a66e5df01fd08066?reportId=ee5f7322d9e70296c33399f3f592411479e31e7901e5150e15659072f7aba184&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 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.

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

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.

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

This OctoCounts report was generated from master at commit 585e4d93f68a on November 15, 2026.

## Similar repository reports

- [protocolbuffers/protobuf](https://octocounts.com/github/protocolbuffers/protobuf) — C++, 906,385 code lines
- [ggml-org/llama.cpp](https://octocounts.com/github/ggml-org/llama.cpp) — C++, 866,711 code lines
- [d99kris/nchat](https://octocounts.com/github/d99kris/nchat) — C++, 856,100 code lines
- [OpenRCT2/OpenRCT2](https://octocounts.com/github/OpenRCT2/OpenRCT2) — C++, 851,472 code lines
- [The-OpenROAD-Project/OpenROAD](https://octocounts.com/github/The-OpenROAD-Project/OpenROAD) — C++, 833,664 code lines
- [Edge0-AI/Edge0](https://octocounts.com/github/Edge0-AI/Edge0) — C++, 830,434 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)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
