trufflesecurity/trufflehog has 427,950 source lines of code out of 515,420 total lines across 3,485 files, counted from the main ref at commit 0e427395344c by the OctoCounts tokei engine on 2026-10-08. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-08 (commit 0e427395344c), trufflesecurity/trufflehog contains 515,420 total lines: 427,950 code, 29,069 comments, 58,401 blank, across 3,485 files in 11 languages (top: Go 93.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving trufflesecurity/trufflehog to commit 0e427395344c, 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.
This is a large codebase by counted code lines. Code represents 83.0% of all lines, comments represent 5.6%, and the repository averages 123 code lines per file. Go accounts for 93.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Go | 3331 | 478996 | 400097 | 22317 | 56582 |
| JSON | 47 | 20372 | 20370 | 0 | 2 |
| YAML | 49 | 4603 | 4567 | 29 | 7 |
| Protocol Buffers | 7 | 2344 | 2152 | 49 | 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 | 27 | 4341 | 0 | 2793 | 1548 |
| Plain Text | 10 | 3831 | 0 | 3829 | 2 |
Top language (Go 93.5%). Generated at .
trufflesecurity/trufflehog has 515,420 total lines, including 427,950 code lines, 29,069 comment lines, and 58,401 blank lines.
OctoCounts resolved the public GitHub repository to commit 0e427395344c, 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 0e427395344c on 2026-10-08T22:48:35.007238109+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for trufflesecurity/trufflehog on this page — 427,950 code lines across 11 languages, counted by tokei.