As of 2026-08-07 (commit c5db070f0800), apache/apr contains 172,129 total lines: 112,739 code, 35,941 comments, 23,449 blank, across 506 files in 12 languages (top: C 85.1%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving apache/apr to commit c5db070f0800, 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.
This is a large codebase by counted code lines. Code represents 65.5% of all lines, comments represent 20.9%, and the repository averages 223 code lines per file. C accounts for 85.1% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 344 | 131084 | 95924 | 15812 | 19348 |
| C Header | 135 | 32056 | 9734 | 19067 | 3255 |
| Autoconf | 10 | 4852 | 3308 | 952 | 592 |
| XML | 2 | 2037 | 2037 | 0 | 0 |
| CMake | 2 | 922 | 765 | 47 | 110 |
| HTML | 4 | 708 | 641 | 1 | 66 |
| Bitbake | 1 | 123 | 111 | 0 | 12 |
| Perl | 1 | 106 | 80 | 4 | 22 |
| Shell | 1 | 145 | 72 | 51 | 22 |
| Scons | 2 | 82 | 57 | 3 | 22 |
| Batch | 1 | 10 | 10 | 0 | 0 |
| Plain Text | 3 | 4 | 0 | 4 | 0 |
Top language (C 85.1%). Generated at 2026-08-07T16:56:45.167780004+00:00.
apache/apr has 172,129 total lines, including 112,739 code lines, 35,941 comment lines, and 23,449 blank lines.
OctoCounts resolved the public GitHub repository to commit c5db070f0800, 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 c5db070f0800 on 2026-08-07T16:56:45.167780004+00:00.