etcd-io/raft has 16,475 source lines of code out of 32,985 total lines across 150 files, counted from the main ref at commit 1931ff5beacc by the OctoCounts tokei engine on 2026-10-20. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-20 (commit 1931ff5beacc), etcd-io/raft contains 32,985 total lines: 16,475 code, 12,833 comments, 3,677 blank, across 150 files in 7 languages (top: Go 95.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving etcd-io/raft to commit 1931ff5beacc, 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 medium-sized codebase by counted code lines. Code represents 49.9% of all lines, comments represent 38.9%, and the repository averages 110 code lines per file. Go accounts for 95.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Go | 89 | 23608 | 15735 | 5249 | 2624 |
| Shell | 8 | 603 | 450 | 47 | 106 |
| Forge Config | 3 | 197 | 166 | 0 | 31 |
| Protocol Buffers | 1 | 205 | 103 | 87 | 15 |
| Makefile | 1 | 28 | 21 | 0 | 7 |
| Markdown | 7 | 345 | 0 | 232 | 113 |
| Plain Text | 41 | 7999 | 0 | 7218 | 781 |
Top language (Go 95.5%). Generated at .
etcd-io/raft has 32,985 total lines, including 16,475 code lines, 12,833 comment lines, and 3,677 blank lines.
OctoCounts resolved the public GitHub repository to commit 1931ff5beacc, 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 1931ff5beacc on 2026-10-20T02:01:24.118923532+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for etcd-io/raft on this page — 16,475 code lines across 7 languages, counted by tokei.