# apache/httpd SLOC report

> apache/httpd: 255,057 code lines at commit e539392198d8, counted with tokei-15.0.0 on 2026-11-16. Saved result a4f3054cd01dda35c1a61c35c015c95b4a1db0389434c78ef43d071d33d47989.

apache/httpd has 255,057 source lines of code out of 366,745 total lines across 849 files, counted with tokei from the trunk ref at commit e539392198d8 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving apache/httpd to commit e539392198d8, 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

apache/httpd: 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 69.5% of all lines, comments represent 18.6%, and the repository averages 300 code lines per file. C accounts for 90.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 350 | 310,628 | 229,862 | 44,280 | 36,486 |
| C Header | 207 | 40,655 | 15,208 | 20,313 | 5,134 |
| Autoconf | 64 | 5,640 | 3,714 | 1,181 | 745 |
| M4 | 53 | 3,809 | 3,147 | 380 | 282 |
| CMake | 2 | 1,673 | 1,385 | 107 | 181 |
| Python | 3 | 620 | 441 | 64 | 115 |
| Lex | 1 | 506 | 389 | 63 | 54 |
| D | 2 | 324 | 308 | 9 | 7 |
| Shell | 2 | 406 | 283 | 60 | 63 |
| Happy | 1 | 252 | 212 | 0 | 40 |
| Perl | 3 | 159 | 92 | 39 | 28 |
| Module-Definition | 1 | 19 | 12 | 3 | 4 |
| Makefile | 1 | 7 | 4 | 1 | 2 |
| Markdown | 6 | 1,438 | 0 | 1,114 | 324 |
| Plain Text | 153 | 609 | 0 | 593 | 16 |

Top language: C 90.1%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/apache/httpd/commit/e539392198d8afe95046750569a09539d11f0637?reportId=a4f3054cd01dda35c1a61c35c015c95b4a1db0389434c78ef43d071d33d47989&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/apache/httpd/commit/e539392198d8afe95046750569a09539d11f0637?reportId=a4f3054cd01dda35c1a61c35c015c95b4a1db0389434c78ef43d071d33d47989&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 apache/httpd have?

apache/httpd has 255,057 lines of code, plus 68,207 comment lines and 43,481 blank lines, for 366,745 total lines at commit e539392198d8 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the apache/httpd line count measured?

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

### What commit was counted for apache/httpd?

This OctoCounts report was generated from trunk at commit e539392198d8 on November 16, 2026.

## Similar repository reports

- [ThomasDickey/lynx-snapshots](https://octocounts.com/github/ThomasDickey/lynx-snapshots) — C, 255,364 code lines
- [leejet/stable-diffusion.cpp](https://octocounts.com/github/leejet/stable-diffusion.cpp) — C, 257,394 code lines
- [armory3d/armorpaint](https://octocounts.com/github/armory3d/armorpaint) — C, 267,034 code lines
- [JSB2010/seb-mac](https://octocounts.com/github/JSB2010/seb-mac) — C, 267,813 code lines
- [SafeExamBrowser/seb-mac](https://octocounts.com/github/SafeExamBrowser/seb-mac) — C, 268,482 code lines
- [aardappel/goose](https://octocounts.com/github/aardappel/goose) — C, 271,314 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)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [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)
