# samwafgo/SamWaf SLOC report

> samwafgo/SamWaf: 180,134 code lines at commit bce1346de7d7, counted with tokei-15.0.0 on 2026-11-16. Saved result d2af61142f86a249b41585bb4696d6f33fb7781c73ee005053d8ba6e49444b15.

samwafgo/SamWaf has 180,134 source lines of code out of 230,523 total lines across 1,343 files, counted with tokei from the main ref at commit bce1346de7d7 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving samwafgo/SamWaf to commit bce1346de7d7, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

samwafgo/SamWaf: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a large codebase by counted code lines. Code represents 78.1% of all lines, comments represent 12.8%, and the repository averages 134 code lines per file. Go accounts for 92.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 1,266 | 208,073 | 165,816 | 23,365 | 18,892 |
| JSON | 8 | 6,094 | 6,094 | 0 | 0 |
| JavaScript | 6 | 4,899 | 4,237 | 520 | 142 |
| YAML | 5 | 2,404 | 2,300 | 70 | 34 |
| 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 92.1%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/samwafgo/SamWaf/commit/bce1346de7d79f10f8529230a48c38a5e9c92a6c?reportId=d2af61142f86a249b41585bb4696d6f33fb7781c73ee005053d8ba6e49444b15&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/bce1346de7d79f10f8529230a48c38a5e9c92a6c?reportId=d2af61142f86a249b41585bb4696d6f33fb7781c73ee005053d8ba6e49444b15&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 180,134 lines of code, plus 29,493 comment lines and 20,896 blank lines, for 230,523 total lines at commit bce1346de7d7 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit bce1346de7d7, 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 bce1346de7d7 on November 16, 2026.

## Similar repository reports

- [Bronya0/ally-agent](https://octocounts.com/github/Bronya0/ally-agent) — Go, 180,260 code lines
- [target/goalert](https://octocounts.com/github/target/goalert) — Go, 179,266 code lines
- [owncast/owncast](https://octocounts.com/github/owncast/owncast) — Go, 182,925 code lines
- [podman-container-tools/podman](https://octocounts.com/github/podman-container-tools/podman) — Go, 183,596 code lines
- [guregodevo/memdoor](https://octocounts.com/github/guregodevo/memdoor) — Go, 184,670 code lines
- [trefeon/freebucks-proxy](https://octocounts.com/github/trefeon/freebucks-proxy) — Go, 175,392 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)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
