# NationalSecurityAgency/ghidra SLOC report

> As of 2026-10-08 (commit c7bc89dd29ee), NationalSecurityAgency/ghidra contains 3,335,730 total lines: 2,158,569 code, 755,009 comments, 422,152 blank, across 16,167 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,158,569 source lines of code out of 3,335,730 total lines across 16,167 files, counted from the master ref at commit c7bc89dd29ee by the OctoCounts tokei engine on 2026-10-08. 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 c7bc89dd29ee, 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,811,340 | 1,776,113 | 666,583 | 368,644 |
| C++ | 148 | 160,536 | 119,957 | 22,677 | 17,902 |
| 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,234 | 22,653 | 11,480 | 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 |

Top language (Java 82.3%). Generated at 2026-10-08T23:24:55.591822090+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/c7bc89dd29ee7f56b753b29a8bbabcb36ad3cae7?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,335,730 total lines, including 2,158,569 code lines, 755,009 comment lines, and 422,152 blank lines.

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

OctoCounts resolved the public GitHub repository to commit c7bc89dd29ee, 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 c7bc89dd29ee on 2026-10-08T23:24:55.591822090+00:00.

## Similar repository reports

- [DrKLO/Telegram](https://octocounts.com/github/DrKLO/Telegram) — Java, 2,488,145 code lines
- [arsLan4k1390/Cherrygram](https://octocounts.com/github/arsLan4k1390/Cherrygram) — Java, 2,560,682 code lines
- [Ettacent/NimarkoGram](https://octocounts.com/github/Ettacent/NimarkoGram) — Java, 2,689,168 code lines
- [elastic/elasticsearch](https://octocounts.com/github/elastic/elasticsearch) — Java, 3,205,121 code lines
- [mlflow/mlflow](https://octocounts.com/github/mlflow/mlflow) — Java, 1,424,301 code lines
- [metasfresh/metasfresh](https://octocounts.com/github/metasfresh/metasfresh) — Java, 3,443,981 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)
