# apache/trafficserver SLOC report

> As of 2026-09-16 (commit 5a23990183fc), apache/trafficserver contains 1,144,433 total lines: 880,616 code, 146,671 comments, 117,146 blank, across 3,026 files in 25 languages (top: C++ 40.3%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

apache/trafficserver has 880,616 source lines of code out of 1,144,433 total lines across 3,026 files, counted from the 5a23990183fce732d43912cbc5078a1fb12065c3 ref at commit 5a23990183fc by the OctoCounts tokei engine on 2026-09-16. 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 5a23990183fc, 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.9% of all lines, comments represent 12.8%, and the repository averages 291 code lines per file. C++ accounts for 40.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 1,270 | 482,147 | 355,028 | 64,214 | 62,905 |
| C Header | 1,004 | 428,696 | 324,104 | 65,028 | 39,564 |
| JSON | 45 | 140,151 | 140,151 | 0 | 0 |
| C++ Header | 207 | 39,012 | 27,403 | 4,221 | 7,388 |
| Python | 49 | 16,032 | 12,217 | 1,259 | 2,556 |
| CMake | 194 | 13,571 | 8,036 | 4,103 | 1,432 |
| C | 4 | 3,870 | 3,296 | 256 | 318 |
| Autoconf | 17 | 3,242 | 2,198 | 644 | 400 |
| YAML | 31 | 2,636 | 2,039 | 528 | 69 |
| Shell | 42 | 3,325 | 1,803 | 1,059 | 463 |
| Perl | 14 | 2,440 | 1,644 | 518 | 278 |
| Lua | 37 | 1,886 | 859 | 669 | 358 |

Top language (C++ 40.3%). Generated at 2026-09-16T16:07:35.674539082+00:00. Canonical report: https://octocounts.com/github/apache/trafficserver

## Reproduce this report

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

## Report FAQ

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

apache/trafficserver has 1,144,433 total lines, including 880,616 code lines, 146,671 comment lines, and 117,146 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 5a23990183fc, 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 5a23990183fce732d43912cbc5078a1fb12065c3 at commit 5a23990183fc on 2026-09-16T16:07:35.674539082+00:00.

## Similar repository reports

- [organicmaps/organicmaps](https://octocounts.com/github/organicmaps/organicmaps) — C++, 887,058 code lines
- [protocolbuffers/protobuf](https://octocounts.com/github/protocolbuffers/protobuf) — C++, 871,834 code lines
- [OpenRCT2/OpenRCT2](https://octocounts.com/github/OpenRCT2/OpenRCT2) — C++, 854,277 code lines
- [AyuGram/AyuGramDesktop](https://octocounts.com/github/AyuGram/AyuGramDesktop) — C++, 840,188 code lines
- [The-OpenROAD-Project/OpenROAD](https://octocounts.com/github/The-OpenROAD-Project/OpenROAD) — C++, 783,027 code lines
- [telegramdesktop/tdesktop](https://octocounts.com/github/telegramdesktop/tdesktop) — C++, 1,012,048 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)
