# samwafgo/SamWaf SLOC report

> samwafgo/SamWaf: 156,481 code lines at commit 49726fe7ed51, counted with tokei-14.0.0 on 2026-10-14. Saved result 4f1b7e4bf2c77ca5fbc540e0d348c4a99f7bb9a707ed7e7fd0cb8010608f960e.

samwafgo/SamWaf has 156,481 source lines of code out of 205,009 total lines across 1,198 files, counted from the main ref at commit 49726fe7ed51 by the OctoCounts tokei engine on 2026-10-14. 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 samwafgo/SamWaf to commit 49726fe7ed51, 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 large codebase by counted code lines. Code represents 76.3% of all lines, comments represent 14.1%, and the repository averages 131 code lines per file. Go accounts for 91.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 1,121 | 183,086 | 142,697 | 22,808 | 17,581 |
| JSON | 8 | 6,094 | 6,094 | 0 | 0 |
| JavaScript | 6 | 4,899 | 4,237 | 520 | 142 |
| YAML | 5 | 1,877 | 1,766 | 72 | 39 |
| HTML | 6 | 1,049 | 745 | 12 | 292 |
| Shell | 2 | 592 | 460 | 74 | 58 |
| Batch | 12 | 398 | 293 | 55 | 50 |
| CSS | 2 | 86 | 68 | 7 | 11 |
| PowerShell | 1 | 89 | 65 | 16 | 8 |
| Protocol Buffers | 1 | 60 | 34 | 12 | 14 |
| Dockerfile | 1 | 44 | 22 | 13 | 9 |
| Markdown | 21 | 5,031 | 0 | 3,923 | 1,108 |
| Plain Text | 12 | 1,704 | 0 | 1,426 | 278 |

Top language (Go 91.2%). Generated at 2026-10-14T11:54:27.097179434Z. Canonical report: https://octocounts.com/github/samwafgo/SamWaf/commit/49726fe7ed5176200ddde9726c94b46003d5eff3?reportId=4f1b7e4bf2c77ca5fbc540e0d348c4a99f7bb9a707ed7e7fd0cb8010608f960e&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/samwafgo/SamWaf/commit/49726fe7ed5176200ddde9726c94b46003d5eff3?reportId=4f1b7e4bf2c77ca5fbc540e0d348c4a99f7bb9a707ed7e7fd0cb8010608f960e&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

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

samwafgo/SamWaf has 205,009 total lines, including 156,481 code lines, 28,938 comment lines, and 19,590 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 49726fe7ed51, 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 49726fe7ed51 on 2026-10-14T11:54:27.097179434Z.

## Similar repository reports

- [adithyan-ak/AgentHound](https://octocounts.com/github/adithyan-ak/AgentHound) — Go, 159,030 code lines
- [usememos/memos](https://octocounts.com/github/usememos/memos) — Go, 162,493 code lines
- [alibaba/open-code-review](https://octocounts.com/github/alibaba/open-code-review) — Go, 163,224 code lines
- [XTLS/Xray-core](https://octocounts.com/github/XTLS/Xray-core) — Go, 164,664 code lines
- [dualface/kander](https://octocounts.com/github/dualface/kander) — Go, 152,797 code lines
- [dadrus/heimdall](https://octocounts.com/github/dadrus/heimdall) — Go, 152,593 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)
