# qpdf/qpdf SLOC report

> As of 2026-11-09 (commit 4eba95899886), qpdf/qpdf contains 129,531 total lines: 101,136 code, 15,112 comments, 13,283 blank, across 626 files in 21 languages (top language: C++ 49.6%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

Source: [qpdf/qpdf on GitHub](https://github.com/qpdf/qpdf) · counted commit [4eba95899886](https://github.com/qpdf/qpdf/tree/4eba95899886e851cc41d76886483b347612f2a8)

qpdf/qpdf has 101,136 source lines of code out of 129,531 total lines across 626 files, counted with tokei from the main ref at commit 4eba95899886 on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving qpdf/qpdf to commit 4eba95899886, 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

qpdf/qpdf: 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 78.1% of all lines, comments represent 11.7%, and the repository averages 162 code lines per file. C++ accounts for 49.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 191 | 59,632 | 50,145 | 3,796 | 5,691 |
| JSON | 151 | 14,723 | 14,721 | 0 | 2 |
| C++ Header | 128 | 21,112 | 13,429 | 5,242 | 2,441 |
| ReStructuredText | 20 | 13,465 | 10,370 | 0 | 3,095 |
| C | 11 | 3,332 | 2,735 | 325 | 272 |
| Perl | 10 | 2,140 | 1,707 | 246 | 187 |
| Python | 4 | 2,105 | 1,689 | 290 | 126 |
| C Header | 12 | 4,272 | 1,664 | 2,150 | 458 |
| CMake | 13 | 1,847 | 1,578 | 142 | 127 |
| BASH | 31 | 1,742 | 1,353 | 218 | 171 |
| Autoconf | 21 | 1,002 | 937 | 57 | 8 |
| YAML | 2 | 535 | 495 | 36 | 4 |

Top language: C++ 49.6%. Generated on November 9, 2026. Canonical report: https://octocounts.com/github/qpdf/qpdf

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/qpdf/qpdf/commit/4eba95899886e851cc41d76886483b347612f2a8?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&reportId=92a0acf746229c412d555abe594360dc4a73178da0129752552fa4e1283427f0).

## Report FAQ

### How many lines of code does qpdf/qpdf have?

qpdf/qpdf has 101,136 lines of code, plus 15,112 comment lines and 13,283 blank lines, for 129,531 total lines at commit 4eba95899886 on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the qpdf/qpdf line count measured?

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

### What commit was counted for qpdf/qpdf?

This OctoCounts report was generated from main at commit 4eba95899886 on November 9, 2026.

## Similar repository reports

- [ScanTailor-Advanced/scantailor-advanced](https://octocounts.com/github/ScanTailor-Advanced/scantailor-advanced) — C++, 100,841 code lines
- [google/flatbuffers](https://octocounts.com/github/google/flatbuffers) — C++, 101,849 code lines
- [zhaomangang/WangWangChat](https://octocounts.com/github/zhaomangang/WangWangChat) — C++, 99,700 code lines
- [B4lex/PlayerHub](https://octocounts.com/github/B4lex/PlayerHub) — C++, 103,024 code lines
- [VTTI-CSM/CargoNetSim](https://octocounts.com/github/VTTI-CSM/CargoNetSim) — C++, 99,102 code lines
- [noctalia-dev/umbriel](https://octocounts.com/github/noctalia-dev/umbriel) — C++, 104,411 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)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [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)
