NationalSecurityAgency/ghidra has 2,166,882 source lines of code out of 3,348,082 total lines across 16,239 files, counted with tokei from the master ref at commit 42db038f3c88 on November 10, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
NationalSecurityAgency/ghidra: 2,166,882 code lines at commit 42db038f3c88, counted with tokei-15.0.0 on 2026-11-10. Saved result 03e75b0aa7aecdfa2be8aa40a3f311a89ad4e9f4a12d9505c3912d6753198c1a.
OctoCounts produced this report by resolving NationalSecurityAgency/ghidra to commit 42db038f3c88, 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 very large codebase by counted code lines. Code represents 64.7% of all lines, comments represent 22.6%, and the repository averages 133 code lines per file. Java accounts for 82.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Java | 14484 | 2823499 | 1784782 | 668642 | 370075 |
| C++ | 148 | 160615 | 120014 | 22699 | 17902 |
| HTML | 381 | 105216 | 94242 | 315 | 10659 |
| Python | 138 | 47307 | 36799 | 3989 | 6519 |
| C | 98 | 49211 | 34783 | 8313 | 6115 |
| SVG | 91 | 25921 | 25851 | 35 | 35 |
| XML | 270 | 25714 | 22911 | 2130 | 673 |
| C++ Header | 115 | 37257 | 22666 | 11489 | 3102 |
| C Header | 62 | 12146 | 5468 | 5171 | 1507 |
| Happy | 5 | 3941 | 3535 | 0 | 406 |
| JSON | 17 | 3292 | 3292 | 0 | 0 |
| GNU Style Assembly | 7 | 4182 | 2564 | 0 | 1618 |
| Xtend | 17 | 2908 | 2217 | 361 | 330 |
| Shell | 36 | 3125 | 1507 | 1275 | 343 |
| TeX | 1 | 1304 | 1151 | 12 | 141 |
| PowerShell | 25 | 1940 | 950 | 800 | 190 |
| Batch | 30 | 1748 | 668 | 838 | 242 |
| Lex | 1 | 672 | 599 | 21 | 52 |
| Rust | 1 | 709 | 549 | 17 | 143 |
| Protocol Buffers | 2 | 667 | 507 | 14 | 146 |
| BASH | 19 | 831 | 397 | 285 | 149 |
| Visual Studio Project | 2 | 384 | 384 | 0 | 0 |
| Makefile | 5 | 470 | 335 | 34 | 101 |
| TOML | 7 | 234 | 208 | 0 | 26 |
| CSS | 8 | 548 | 206 | 268 | 74 |
| SQL | 1 | 107 | 83 | 4 | 20 |
| XSL | 1 | 93 | 72 | 9 | 12 |
| Visual Studio Solution | 2 | 46 | 45 | 0 | 1 |
| Dockerfile | 2 | 62 | 36 | 15 | 11 |
| GDB Script | 5 | 97 | 29 | 64 | 4 |
| Haskell | 1 | 14 | 11 | 0 | 3 |
| LD Script | 1 | 10 | 9 | 0 | 1 |
| Autoconf | 6 | 7 | 7 | 0 | 0 |
| Lua | 1 | 6 | 4 | 1 | 1 |
| Forge Config | 1 | 1 | 1 | 0 | 0 |
| Markdown | 159 | 9275 | 0 | 7362 | 1913 |
| Plain Text | 89 | 24523 | 0 | 23358 | 1165 |
Top language: Java 82.4%. Generated on .
NationalSecurityAgency/ghidra: 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.
NationalSecurityAgency/ghidra has 2,166,882 lines of code, plus 757,521 comment lines and 423,679 blank lines, for 3,348,082 total lines at commit 42db038f3c88 on November 10, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 42db038f3c88, 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 42db038f3c88 on November 10, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for NationalSecurityAgency/ghidra on this page — 2,166,882 code lines across 37 languages, counted by tokei.