# NationalSecurityAgency/ghidra SLOC report

> NationalSecurityAgency/ghidra: 2,159,256 code lines at commit 164003036607, counted with tokei-14.0.0 on 2026-10-23. Saved result a62b7938e6c3f1f2a2e8c4deacae8ab6397a3aaa2bb2e19963f049f5c2ca797d.

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.

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.

## Repository size insights

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 | 14,419 | 2,812,373 | 1,776,839 | 666,772 | 368,762 |
| C++ | 148 | 160,552 | 119,977 | 22,675 | 17,900 |
| HTML | 381 | 105,695 | 94,735 | 315 | 10,645 |
| Python | 138 | 47,305 | 36,797 | 3,989 | 6,519 |
| C | 98 | 49,211 | 34,783 | 8,313 | 6,115 |
| SVG | 90 | 25,888 | 25,820 | 34 | 34 |
| XML | 265 | 25,562 | 22,814 | 2,075 | 673 |
| C++ Header | 115 | 37,241 | 22,657 | 11,483 | 3,101 |
| C Header | 62 | 12,146 | 5,468 | 5,171 | 1,507 |
| Happy | 5 | 3,941 | 3,535 | 0 | 406 |
| JSON | 17 | 3,292 | 3,292 | 0 | 0 |
| GNU Style Assembly | 7 | 4,182 | 2,564 | 0 | 1,618 |
| Xtend | 17 | 2,908 | 2,217 | 361 | 330 |
| Shell | 36 | 3,125 | 1,507 | 1,275 | 343 |
| TeX | 1 | 1,304 | 1,151 | 12 | 141 |
| PowerShell | 25 | 1,940 | 950 | 800 | 190 |
| Batch | 30 | 1,748 | 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 | 8,834 | 0 | 7,000 | 1,834 |
| Plain Text | 89 | 24,523 | 0 | 23,358 | 1,165 |

Top language (Java 82.3%). Generated at 2026-10-23T08:07:12.072406210Z. Canonical report: https://octocounts.com/github/NationalSecurityAgency/ghidra/commit/164003036607e669226647bd0f7bedaf281e56a6?reportId=a62b7938e6c3f1f2a2e8c4deacae8ab6397a3aaa2bb2e19963f049f5c2ca797d&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/NationalSecurityAgency/ghidra/commit/164003036607e669226647bd0f7bedaf281e56a6?reportId=a62b7938e6c3f1f2a2e8c4deacae8ab6397a3aaa2bb2e19963f049f5c2ca797d&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does NationalSecurityAgency/ghidra have?

NationalSecurityAgency/ghidra has 3,336,725 total lines, including 2,159,256 code lines, 755,201 comment lines, and 422,268 blank lines.

### How was the NationalSecurityAgency/ghidra line count measured?

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.

### What commit was counted for NationalSecurityAgency/ghidra?

This OctoCounts report was generated from master at commit 164003036607 on 2026-10-23T08:07:12.072406210Z.

## Similar repository reports

- [DrKLO/Telegram](https://octocounts.com/github/DrKLO/Telegram) — Java, 2,496,884 code lines
- [arsLan4k1390/Cherrygram](https://octocounts.com/github/arsLan4k1390/Cherrygram) — Java, 2,560,682 code lines
- [apache/doris](https://octocounts.com/github/apache/doris) — Java, 1,779,992 code lines
- [Ettacent/NimarkoGram](https://octocounts.com/github/Ettacent/NimarkoGram) — Java, 2,738,294 code lines
- [mlflow/mlflow](https://octocounts.com/github/mlflow/mlflow) — Java, 1,515,365 code lines
- [elastic/elasticsearch](https://octocounts.com/github/elastic/elasticsearch) — Java, 3,254,671 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)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [Kubernetes vs Docker Compose](https://octocounts.com/compare/kubernetes-vs-docker-compose)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [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)
