# caddyserver/caddy SLOC report

> As of 2026-10-21 (commit f355b8687d55), caddyserver/caddy contains 133,692 total lines: 96,905 code, 23,759 comments, 13,028 blank, across 445 files in 9 languages (top: Go 95.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

caddyserver/caddy has 96,905 source lines of code out of 133,692 total lines across 445 files, counted from the master ref at commit f355b8687d55 by the OctoCounts tokei engine on 2026-10-21. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving caddyserver/caddy to commit f355b8687d55, 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 medium-sized codebase by counted code lines. Code represents 72.5% of all lines, comments represent 17.8%, and the repository averages 218 code lines per file. Go accounts for 95.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 396 | 127,934 | 92,076 | 23,007 | 12,851 |
| CSS | 1 | 2,836 | 2,827 | 9 | 0 |
| HTML | 4 | 2,080 | 1,995 | 38 | 47 |
| PHP | 3 | 3 | 3 | 0 | 0 |
| Shell | 1 | 17 | 2 | 13 | 2 |
| JSON | 1 | 1 | 1 | 0 | 0 |
| JavaScript | 1 | 1 | 1 | 0 | 0 |
| Markdown | 3 | 372 | 0 | 258 | 114 |
| Plain Text | 35 | 448 | 0 | 434 | 14 |

Top language (Go 95.0%). Generated at 2026-10-21T15:38:13.538489655+00:00. Canonical report: https://octocounts.com/github/caddyserver/caddy

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/caddyserver/caddy/commit/f355b8687d5582ea9fcc99f71598109d1e5b6ced?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=efca126cdd5288cdf5a8bbbb207744c766da5e8810eb4b574b326b26bbea6d32).

## Report FAQ

### How many lines of code does caddyserver/caddy have?

caddyserver/caddy has 133,692 total lines, including 96,905 code lines, 23,759 comment lines, and 13,028 blank lines.

### How was the caddyserver/caddy line count measured?

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

### What commit was counted for caddyserver/caddy?

This OctoCounts report was generated from master at commit f355b8687d55 on 2026-10-21T15:38:13.538489655+00:00.

## Similar repository reports

- [Hypostasis-Cat/HypoMux](https://octocounts.com/github/Hypostasis-Cat/HypoMux) — Go, 95,056 code lines
- [insightlabs38-pixel/VSF](https://octocounts.com/github/insightlabs38-pixel/VSF) — Go, 101,304 code lines
- [purpshell/meowcaller](https://octocounts.com/github/purpshell/meowcaller) — Go, 91,686 code lines
- [helm/helm](https://octocounts.com/github/helm/helm) — Go, 90,962 code lines
- [Bronya0/ally-agent](https://octocounts.com/github/Bronya0/ally-agent) — Go, 106,161 code lines
- [Kodiqa-Solutions/VaultS3](https://octocounts.com/github/Kodiqa-Solutions/VaultS3) — Go, 87,681 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)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
