As of 2026-07-25 (commit 817766af2712), nationalsecurityagency/ghidra contains 3,727,703 total lines: 2,439,956 code, 816,283 comments, 471,464 blank, across 17,382 files in 37 languages (top: Java 83.5%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving nationalsecurityagency/ghidra to commit 817766af2712, 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 65.5% of all lines, comments represent 21.9%, and the repository averages 140 code lines per file. Java accounts for 83.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Java | 15603 | 3178917 | 2037561 | 723761 | 417595 |
| C++ | 146 | 158308 | 118200 | 22488 | 17620 |
| HTML | 376 | 104252 | 93553 | 313 | 10386 |
| XML | 276 | 46112 | 43239 | 2049 | 824 |
| Python | 144 | 47975 | 37247 | 4075 | 6653 |
| C | 99 | 49399 | 34887 | 8328 | 6184 |
| SVG | 90 | 25888 | 25820 | 34 | 34 |
| C++ Header | 114 | 36779 | 22359 | 11363 | 3057 |
| C Header | 67 | 14702 | 7308 | 5396 | 1998 |
| Happy | 5 | 3941 | 3535 | 0 | 406 |
| JSON | 17 | 3292 | 3292 | 0 | 0 |
| Xtend | 21 | 3716 | 2858 | 469 | 389 |
Top language (Java 83.5%). Generated at 2026-07-25T13:02:48.255748082+00:00.
nationalsecurityagency/ghidra has 3,727,703 total lines, including 2,439,956 code lines, 816,283 comment lines, and 471,464 blank lines.
OctoCounts resolved the public GitHub repository to commit 817766af2712, 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 817766af2712 on 2026-07-25T13:02:48.255748082+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: