# NationalSecurityAgency/ghidra SLOC report

> 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.

## 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 133 code lines per file. Java accounts for 82.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 14,309 | 2,784,725 | 1,760,123 | 659,020 | 365,582 |
| C++ | 146 | 159,022 | 118,789 | 22,543 | 17,690 |
| HTML | 376 | 104,254 | 93,551 | 313 | 10,390 |
| 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,538 | 22,799 | 2,069 | 670 |
| C++ Header | 114 | 36,953 | 22,486 | 11,394 | 3,073 |
| C Header | 61 | 12,128 | 5,465 | 5,156 | 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-08-28T14:20:33.249945914+00:00. Canonical report: https://octocounts.com/github/NationalSecurityAgency/ghidra

## Report FAQ

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

NationalSecurityAgency/ghidra has 3,304,337 total lines, including 2,139,363 code lines, 746,686 comment lines, and 418,288 blank lines.

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

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.

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

This OctoCounts report was generated from master at commit 9f377f1cbd79 on 2026-08-28T14:20:33.249945914+00:00.

## Similar repository reports

- [apache/Beam](https://octocounts.com/github/apache/Beam) — Java, 2,064,680 code lines
- [nationalsecurityagency/ghidra](https://octocounts.com/github/nationalsecurityagency/ghidra) — Java, 2,439,956 code lines
- [apache/flink](https://octocounts.com/github/apache/flink) — Java, 2,495,277 code lines
- [elastic/elasticsearch](https://octocounts.com/github/elastic/elasticsearch) — Java, 2,871,668 code lines
- [apache/NiFi](https://octocounts.com/github/apache/NiFi) — Java, 1,296,874 code lines
- [opensearch-project/OpenSearch](https://octocounts.com/github/opensearch-project/OpenSearch) — Java, 1,179,852 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)
- [OctoCounts API docs](https://octocounts.com/docs/api)
