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.
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.
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.
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 | 153482 | 115133 | 20409 | 17940 |
| JSON | 10 | 4712 | 4712 | 0 | 0 |
| Shell | 40 | 4081 | 2642 | 855 | 584 |
| Jsonnet | 10 | 1695 | 1667 | 14 | 14 |
| SVG | 9 | 1401 | 1394 | 7 | 0 |
| Protocol Buffers | 12 | 1942 | 1172 | 422 | 348 |
| YAML | 4 | 400 | 397 | 3 | 0 |
| Makefile | 3 | 323 | 252 | 5 | 66 |
| Dockerfile | 2 | 18 | 12 | 1 | 5 |
| Markdown | 61 | 11626 | 0 | 7490 | 4136 |
| Plain Text | 3 | 583 | 0 | 562 | 21 |
Top language (Go 90.4%). Generated at .
etcd-io/etcd has 180,263 total lines, including 127,381 code lines, 29,768 comment lines, and 23,114 blank lines.
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.
This OctoCounts report was generated from main at commit bf9cadf044f0 on 2026-10-22T06:55:09.582145515+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for etcd-io/etcd on this page — 127,381 code lines across 11 languages, counted by tokei.