# samwafgo/SamWaf SLOC report

> samwafgo/SamWaf: 158,068 code lines at commit 28f4cec80e15, counted with tokei-14.0.0 on 2026-10-21. Saved result dbf6a5fede2bf9eb79d6c41f46508d0f29bf82d474143a38dd5c6fd32b68dd59.

samwafgo/SamWaf has 158,068 source lines of code out of 206,731 total lines across 1,215 files, counted from the main ref at commit 28f4cec80e15 by the OctoCounts tokei engine on 2026-10-21. 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 28f4cec80e15, 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.5% of all lines, comments represent 14.0%, and the repository averages 130 code lines per file. Go accounts for 91.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 1,138 | 184,682 | 144,162 | 22,849 | 17,671 |
| JSON | 8 | 6,094 | 6,094 | 0 | 0 |
| JavaScript | 6 | 4,899 | 4,237 | 520 | 142 |
| YAML | 5 | 2,003 | 1,888 | 72 | 43 |
| 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-21T02:54:42.599913127Z. Canonical report: https://octocounts.com/github/samwafgo/SamWaf/commit/28f4cec80e1561027f6a2599bcc8aa5963a06160?reportId=dbf6a5fede2bf9eb79d6c41f46508d0f29bf82d474143a38dd5c6fd32b68dd59&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/28f4cec80e1561027f6a2599bcc8aa5963a06160?reportId=dbf6a5fede2bf9eb79d6c41f46508d0f29bf82d474143a38dd5c6fd32b68dd59&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 206,731 total lines, including 158,068 code lines, 28,979 comment lines, and 19,684 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 28f4cec80e15, 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 28f4cec80e15 on 2026-10-21T02:54:42.599913127Z.

## Similar repository reports

- [usememos/memos](https://octocounts.com/github/usememos/memos) — Go, 161,745 code lines
- [XTLS/Xray-core](https://octocounts.com/github/XTLS/Xray-core) — Go, 162,357 code lines
- [alibaba/open-code-review](https://octocounts.com/github/alibaba/open-code-review) — Go, 163,224 code lines
- [dadrus/heimdall](https://octocounts.com/github/dadrus/heimdall) — Go, 152,593 code lines
- [dualface/kander](https://octocounts.com/github/dualface/kander) — Go, 152,272 code lines
- [MengMengCode/VoCat](https://octocounts.com/github/MengMengCode/VoCat) — Go, 166,169 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)
