gpg/gnupg has 451,841 source lines of code out of 741,847 total lines across 623 files, counted with tokei from the master ref at commit a6aa02c0d50c on November 7, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
gpg/gnupg: 451,841 code lines at commit a6aa02c0d50c, counted with tokei-15.0.0 on 2026-11-07. Saved result d64f35ef6d4459f47af23306239464d6802906bb6e0656d9a43bfb7452a11dfc.
OctoCounts produced this report by resolving gpg/gnupg to commit a6aa02c0d50c, 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 725 code lines per file. C accounts for 61.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 343 | 365696 | 279783 | 41198 | 44715 |
| PO File | 28 | 298517 | 146656 | 79505 | 72356 |
| C Header | 150 | 20246 | 10661 | 6201 | 3384 |
| 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 61.9%. 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 451,841 lines of code, plus 167,471 comment lines and 122,535 blank lines, for 741,847 total lines at commit a6aa02c0d50c on November 7, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit a6aa02c0d50c, 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 a6aa02c0d50c on November 7, 2026.
Play the growth animation for gpg/gnupg on this page — 451,841 code lines across 18 languages, counted by tokei.