# samwafgo/samwaf SLOC report

> As of 2026-07-17 (commit c58eeb58d497), samwafgo/samwaf contains 125,201 total lines: 93,456 code, 18,622 comments, 13,123 blank, across 800 files in 13 languages (top: Go 86.5%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving samwafgo/samwaf to commit c58eeb58d497, 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 74.6% of all lines, comments represent 14.9%, and the repository averages 117 code lines per file. Go accounts for 86.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 714 | 103,839 | 80,821 | 12,009 | 11,009 |
| JSON | 8 | 6,094 | 6,094 | 0 | 0 |
| JavaScript | 6 | 4,899 | 4,237 | 520 | 142 |
| YAML | 4 | 838 | 767 | 52 | 19 |
| HTML | 5 | 997 | 700 | 11 | 286 |
| SVG | 2 | 485 | 395 | 50 | 40 |
| Shell | 2 | 219 | 175 | 20 | 24 |
| Batch | 10 | 174 | 143 | 9 | 22 |
| CSS | 2 | 86 | 68 | 7 | 11 |
| Protocol Buffers | 1 | 60 | 34 | 12 | 14 |
| Dockerfile | 1 | 44 | 22 | 13 | 9 |
| Markdown | 33 | 5,762 | 0 | 4,493 | 1,269 |

Top language (Go 86.5%). Generated at 2026-07-17T07:41:02.792526370+00:00. Canonical report: https://octocounts.com/github/samwafgo/samwaf

## Report FAQ

### How many lines of code does samwafgo/samwaf have?

samwafgo/samwaf has 125,201 total lines, including 93,456 code lines, 18,622 comment lines, and 13,123 blank lines.

### How was the samwafgo/samwaf line count measured?

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

### What commit was counted for samwafgo/samwaf?

This OctoCounts report was generated from main at commit c58eeb58d497 on 2026-07-17T07:41:02.792526370+00:00.

## Similar repository reports

- [helm/helm](https://octocounts.com/github/helm/helm) — Go, 87,905 code lines
- [alibaba/open-code-review](https://octocounts.com/github/alibaba/open-code-review) — Go, 101,992 code lines
- [sourcegraph/zoekt](https://octocounts.com/github/sourcegraph/zoekt) — Go, 82,627 code lines
- [usememos/memos](https://octocounts.com/github/usememos/memos) — Go, 104,289 code lines
- [asciimoo/hister](https://octocounts.com/github/asciimoo/hister) — Go, 80,723 code lines
- [gofiber/fiber](https://octocounts.com/github/gofiber/fiber) — Go, 108,831 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)
