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.
As of 2026-11-16 (commit bce1346de7d7), samwafgo/SamWaf contains 230,523 total lines: 180,134 code, 29,493 comments, 20,896 blank, across 1,343 files in 13 languages (top language: Go 92.1%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
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.
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 | 1266 | 208073 | 165816 | 23365 | 18892 |
| JSON | 8 | 6094 | 6094 | 0 | 0 |
| JavaScript | 6 | 4899 | 4237 | 520 | 142 |
| YAML | 5 | 2404 | 2300 | 70 | 34 |
| HTML | 6 | 1049 | 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 | 5031 | 0 | 3923 | 1108 |
Top language: Go 92.1%. Generated on .
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.
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.
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.
This OctoCounts report was generated from main at commit bce1346de7d7 on November 16, 2026.
Play the growth animation for samwafgo/SamWaf on this page — 180,134 code lines across 13 languages, counted by tokei.