# nationalsecurityagency/ghidra SLOC report

> As of 2026-07-25 (commit 817766af2712), nationalsecurityagency/ghidra contains 3,727,703 total lines: 2,439,956 code, 816,283 comments, 471,464 blank, across 17,382 files in 37 languages (top: Java 83.5%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving nationalsecurityagency/ghidra to commit 817766af2712, 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 65.5% of all lines, comments represent 21.9%, and the repository averages 140 code lines per file. Java accounts for 83.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 15,603 | 3,178,917 | 2,037,561 | 723,761 | 417,595 |
| C++ | 146 | 158,308 | 118,200 | 22,488 | 17,620 |
| HTML | 376 | 104,252 | 93,553 | 313 | 10,386 |
| XML | 276 | 46,112 | 43,239 | 2,049 | 824 |
| Python | 144 | 47,975 | 37,247 | 4,075 | 6,653 |
| C | 99 | 49,399 | 34,887 | 8,328 | 6,184 |
| SVG | 90 | 25,888 | 25,820 | 34 | 34 |
| C++ Header | 114 | 36,779 | 22,359 | 11,363 | 3,057 |
| C Header | 67 | 14,702 | 7,308 | 5,396 | 1,998 |
| Happy | 5 | 3,941 | 3,535 | 0 | 406 |
| JSON | 17 | 3,292 | 3,292 | 0 | 0 |
| Xtend | 21 | 3,716 | 2,858 | 469 | 389 |

Top language (Java 83.5%). Generated at 2026-07-25T13:02:48.255748082+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,727,703 total lines, including 2,439,956 code lines, 816,283 comment lines, and 471,464 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 817766af2712, 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 817766af2712 on 2026-07-25T13:02:48.255748082+00:00.

## Similar repository reports

- [apache/flink](https://octocounts.com/github/apache/flink) — Java, 2,495,277 code lines
- [NationalSecurityAgency/ghidra](https://octocounts.com/github/NationalSecurityAgency/ghidra) — Java, 2,139,363 code lines
- [apache/Beam](https://octocounts.com/github/apache/Beam) — Java, 2,064,680 code lines
- [elastic/elasticsearch](https://octocounts.com/github/elastic/elasticsearch) — Java, 3,091,605 code lines
- [apache/Camel](https://octocounts.com/github/apache/Camel) — Java, 3,427,355 code lines
- [exteraSquad/exteraGram](https://octocounts.com/github/exteraSquad/exteraGram) — Java, 3,529,381 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)
