# apache/netbeans SLOC report

> apache/netbeans: 4,912,539 code lines at commit 80b4a304a155, counted with tokei-15.0.0 on 2026-11-06. Saved result 205719bc892ef789e8f6691f4551c5ec7b3a97053066b19d76569fb046a444cd.

apache/netbeans has 4,912,539 source lines of code out of 7,304,948 total lines across 35,492 files, counted with tokei from the master ref at commit 80b4a304a155 on November 6, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving apache/netbeans to commit 80b4a304a155, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

apache/netbeans: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a very large codebase by counted code lines. Code represents 67.2% of all lines, comments represent 22.2%, and the repository averages 138 code lines per file. Java accounts for 84.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 27,806 | 6,088,911 | 4,126,838 | 1,264,227 | 697,846 |
| XML | 4,001 | 799,415 | 543,477 | 212,303 | 43,635 |
| HTML | 1,375 | 142,142 | 105,146 | 30,268 | 6,728 |
| SVG | 1,299 | 72,376 | 41,582 | 27,229 | 3,565 |
| JSON | 32 | 35,946 | 35,902 | 0 | 44 |
| XSL | 77 | 28,854 | 25,389 | 2,568 | 897 |
| CSS | 40 | 10,793 | 8,740 | 1,230 | 823 |
| JavaScript | 64 | 10,650 | 7,878 | 1,871 | 901 |
| C | 31 | 5,703 | 3,626 | 1,221 | 856 |
| Shell | 89 | 5,239 | 2,504 | 1,999 | 736 |
| C Header | 27 | 3,764 | 2,385 | 985 | 394 |
| C++ | 11 | 2,879 | 2,233 | 293 | 353 |
| FreeMarker | 24 | 2,776 | 2,051 | 448 | 277 |
| PHP | 38 | 2,592 | 1,413 | 857 | 322 |
| SQL | 6 | 1,253 | 934 | 110 | 209 |
| Makefile | 11 | 971 | 509 | 268 | 194 |
| Batch | 16 | 607 | 490 | 30 | 87 |
| Groovy | 11 | 595 | 411 | 102 | 82 |
| Perl | 3 | 410 | 278 | 69 | 63 |
| Prolog | 1 | 217 | 186 | 0 | 31 |
| BASH | 2 | 152 | 106 | 30 | 16 |
| Haskell | 2 | 110 | 93 | 3 | 14 |
| Swift | 4 | 152 | 53 | 82 | 17 |
| HCL | 2 | 56 | 40 | 7 | 9 |
| TOML | 2 | 44 | 32 | 4 | 8 |
| JSX | 1 | 33 | 31 | 0 | 2 |
| YAML | 2 | 31 | 30 | 1 | 0 |
| Templ | 3 | 26 | 25 | 0 | 1 |
| Dockerfile | 1 | 27 | 22 | 2 | 3 |
| C++ Header | 1 | 24 | 20 | 0 | 4 |
| LESS | 1 | 29 | 20 | 4 | 5 |
| Sass | 1 | 29 | 20 | 4 | 5 |
| TypeScript | 1 | 23 | 20 | 0 | 3 |
| Go | 1 | 24 | 16 | 4 | 4 |
| INI | 3 | 33 | 13 | 18 | 2 |
| Vue | 2 | 19 | 12 | 0 | 7 |
| Twig | 2 | 13 | 11 | 2 | 0 |
| Rust | 1 | 4 | 3 | 0 | 1 |
| Markdown | 10 | 498 | 0 | 375 | 123 |
| Pan | 1 | 1 | 0 | 0 | 1 |
| Plain Text | 487 | 87,527 | 0 | 71,538 | 15,989 |

Top language: Java 84.0%. Generated on November 6, 2026. Canonical report: https://octocounts.com/github/apache/netbeans/commit/80b4a304a155b281d632a5a6ca26489adeb91f45?reportId=205719bc892ef789e8f6691f4551c5ec7b3a97053066b19d76569fb046a444cd&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/apache/netbeans/commit/80b4a304a155b281d632a5a6ca26489adeb91f45?reportId=205719bc892ef789e8f6691f4551c5ec7b3a97053066b19d76569fb046a444cd&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does apache/netbeans have?

apache/netbeans has 4,912,539 lines of code, plus 1,618,152 comment lines and 774,257 blank lines, for 7,304,948 total lines at commit 80b4a304a155 on November 6, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the apache/netbeans line count measured?

OctoCounts resolved the public GitHub repository to commit 80b4a304a155, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for apache/netbeans?

This OctoCounts report was generated from master at commit 80b4a304a155 on November 6, 2026.

## Similar repository reports

- [aosp-mirror/platform_frameworks_base](https://octocounts.com/github/aosp-mirror/platform_frameworks_base) — Java, 4,860,279 code lines
- [Evolution-X/frameworks_base](https://octocounts.com/github/Evolution-X/frameworks_base) — Java, 5,462,911 code lines
- [crdroidandroid/android_frameworks_base](https://octocounts.com/github/crdroidandroid/android_frameworks_base) — Java, 5,463,695 code lines
- [microsoft/openjdk-jdk25u](https://octocounts.com/github/microsoft/openjdk-jdk25u) — Java, 5,626,404 code lines
- [openjdk/jdk](https://octocounts.com/github/openjdk/jdk) — Java, 5,725,975 code lines
- [risin42/NagramX](https://octocounts.com/github/risin42/NagramX) — Java, 4,212,256 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)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
