trufflesecurity/trufflehog has 438,952 source lines of code out of 529,614 total lines across 3,537 files, counted with tokei from the main ref at commit db665f0c24c6 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-15 (commit db665f0c24c6), trufflesecurity/trufflehog contains 529,614 total lines: 438,952 code, 30,725 comments, 59,937 blank, across 3,537 files in 11 languages (top language: Go 93.6%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving trufflesecurity/trufflehog to commit db665f0c24c6, 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 82.9% of all lines, comments represent 5.8%, and the repository averages 124 code lines per file. Go accounts for 93.6% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Go | 3380 | 492867 | 411072 | 23782 | 58013 |
| JSON | 47 | 20359 | 20357 | 0 | 2 |
| YAML | 51 | 4636 | 4599 | 29 | 8 |
| Protocol Buffers | 7 | 2353 | 2160 | 50 | 143 |
| Shell | 10 | 620 | 474 | 52 | 94 |
| SVG | 1 | 135 | 135 | 0 | 0 |
| GraphQL | 1 | 75 | 75 | 0 | 0 |
| Makefile | 1 | 86 | 65 | 0 | 21 |
| Dockerfile | 1 | 17 | 15 | 0 | 2 |
| Markdown | 28 | 4635 | 0 | 2983 | 1652 |
| Plain Text | 10 | 3831 | 0 | 3829 | 2 |
Top language: Go 93.6%. Generated on .
trufflesecurity/trufflehog: 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.
trufflesecurity/trufflehog has 438,952 lines of code, plus 30,725 comment lines and 59,937 blank lines, for 529,614 total lines at commit db665f0c24c6 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit db665f0c24c6, 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 db665f0c24c6 on November 15, 2026.
Play the growth animation for trufflesecurity/trufflehog on this page — 438,952 code lines across 11 languages, counted by tokei.