As of 2026-08-28 (commit 9f377f1cbd79), NationalSecurityAgency/ghidra contains 3,304,337 total lines: 2,139,363 code, 746,686 comments, 418,288 blank, across 16,039 files in 36 languages (top: Java 82.3%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving NationalSecurityAgency/ghidra to commit 9f377f1cbd79, 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 133 code lines per file. Java accounts for 82.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Java | 14309 | 2784725 | 1760123 | 659020 | 365582 |
| C++ | 146 | 159022 | 118789 | 22543 | 17690 |
| HTML | 376 | 104254 | 93551 | 313 | 10390 |
| Python | 138 | 47294 | 36792 | 3983 | 6519 |
| C | 98 | 49211 | 34783 | 8313 | 6115 |
| SVG | 90 | 25888 | 25820 | 34 | 34 |
| XML | 265 | 25538 | 22799 | 2069 | 670 |
| C++ Header | 114 | 36953 | 22486 | 11394 | 3073 |
| C Header | 61 | 12128 | 5465 | 5156 | 1507 |
| Happy | 5 | 3941 | 3535 | 0 | 406 |
| JSON | 17 | 3292 | 3292 | 0 | 0 |
| GNU Style Assembly | 7 | 4182 | 2564 | 0 | 1618 |
Top language (Java 82.3%). Generated at 2026-08-28T14:20:33.249945914+00:00.
NationalSecurityAgency/ghidra has 3,304,337 total lines, including 2,139,363 code lines, 746,686 comment lines, and 418,288 blank lines.
OctoCounts resolved the public GitHub repository to commit 9f377f1cbd79, 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 9f377f1cbd79 on 2026-08-28T14:20:33.249945914+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: