trufflesecurity/trufflehog has 433,523 source lines of code out of 522,483 total lines across 3,519 files, counted from the main ref at commit 31ce31ee1abb by the OctoCounts tokei engine on 2026-10-24. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-24 (commit 31ce31ee1abb), trufflesecurity/trufflehog contains 522,483 total lines: 433,523 code, 29,792 comments, 59,168 blank, across 3,519 files in 11 languages (top: Go 93.6%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving trufflesecurity/trufflehog to commit 31ce31ee1abb, 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.7%, and the repository averages 123 code lines per file. Go accounts for 93.6% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Go | 3363 | 485999 | 405633 | 23024 | 57342 |
| JSON | 47 | 20372 | 20370 | 0 | 2 |
| YAML | 51 | 4636 | 4599 | 29 | 8 |
| Protocol Buffers | 7 | 2350 | 2157 | 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 | 27 | 4362 | 0 | 2808 | 1554 |
| Plain Text | 10 | 3831 | 0 | 3829 | 2 |
Top language (Go 93.6%). Generated at .
trufflesecurity/trufflehog has 522,483 total lines, including 433,523 code lines, 29,792 comment lines, and 59,168 blank lines.
OctoCounts resolved the public GitHub repository to commit 31ce31ee1abb, 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 31ce31ee1abb on 2026-10-24T10:04:05.955550009+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 — 433,523 code lines across 11 languages, counted by tokei.