NationalSecurityAgency/ghidra has 2,159,256 source lines of code out of 3,336,725 total lines across 16,167 files, counted from the master ref at commit 164003036607 by the OctoCounts tokei engine on 2026-10-23. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
NationalSecurityAgency/ghidra: 2,159,256 code lines at commit 164003036607, counted with tokei-14.0.0 on 2026-10-23. Saved result a62b7938e6c3f1f2a2e8c4deacae8ab6397a3aaa2bb2e19963f049f5c2ca797d.
OctoCounts produced this report by resolving NationalSecurityAgency/ghidra to commit 164003036607, 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.
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 134 code lines per file. Java accounts for 82.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Java | 14419 | 2812373 | 1776839 | 666772 | 368762 |
| C++ | 148 | 160552 | 119977 | 22675 | 17900 |
| HTML | 381 | 105695 | 94735 | 315 | 10645 |
| Python | 138 | 47305 | 36797 | 3989 | 6519 |
| C | 98 | 49211 | 34783 | 8313 | 6115 |
| SVG | 90 | 25888 | 25820 | 34 | 34 |
| XML | 265 | 25562 | 22814 | 2075 | 673 |
| C++ Header | 115 | 37241 | 22657 | 11483 | 3101 |
| 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 | 828 | 397 | 283 | 148 |
| 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 | 158 | 8834 | 0 | 7000 | 1834 |
| Plain Text | 89 | 24523 | 0 | 23358 | 1165 |
Top language (Java 82.3%). Generated at .
NationalSecurityAgency/ghidra has 3,336,725 total lines, including 2,159,256 code lines, 755,201 comment lines, and 422,268 blank lines.
OctoCounts resolved the public GitHub repository to commit 164003036607, 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 164003036607 on 2026-10-23T08:07:12.072406210Z.
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,159,256 code lines across 37 languages, counted by tokei.