# apache/apr SLOC report

> As of 2026-09-07 (commit c5db070f0800), apache/apr contains 135,515 total lines: 85,262 code, 32,762 comments, 17,491 blank, across 388 files in 8 languages (top: C 84.1%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

apache/apr has 85,262 source lines of code out of 135,515 total lines across 388 files, counted from the c5db070f0800834ec9cbfef4a44862cdf87ccdf0 ref at commit c5db070f0800 by the OctoCounts tokei engine on 2026-09-07. 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 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.

## Repository size insights

This is a medium-sized codebase by counted code lines. Code represents 62.9% of all lines, comments represent 24.2%, and the repository averages 220 code lines per file. C accounts for 84.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 247 | 98,132 | 71,734 | 12,818 | 13,580 |
| C Header | 126 | 31,418 | 9,323 | 18,912 | 3,183 |
| Autoconf | 8 | 4,587 | 3,120 | 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.1%). Generated at 2026-09-07T06:11:55.455614162+00:00. Canonical report: https://octocounts.com/github/apache/apr

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/apache/apr/commit/c5db070f0800834ec9cbfef4a44862cdf87ccdf0?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).

## Report FAQ

### How many lines of code does apache/apr have?

apache/apr has 135,515 total lines, including 85,262 code lines, 32,762 comment lines, and 17,491 blank lines.

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

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.

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

This OctoCounts report was generated from c5db070f0800834ec9cbfef4a44862cdf87ccdf0 at commit c5db070f0800 on 2026-09-07T06:11:55.455614162+00:00.

## Similar repository reports

- [AstraThreshold/oled-ui-astra](https://octocounts.com/github/AstraThreshold/oled-ui-astra) — C, 85,505 code lines
- [RsyncProject/rsync](https://octocounts.com/github/RsyncProject/rsync) — C, 88,909 code lines
- [ithewei/libhv](https://octocounts.com/github/ithewei/libhv) — C, 80,309 code lines
- [coreutils/coreutils](https://octocounts.com/github/coreutils/coreutils) — C, 77,493 code lines
- [leo-arch/clifm](https://octocounts.com/github/leo-arch/clifm) — C, 93,437 code lines
- [facebook/zstd](https://octocounts.com/github/facebook/zstd) — C, 76,962 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)
- [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)
