# gpg/gnupg SLOC report

> gpg/gnupg: 451,841 code lines at commit a6aa02c0d50c, counted with tokei-15.0.0 on 2026-11-07. Saved result d64f35ef6d4459f47af23306239464d6802906bb6e0656d9a43bfb7452a11dfc.

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.

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.

## 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.

## 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 725 code lines per file. C accounts for 61.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 343 | 365,696 | 279,783 | 41,198 | 44,715 |
| PO File | 28 | 298,517 | 146,656 | 79,505 | 72,356 |
| C Header | 150 | 20,246 | 10,661 | 6,201 | 3,384 |
| TeX | 1 | 8,638 | 5,211 | 2,735 | 692 |
| M4 | 25 | 4,396 | 3,147 | 1,055 | 194 |
| Shell | 19 | 3,042 | 2,113 | 547 | 382 |
| Automake | 14 | 1,871 | 1,255 | 308 | 308 |
| Makefile | 1 | 1,452 | 1,073 | 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 | 35,608 | 0 | 35,438 | 170 |

Top language: C 61.9%. Generated on November 7, 2026. Canonical report: https://octocounts.com/github/gpg/gnupg/commit/a6aa02c0d50cf30e5d1b9843ba6d98f91bd228dd?reportId=d64f35ef6d4459f47af23306239464d6802906bb6e0656d9a43bfb7452a11dfc&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/gpg/gnupg/commit/a6aa02c0d50cf30e5d1b9843ba6d98f91bd228dd?reportId=d64f35ef6d4459f47af23306239464d6802906bb6e0656d9a43bfb7452a11dfc&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does gpg/gnupg have?

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.

### How was the gpg/gnupg line count measured?

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.

### What commit was counted for gpg/gnupg?

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

## Similar repository reports

- [stella-emu/stella](https://octocounts.com/github/stella-emu/stella) — C, 453,881 code lines
- [linux-test-project/ltp](https://octocounts.com/github/linux-test-project/ltp) — C, 462,747 code lines
- [oscar-soirey/Raven](https://octocounts.com/github/oscar-soirey/Raven) — C, 463,765 code lines
- [prabanta-dev/janas](https://octocounts.com/github/prabanta-dev/janas) — C, 440,558 code lines
- [colbymchenry/codegraph](https://octocounts.com/github/colbymchenry/codegraph) — C, 470,033 code lines
- [notaroomba/keybytes](https://octocounts.com/github/notaroomba/keybytes) — C, 431,517 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)
- [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)
