gpg/gnupg has 452,242 source lines of code out of 742,329 total lines across 623 files, counted with tokei from the master ref at commit 7f65dbac1d73 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
gpg/gnupg: 452,242 code lines at commit 7f65dbac1d73, counted with tokei-15.0.0 on 2026-11-14. Saved result a05a896d508f28c2bfbb240acfa47ce941e4077246f6a2d3bd29c2dccbd2595b.
OctoCounts produced this report by resolving gpg/gnupg to commit 7f65dbac1d73, 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 large codebase by counted code lines. Code represents 60.9% of all lines, comments represent 22.6%, and the repository averages 726 code lines per file. C accounts for 62.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 343 | 366175 | 280182 | 41253 | 44740 |
| PO File | 28 | 298517 | 146656 | 79505 | 72356 |
| C Header | 150 | 20249 | 10663 | 6201 | 3385 |
| TeX | 1 | 8638 | 5211 | 2735 | 692 |
| M4 | 25 | 4396 | 3147 | 1055 | 194 |
| Shell | 19 | 3042 | 2113 | 547 | 382 |
| Automake | 14 | 1871 | 1255 | 308 | 308 |
| Makefile | 1 | 1452 | 1073 | 185 | 194 |
| Autoconf | 18 | 974 | 852 | 58 | 64 |
| SVG | 6 | 689 | 680 | 3 | 6 |
| AWK | 4 | 329 | 160 | 143 | 26 |
| Scheme | 4 | 167 | 81 | 70 | 16 |
| HTML | 1 | 46 | 46 | 0 | 0 |
| CSS | 1 | 59 | 45 | 1 | 13 |
| INI | 1 | 46 | 35 | 5 | 6 |
| Batch | 1 | 31 | 28 | 0 | 3 |
| Perl | 1 | 40 | 15 | 19 | 6 |
| Plain Text | 5 | 35608 | 0 | 35438 | 170 |
Top language: C 62.0%. Generated on .
gpg/gnupg: 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.
gpg/gnupg has 452,242 lines of code, plus 167,526 comment lines and 122,561 blank lines, for 742,329 total lines at commit 7f65dbac1d73 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 7f65dbac1d73, 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 master at commit 7f65dbac1d73 on November 14, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for gpg/gnupg on this page — 452,242 code lines across 18 languages, counted by tokei.