# cilium/ebpf SLOC report

> cilium/ebpf: 53,475 code lines at commit a04e01c89564, counted with tokei-14.0.0 on 2026-10-16. Saved result 02cbb37a1c323f53765325f77489f0133ec401e942f36995f0475587532a17b9.

cilium/ebpf has 53,475 source lines of code out of 78,454 total lines across 464 files, counted from the main ref at commit a04e01c89564 by the OctoCounts tokei engine on 2026-10-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 cilium/ebpf to commit a04e01c89564, 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 medium-sized codebase by counted code lines. Code represents 68.2% of all lines, comments represent 17.3%, and the repository averages 115 code lines per file. Go accounts for 93.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 383 | 68,905 | 49,755 | 8,736 | 10,414 |
| C | 46 | 2,178 | 1,505 | 255 | 418 |
| C Header | 11 | 5,925 | 1,410 | 4,140 | 375 |
| XML | 1 | 366 | 365 | 1 | 0 |
| Shell | 6 | 269 | 172 | 37 | 60 |
| Makefile | 2 | 167 | 121 | 14 | 32 |
| AWK | 3 | 108 | 83 | 10 | 15 |
| PowerShell | 1 | 74 | 42 | 20 | 12 |
| Dockerfile | 1 | 29 | 17 | 6 | 6 |
| TOML | 1 | 5 | 5 | 0 | 0 |
| Markdown | 9 | 428 | 0 | 319 | 109 |

Top language (Go 93.0%). Generated at 2026-10-16T18:46:16.080505966Z. Canonical report: https://octocounts.com/github/cilium/ebpf/commit/a04e01c8956406739a8f7a1dbb00a4e63fb70a6d?reportId=02cbb37a1c323f53765325f77489f0133ec401e942f36995f0475587532a17b9&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/ebpf/commit/a04e01c8956406739a8f7a1dbb00a4e63fb70a6d?reportId=02cbb37a1c323f53765325f77489f0133ec401e942f36995f0475587532a17b9&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/ebpf have?

cilium/ebpf has 78,454 total lines, including 53,475 code lines, 13,538 comment lines, and 11,441 blank lines.

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

OctoCounts resolved the public GitHub repository to commit a04e01c89564, 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/ebpf?

This OctoCounts report was generated from main at commit a04e01c89564 on 2026-10-16T18:46:16.080505966Z.

## Similar repository reports

- [root-gg/plik](https://octocounts.com/github/root-gg/plik) — Go, 54,353 code lines
- [Lolia-FRP/lolia-frp](https://octocounts.com/github/Lolia-FRP/lolia-frp) — Go, 52,311 code lines
- [gioui/gio](https://octocounts.com/github/gioui/gio) — Go, 51,093 code lines
- [Forceu/Gokapi](https://octocounts.com/github/Forceu/Gokapi) — Go, 51,000 code lines
- [kerlenton/mcpsnoop](https://octocounts.com/github/kerlenton/mcpsnoop) — Go, 56,903 code lines
- [openimsdk/open-im-server](https://octocounts.com/github/openimsdk/open-im-server) — Go, 50,148 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)
