# etcd-io/etcd SLOC report

> As of 2026-10-22 (commit bf9cadf044f0), etcd-io/etcd contains 180,263 total lines: 127,381 code, 29,768 comments, 23,114 blank, across 978 files in 11 languages (top: Go 90.4%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

etcd-io/etcd has 127,381 source lines of code out of 180,263 total lines across 978 files, counted from the main ref at commit bf9cadf044f0 by the OctoCounts tokei engine on 2026-10-22. 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 etcd-io/etcd to commit bf9cadf044f0, 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 70.7% of all lines, comments represent 16.5%, and the repository averages 130 code lines per file. Go accounts for 90.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 824 | 153,482 | 115,133 | 20,409 | 17,940 |
| JSON | 10 | 4,712 | 4,712 | 0 | 0 |
| Shell | 40 | 4,081 | 2,642 | 855 | 584 |
| Jsonnet | 10 | 1,695 | 1,667 | 14 | 14 |
| SVG | 9 | 1,401 | 1,394 | 7 | 0 |
| Protocol Buffers | 12 | 1,942 | 1,172 | 422 | 348 |
| YAML | 4 | 400 | 397 | 3 | 0 |
| Makefile | 3 | 323 | 252 | 5 | 66 |
| Dockerfile | 2 | 18 | 12 | 1 | 5 |
| Markdown | 61 | 11,626 | 0 | 7,490 | 4,136 |
| Plain Text | 3 | 583 | 0 | 562 | 21 |

Top language (Go 90.4%). Generated at 2026-10-22T06:55:09.582145515+00:00. Canonical report: https://octocounts.com/github/etcd-io/etcd

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/etcd-io/etcd/commit/bf9cadf044f0531036a61c9b6dbeba8aef2a3b30?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=06d24aa75e56a2406f6009d47525d7c3c82d5e90784730b683f501257c91c2b4).

## Report FAQ

### How many lines of code does etcd-io/etcd have?

etcd-io/etcd has 180,263 total lines, including 127,381 code lines, 29,768 comment lines, and 23,114 blank lines.

### How was the etcd-io/etcd line count measured?

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

### What commit was counted for etcd-io/etcd?

This OctoCounts report was generated from main at commit bf9cadf044f0 on 2026-10-22T06:55:09.582145515+00:00.

## Similar repository reports

- [xiaods/k8e](https://octocounts.com/github/xiaods/k8e) — Go, 128,024 code lines
- [projectdiscovery/nuclei](https://octocounts.com/github/projectdiscovery/nuclei) — Go, 126,318 code lines
- [boyter/scc](https://octocounts.com/github/boyter/scc) — Go, 129,150 code lines
- [livekit/livekit](https://octocounts.com/github/livekit/livekit) — Go, 129,248 code lines
- [insightlabs38-pixel/zeros3](https://octocounts.com/github/insightlabs38-pixel/zeros3) — Go, 131,032 code lines
- [plimsollmark/plimsoll](https://octocounts.com/github/plimsollmark/plimsoll) — Go, 132,754 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)
