# cilium/tetragon SLOC report

> cilium/tetragon: 518,074 code lines at commit d86c942441f7, counted with tokei-15.0.0 on 2026-11-06. Saved result ed915a3dcc0c7cb53588196304641898ec771837d189a71be5a6808eab75475a.

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

OctoCounts produced this report by resolving cilium/tetragon to commit d86c942441f7, 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,236 | 300,800 | 2,769 | 40,667 |
| Go | 806 | 174,258 | 137,616 | 14,100 | 22,542 |
| 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 6, 2026. Canonical report: https://octocounts.com/github/cilium/tetragon/commit/d86c942441f788cee548b1d849f5e3657bc69d59?reportId=ed915a3dcc0c7cb53588196304641898ec771837d189a71be5a6808eab75475a&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/d86c942441f788cee548b1d849f5e3657bc69d59?reportId=ed915a3dcc0c7cb53588196304641898ec771837d189a71be5a6808eab75475a&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,074 lines of code, plus 21,440 comment lines and 66,697 blank lines, for 606,211 total lines at commit d86c942441f7 on November 6, 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 d86c942441f7, 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 d86c942441f7 on November 6, 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,677 code lines
- [raysan5/raylib](https://octocounts.com/github/raysan5/raylib) — C Header, 510,682 code lines
- [xenia-project/xenia](https://octocounts.com/github/xenia-project/xenia) — C Header, 544,336 code lines
- [LiangliangNan/Easy3D](https://octocounts.com/github/LiangliangNan/Easy3D) — C Header, 547,439 code lines
- [houmo-ai/postmo-modelzoo](https://octocounts.com/github/houmo-ai/postmo-modelzoo) — C Header, 479,889 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)
