# nationalsecurityagency/ghidra SLOC report

> As of 2026-09-16 (commit 263160cf57db), nationalsecurityagency/ghidra contains 3,323,607 total lines: 2,151,508 code, 751,719 comments, 420,380 blank, across 16,113 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,151,508 source lines of code out of 3,323,607 total lines across 16,113 files, counted from the 263160cf57db21a9e25f1e0a8bc42fde5b8824eb ref at commit 263160cf57db by the OctoCounts tokei engine on 2026-09-16. 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 263160cf57db, 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,373 | 2,800,487 | 1,769,961 | 663,501 | 367,025 |
| 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 | 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-09-16T21:17:08.770086646+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/263160cf57db21a9e25f1e0a8bc42fde5b8824eb?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,323,607 total lines, including 2,151,508 code lines, 751,719 comment lines, and 420,380 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 263160cf57db, 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 263160cf57db21a9e25f1e0a8bc42fde5b8824eb at commit 263160cf57db on 2026-09-16T21:17:08.770086646+00:00.

## Similar repository reports

- [NationalSecurityAgency/ghidra](https://octocounts.com/github/NationalSecurityAgency/ghidra) — Java, 2,154,124 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)
