# cilium/tetragon SLOC report

> cilium/tetragon: 518,168 code lines at commit e1f61220b77d, counted with tokei-15.0.0 on 2026-11-16. Saved result 27e0f059363dc3b7e149ed82514de1d9386fc17d594e52bba80b8ddddcbcccf3.

cilium/tetragon has 518,168 source lines of code out of 606,322 total lines across 1,207 files, counted with tokei from the main ref at commit e1f61220b77d on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving cilium/tetragon to commit e1f61220b77d, 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

cilium/tetragon: 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 85.5% of all lines, comments represent 3.5%, and the repository averages 429 code lines per file. C Header accounts for 58.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C Header | 85 | 344,239 | 300,800 | 2,772 | 40,667 |
| Go | 806 | 174,366 | 137,710 | 14,106 | 22,550 |
| YAML | 143 | 44,925 | 43,999 | 850 | 76 |
| JSON | 6 | 26,153 | 26,147 | 0 | 6 |
| C | 79 | 6,566 | 4,919 | 623 | 1,024 |
| Protocol Buffers | 6 | 1,976 | 1,236 | 493 | 247 |
| Makefile | 8 | 1,430 | 1,002 | 179 | 249 |
| Shell | 25 | 1,334 | 967 | 133 | 234 |
| Pan | 7 | 593 | 555 | 0 | 38 |
| Templ | 7 | 249 | 249 | 0 | 0 |
| Python | 3 | 287 | 234 | 15 | 38 |
| Dockerfile | 2 | 234 | 148 | 67 | 19 |
| BASH | 2 | 241 | 147 | 57 | 37 |
| PowerShell | 1 | 56 | 38 | 3 | 15 |
| TOML | 1 | 36 | 11 | 22 | 3 |
| LD Script | 1 | 6 | 6 | 0 | 0 |
| Markdown | 24 | 3,629 | 0 | 2,127 | 1,502 |
| Plain Text | 1 | 2 | 0 | 2 | 0 |

Top language: C Header 58.1%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/cilium/tetragon/commit/e1f61220b77d1eb281b52283513dac76de90ae73?reportId=27e0f059363dc3b7e149ed82514de1d9386fc17d594e52bba80b8ddddcbcccf3&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/cilium/tetragon/commit/e1f61220b77d1eb281b52283513dac76de90ae73?reportId=27e0f059363dc3b7e149ed82514de1d9386fc17d594e52bba80b8ddddcbcccf3&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 cilium/tetragon have?

cilium/tetragon has 518,168 lines of code, plus 21,449 comment lines and 66,705 blank lines, for 606,322 total lines at commit e1f61220b77d on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the cilium/tetragon line count measured?

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

### What commit was counted for cilium/tetragon?

This OctoCounts report was generated from main at commit e1f61220b77d on November 16, 2026.

## Similar repository reports

- [cocos2d/cocos2d-x-samples](https://octocounts.com/github/cocos2d/cocos2d-x-samples) — C Header, 519,022 code lines
- [eclipse-openbsw/openbsw](https://octocounts.com/github/eclipse-openbsw/openbsw) — C Header, 525,137 code lines
- [raysan5/raylib](https://octocounts.com/github/raysan5/raylib) — C Header, 509,602 code lines
- [xenia-project/xenia](https://octocounts.com/github/xenia-project/xenia) — C Header, 544,336 code lines
- [houmo-ai/postmo-modelzoo](https://octocounts.com/github/houmo-ai/postmo-modelzoo) — C Header, 479,889 code lines
- [effekseer/Effekseer](https://octocounts.com/github/effekseer/Effekseer) — C Header, 479,516 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)
- [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)
