apache/apr has 85,525 source lines of code out of 135,874 total lines across 388 files, counted with tokei from the trunk ref at commit 4395afd78048 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-14 (commit 4395afd78048), apache/apr contains 135,874 total lines: 85,525 code, 32,793 comments, 17,556 blank, across 388 files in 8 languages (top language: C 84.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving apache/apr to commit 4395afd78048, 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.
This is a medium-sized codebase by counted code lines. Code represents 62.9% of all lines, comments represent 24.1%, and the repository averages 220 code lines per file. C accounts for 84.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 247 | 98484 | 71992 | 12847 | 13645 |
| C Header | 126 | 31425 | 9328 | 18914 | 3183 |
| Autoconf | 8 | 4587 | 3120 | 927 | 540 |
| CMake | 2 | 922 | 765 | 47 | 110 |
| Bitbake | 1 | 123 | 111 | 0 | 12 |
| Perl | 1 | 106 | 80 | 4 | 22 |
| Shell | 1 | 145 | 72 | 51 | 22 |
| Scons | 2 | 82 | 57 | 3 | 22 |
Top language: C 84.2%. Generated on .
apache/apr: 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.
apache/apr has 85,525 lines of code, plus 32,793 comment lines and 17,556 blank lines, for 135,874 total lines at commit 4395afd78048 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 4395afd78048, 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 trunk at commit 4395afd78048 on November 14, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for apache/apr on this page — 85,525 code lines across 8 languages, counted by tokei.