# gpg/gnupg SLOC report

> As of 2026-10-22 (commit a85559aa5e7b), gpg/gnupg contains 740,241 total lines: 450,682 code, 167,216 comments, 122,343 blank, across 619 files in 18 languages (top: C 61.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

gpg/gnupg has 450,682 source lines of code out of 740,241 total lines across 619 files, counted from the master ref at commit a85559aa5e7b by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving gpg/gnupg to commit a85559aa5e7b, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

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

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 340 | 364,190 | 278,674 | 40,976 | 44,540 |
| PO File | 28 | 298,517 | 146,656 | 79,505 | 72,356 |
| C Header | 149 | 20,150 | 10,613 | 6,168 | 3,369 |
| 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,867 | 1,253 | 308 | 306 |
| 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 |

Top language (C 61.8%). Generated at 2026-10-22T04:18:53.534294651+00:00. Canonical report: https://octocounts.com/github/gpg/gnupg

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/gpg/gnupg/commit/a85559aa5e7b1e52b0f9aca72ab4a1f1e4a9b3cf?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=e672af956d1a62713e42b63b17268f6121c7756b6d8238dc4ba66ef1be6fb9cf).

## Report FAQ

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

gpg/gnupg has 740,241 total lines, including 450,682 code lines, 167,216 comment lines, and 122,343 blank lines.

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

OctoCounts resolved the public GitHub repository to commit a85559aa5e7b, 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 a85559aa5e7b on 2026-10-22T04:18:53.534294651+00:00.

## Similar repository reports

- [weggli-rs/weggli](https://octocounts.com/github/weggli-rs/weggli) — C, 430,195 code lines
- [bsikar/ra8-firmware](https://octocounts.com/github/bsikar/ra8-firmware) — C, 482,331 code lines
- [weechat/weechat](https://octocounts.com/github/weechat/weechat) — C, 419,175 code lines
- [obsproject/obs-studio](https://octocounts.com/github/obsproject/obs-studio) — C, 490,220 code lines
- [colbymchenry/codegraph](https://octocounts.com/github/colbymchenry/codegraph) — C, 405,999 code lines
- [fwupd/fwupd](https://octocounts.com/github/fwupd/fwupd) — C, 512,742 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)
- [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)
