# etcd-io/raft SLOC report

> As of 2026-09-05 (commit 3cbf6a74be3f), etcd-io/raft contains 32,903 total lines: 16,421 code, 12,814 comments, 3,668 blank, across 150 files in 7 languages (top: Go 95.5%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving etcd-io/raft to commit 3cbf6a74be3f, 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 49.9% of all lines, comments represent 38.9%, and the repository averages 109 code lines per file. Go accounts for 95.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 89 | 23,526 | 15,681 | 5,230 | 2,615 |
| 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 | 7,999 | 0 | 7,218 | 781 |

Top language (Go 95.5%). Generated at 2026-09-05T03:12:40.821339939+00:00. Canonical report: https://octocounts.com/github/etcd-io/raft

## Report FAQ

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

etcd-io/raft has 32,903 total lines, including 16,421 code lines, 12,814 comment lines, and 3,668 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 3cbf6a74be3f, 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/raft?

This OctoCounts report was generated from main at commit 3cbf6a74be3f on 2026-09-05T03:12:40.821339939+00:00.

## Similar repository reports

- [uber-go/zap](https://octocounts.com/github/uber-go/zap) — Go, 16,537 code lines
- [XiaoChenChris/-Feed-AI-](https://octocounts.com/github/XiaoChenChris/-Feed-AI-) — Go, 16,747 code lines
- [kubernetes-sigs/cri-tools](https://octocounts.com/github/kubernetes-sigs/cri-tools) — Go, 15,875 code lines
- [frt321for/flash-event-war-room](https://octocounts.com/github/frt321for/flash-event-war-room) — Go, 17,754 code lines
- [gin-gonic/gin](https://octocounts.com/github/gin-gonic/gin) — Go, 17,982 code lines
- [xtclovver/vpn_bot](https://octocounts.com/github/xtclovver/vpn_bot) — Go, 14,856 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)
- [OctoCounts API docs](https://octocounts.com/docs/api)
