# NationalSecurityAgency/ghidra SLOC report

> As of 2026-09-18 (commit ebd54fcf5275), NationalSecurityAgency/ghidra contains 3,329,242 total lines: 2,154,124 code, 754,053 comments, 421,065 blank, across 16,135 files in 37 languages (top: Java 82.3%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

NationalSecurityAgency/ghidra has 2,154,124 source lines of code out of 3,329,242 total lines across 16,135 files, counted from the master ref at commit ebd54fcf5275 by the OctoCounts tokei engine on 2026-09-18. 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 ebd54fcf5275, 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,392 | 2,805,968 | 1,772,480 | 665,785 | 367,703 |
| C++ | 147 | 160,010 | 119,538 | 22,638 | 17,834 |
| HTML | 378 | 105,398 | 94,481 | 315 | 10,602 |
| Python | 138 | 47,294 | 36,792 | 3,983 | 6,519 |
| C | 98 | 49,211 | 34,783 | 8,313 | 6,115 |
| SVG | 90 | 25,888 | 25,820 | 34 | 34 |
| XML | 265 | 25,560 | 22,812 | 2,075 | 673 |
| C++ Header | 114 | 37,001 | 22,523 | 11,398 | 3,080 |
| 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 |

Top language (Java 82.3%). Generated at 2026-09-18T07:22:59.666508393+00:00. Canonical report: https://octocounts.com/github/NationalSecurityAgency/ghidra

## Reproduce this report

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

## Report FAQ

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

NationalSecurityAgency/ghidra has 3,329,242 total lines, including 2,154,124 code lines, 754,053 comment lines, and 421,065 blank lines.

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

OctoCounts resolved the public GitHub repository to commit ebd54fcf5275, 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 ebd54fcf5275 on 2026-09-18T07:22:59.666508393+00:00.

## Similar repository reports

- [nationalsecurityagency/ghidra](https://octocounts.com/github/nationalsecurityagency/ghidra) — Java, 2,151,508 code lines
- [apache/Beam](https://octocounts.com/github/apache/Beam) — Java, 2,115,921 code lines
- [elastic/elasticsearch](https://octocounts.com/github/elastic/elasticsearch) — Java, 3,091,605 code lines
- [opensearch-project/OpenSearch](https://octocounts.com/github/opensearch-project/OpenSearch) — Java, 1,187,173 code lines
- [mycodedoesnotcompile2/jdownloader_mirror](https://octocounts.com/github/mycodedoesnotcompile2/jdownloader_mirror) — Java, 1,047,731 code lines
- [quarkusio/quarkus](https://octocounts.com/github/quarkusio/quarkus) — Java, 944,399 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)
