# segmentio/kafka-go SLOC report

> As of 2026-09-16 (commit 3f6808045dfc), segmentio/kafka-go contains 49,883 total lines: 37,813 code, 4,946 comments, 7,124 blank, across 285 files in 6 languages (top: Go 99.2%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving segmentio/kafka-go to commit 3f6808045dfc, 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 75.8% of all lines, comments represent 9.9%, and the repository averages 133 code lines per file. Go accounts for 99.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 268 | 48,785 | 37,511 | 4,431 | 6,843 |
| YAML | 5 | 248 | 235 | 6 | 7 |
| Dockerfile | 4 | 124 | 44 | 44 | 36 |
| Shell | 1 | 20 | 17 | 1 | 2 |
| Makefile | 1 | 7 | 6 | 0 | 1 |
| Markdown | 6 | 699 | 0 | 464 | 235 |

Top language (Go 99.2%). Generated at 2026-09-16T11:57:31.620993555+00:00. Canonical report: https://octocounts.com/github/segmentio/kafka-go

## Report FAQ

### How many lines of code does segmentio/kafka-go have?

segmentio/kafka-go has 49,883 total lines, including 37,813 code lines, 4,946 comment lines, and 7,124 blank lines.

### How was the segmentio/kafka-go line count measured?

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

### What commit was counted for segmentio/kafka-go?

This OctoCounts report was generated from 3f6808045dfce56553562afa2ede13fabd640603 at commit 3f6808045dfc on 2026-09-16T11:57:31.620993555+00:00.

## Similar repository reports

- [GoogleCloudPlatform/microservices-demo](https://octocounts.com/github/GoogleCloudPlatform/microservices-demo) — Go, 37,613 code lines
- [YTwsy/OpenSurge-for-Mac](https://octocounts.com/github/YTwsy/OpenSurge-for-Mac) — Go, 35,711 code lines
- [fluxcd/flux2](https://octocounts.com/github/fluxcd/flux2) — Go, 35,469 code lines
- [filebrowser/filebrowser](https://octocounts.com/github/filebrowser/filebrowser) — Go, 34,840 code lines
- [Hypostasis-Cat/HypoMux](https://octocounts.com/github/Hypostasis-Cat/HypoMux) — Go, 41,080 code lines
- [sigstore/cosign](https://octocounts.com/github/sigstore/cosign) — Go, 42,220 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)
