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.
As of 2026-11-06 (commit d86c942441f7), cilium/tetragon contains 606,211 total lines: 518,074 code, 21,440 comments, 66,697 blank, across 1,207 files in 18 languages (top language: C Header 58.1%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
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.
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 | 344236 | 300800 | 2769 | 40667 |
| Go | 806 | 174258 | 137616 | 14100 | 22542 |
| YAML | 143 | 44925 | 43999 | 850 | 76 |
| JSON | 6 | 26153 | 26147 | 0 | 6 |
| C | 79 | 6566 | 4919 | 623 | 1024 |
| Protocol Buffers | 6 | 1976 | 1236 | 493 | 247 |
| Makefile | 8 | 1430 | 1002 | 179 | 249 |
| Shell | 25 | 1334 | 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 |
Top language: C Header 58.1%. Generated on .
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.
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.
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.
This OctoCounts report was generated from main at commit d86c942441f7 on November 6, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for cilium/tetragon on this page — 518,074 code lines across 18 languages, counted by tokei.