# cilium/cilium SLOC report

> As of 2026-10-23 (commit 6a571439e237), cilium/cilium contains 1,266,508 total lines: 983,457 code, 135,212 comments, 147,839 blank, across 7,248 files in 27 languages (top: Go 72.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

cilium/cilium has 983,457 source lines of code out of 1,266,508 total lines across 7,248 files, counted from the main ref at commit 6a571439e237 by the OctoCounts tokei engine on 2026-10-23. 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 cilium/cilium to commit 6a571439e237, 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 77.7% of all lines, comments represent 10.7%, and the repository averages 136 code lines per file. Go accounts for 72.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 4,255 | 926,448 | 713,040 | 96,328 | 117,080 |
| YAML | 1,782 | 148,583 | 143,816 | 3,908 | 859 |
| ReStructuredText | 315 | 64,506 | 49,290 | 0 | 15,216 |
| JSON | 17 | 32,940 | 32,938 | 0 | 2 |
| C Header | 149 | 35,245 | 21,181 | 9,776 | 4,288 |
| C | 21 | 8,244 | 5,840 | 1,143 | 1,261 |
| Templ | 4 | 4,930 | 4,835 | 0 | 95 |
| Shell | 87 | 4,993 | 3,406 | 803 | 784 |
| Protocol Buffers | 20 | 5,186 | 1,853 | 2,628 | 705 |
| Makefile | 40 | 2,562 | 1,836 | 147 | 579 |
| Python | 11 | 1,539 | 1,072 | 212 | 255 |
| Pan | 11 | 1,087 | 1,010 | 5 | 72 |

Top language (Go 72.5%). Generated at 2026-10-23T08:49:24.090908686+00:00. Canonical report: https://octocounts.com/github/cilium/cilium

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/cilium/cilium/commit/6a571439e2371f5f7c359ddcefb968ef972efe7e?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&reportId=be48fe7812852d3a89619fc379d6dd61b93491bde6f71f0e7178d4dfb1b2e39b).

## Report FAQ

### How many lines of code does cilium/cilium have?

cilium/cilium has 1,266,508 total lines, including 983,457 code lines, 135,212 comment lines, and 147,839 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 6a571439e237, 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/cilium?

This OctoCounts report was generated from main at commit 6a571439e237 on 2026-10-23T08:49:24.090908686+00:00.

## Similar repository reports

- [rorkai/App-Store-Connect-CLI](https://octocounts.com/github/rorkai/App-Store-Connect-CLI) — Go, 980,403 code lines
- [google/simhospital](https://octocounts.com/github/google/simhospital) — Go, 959,566 code lines
- [mudler/LocalAI](https://octocounts.com/github/mudler/LocalAI) — Go, 950,228 code lines
- [gastownhall/beads](https://octocounts.com/github/gastownhall/beads) — Go, 942,153 code lines
- [Wei-Shaw/sub2api](https://octocounts.com/github/Wei-Shaw/sub2api) — Go, 1,056,917 code lines
- [argoproj/argo-cd](https://octocounts.com/github/argoproj/argo-cd) — Go, 892,831 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)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [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)
