gpg/gnupg

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.

As of 2026-11-14 (commit 7f65dbac1d73), gpg/gnupg contains 742,329 total lines: 452,242 code, 167,526 comments, 122,561 blank, across 623 files in 18 languages (top language: C 62.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-14 (commit 7f65dbac1d73), gpg/gnupg contains 742,329 total lines: 452,242 code, 167,526 comments, 122,561 blank, across 623 files in 18 languages (top language: C 62.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
C3433661752801824125344740
PO File282985171466567950572356
C Header150202491066362013385
TeX1863852112735692
M425439631471055194
Shell1930422113547382
Automake1418711255308308
Makefile114521073185194
Autoconf189748525864
SVG668968036
AWK432916014326
Scheme4167817016

Top language: C 62.0%. Generated on .

Counting rules and retention

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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does gpg/gnupg have?

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.

How was the gpg/gnupg line count measured?

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.

What commit was counted for gpg/gnupg?

This OctoCounts report was generated from master at commit 7f65dbac1d73 on November 14, 2026.

Similar repository reports

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.