# caddyserver/caddy SLOC report

> caddyserver/caddy: 106,390 code lines at commit 7ce9f0823762, counted with tokei-15.0.0 on 2026-11-14. Saved result 3a1014676d8bd584b55d3fa085c87639a24579938897d9adb947cd8f5374cd1a.

caddyserver/caddy has 106,390 source lines of code out of 145,337 total lines across 478 files, counted with tokei from the master ref at commit 7ce9f0823762 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving caddyserver/caddy to commit 7ce9f0823762, 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.

## Counting rules and retention

caddyserver/caddy: 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.

## Repository size insights

This is a large codebase by counted code lines. Code represents 73.2% of all lines, comments represent 17.3%, and the repository averages 223 code lines per file. Go accounts for 95.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 429 | 139,579 | 101,561 | 24,375 | 13,643 |
| 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.5%. Generated on November 14, 2026. Canonical report: https://octocounts.com/github/caddyserver/caddy/commit/7ce9f0823762109fc67911f95f6af1a697345ab7?reportId=3a1014676d8bd584b55d3fa085c87639a24579938897d9adb947cd8f5374cd1a&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

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

## Report FAQ

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

caddyserver/caddy has 106,390 lines of code, plus 25,127 comment lines and 13,820 blank lines, for 145,337 total lines at commit 7ce9f0823762 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit 7ce9f0823762, 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 7ce9f0823762 on November 14, 2026.

## Similar repository reports

- [crossplane/crossplane](https://octocounts.com/github/crossplane/crossplane) — Go, 106,400 code lines
- [insightlabs38-pixel/VSF](https://octocounts.com/github/insightlabs38-pixel/VSF) — Go, 106,631 code lines
- [Kodiqa-Solutions/VaultS3](https://octocounts.com/github/Kodiqa-Solutions/VaultS3) — Go, 104,478 code lines
- [devspace-sh/devspace](https://octocounts.com/github/devspace-sh/devspace) — Go, 108,441 code lines
- [1lck/viff](https://octocounts.com/github/1lck/viff) — Go, 111,617 code lines
- [kopia/kopia](https://octocounts.com/github/kopia/kopia) — Go, 112,446 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)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
