# trufflesecurity/trufflehog SLOC report

> As of 2026-09-14 (commit ce7b2b838ceb), trufflesecurity/trufflehog contains 502,207 total lines: 420,127 code, 25,883 comments, 56,197 blank, across 3,449 files in 11 languages (top: Go 93.4%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving trufflesecurity/trufflehog to commit ce7b2b838ceb, 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.

## Repository size insights

This is a large codebase by counted code lines. Code represents 83.7% of all lines, comments represent 5.2%, and the repository averages 122 code lines per file. Go accounts for 93.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 3,310 | 468,516 | 392,312 | 20,842 | 55,362 |
| JSON | 47 | 20,372 | 20,370 | 0 | 2 |
| YAML | 49 | 4,603 | 4,567 | 29 | 7 |
| Protocol Buffers | 7 | 2,300 | 2,128 | 32 | 140 |
| Shell | 10 | 620 | 474 | 52 | 94 |
| SVG | 1 | 135 | 135 | 0 | 0 |
| GraphQL | 1 | 75 | 75 | 0 | 0 |
| Makefile | 1 | 70 | 51 | 0 | 19 |
| Dockerfile | 1 | 17 | 15 | 0 | 2 |
| Markdown | 12 | 1,668 | 0 | 1,099 | 569 |
| Plain Text | 10 | 3,831 | 0 | 3,829 | 2 |

Top language (Go 93.4%). Generated at 2026-09-14T21:20:54.589531697+00:00. Canonical report: https://octocounts.com/github/trufflesecurity/trufflehog

## Report FAQ

### How many lines of code does trufflesecurity/trufflehog have?

trufflesecurity/trufflehog has 502,207 total lines, including 420,127 code lines, 25,883 comment lines, and 56,197 blank lines.

### How was the trufflesecurity/trufflehog line count measured?

OctoCounts resolved the public GitHub repository to commit ce7b2b838ceb, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for trufflesecurity/trufflehog?

This OctoCounts report was generated from ce7b2b838ceb4a90930c15cddd3848731604f5df at commit ce7b2b838ceb on 2026-09-14T21:20:54.589531697+00:00.

## Similar repository reports

- [gastownhall/gastown](https://octocounts.com/github/gastownhall/gastown) — Go, 424,935 code lines
- [Agent-Field/agentfield](https://octocounts.com/github/Agent-Field/agentfield) — Go, 414,198 code lines
- [QuantumNous/new-api](https://octocounts.com/github/QuantumNous/new-api) — Go, 438,753 code lines
- [rclone/rclone](https://octocounts.com/github/rclone/rclone) — Go, 438,829 code lines
- [prometheus/prometheus](https://octocounts.com/github/prometheus/prometheus) — Go, 452,364 code lines
- [ZenGeekLabs/DJOneHub](https://octocounts.com/github/ZenGeekLabs/DJOneHub) — Go, 459,462 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)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [OctoCounts API docs](https://octocounts.com/docs/api)
