# uber-go/zap SLOC report

> As of 2026-09-16 (commit bb1a55dd1325), uber-go/zap contains 25,388 total lines: 16,532 code, 6,063 comments, 2,793 blank, across 150 files in 5 languages (top: Go 99.4%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

uber-go/zap has 16,532 source lines of code out of 25,388 total lines across 150 files, counted from the bb1a55dd13257cf7cbd06b4146674c67ca614dea ref at commit bb1a55dd1325 by the OctoCounts tokei engine on 2026-09-16. 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 uber-go/zap to commit bb1a55dd1325, 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 65.1% of all lines, comments represent 23.9%, and the repository averages 110 code lines per file. Go accounts for 99.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 140 | 24,105 | 16,430 | 5,210 | 2,465 |
| Makefile | 1 | 74 | 55 | 3 | 16 |
| YAML | 1 | 34 | 34 | 0 | 0 |
| Shell | 1 | 17 | 13 | 2 | 2 |
| Markdown | 7 | 1,158 | 0 | 848 | 310 |

Top language (Go 99.4%). Generated at 2026-09-16T10:05:06.834124793+00:00. Canonical report: https://octocounts.com/github/uber-go/zap

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/uber-go/zap/commit/bb1a55dd13257cf7cbd06b4146674c67ca614dea?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).

## Report FAQ

### How many lines of code does uber-go/zap have?

uber-go/zap has 25,388 total lines, including 16,532 code lines, 6,063 comment lines, and 2,793 blank lines.

### How was the uber-go/zap line count measured?

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

### What commit was counted for uber-go/zap?

This OctoCounts report was generated from bb1a55dd13257cf7cbd06b4146674c67ca614dea at commit bb1a55dd1325 on 2026-09-16T10:05:06.834124793+00:00.

## Similar repository reports

- [etcd-io/raft](https://octocounts.com/github/etcd-io/raft) — Go, 16,421 code lines
- [XiaoChenChris/-Feed-AI-](https://octocounts.com/github/XiaoChenChris/-Feed-AI-) — Go, 16,747 code lines
- [gin-gonic/gin](https://octocounts.com/github/gin-gonic/gin) — Go, 16,080 code lines
- [geektutu/7days-golang](https://octocounts.com/github/geektutu/7days-golang) — Go, 15,970 code lines
- [xyzmean/xsteer](https://octocounts.com/github/xyzmean/xsteer) — Go, 15,896 code lines
- [iamtew/subotto](https://octocounts.com/github/iamtew/subotto) — Go, 17,323 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)
