# apache/netbeans SLOC report

> As of 2026-11-16 (commit 9ebf95c80e20), apache/netbeans contains 7,305,142 total lines: 4,912,732 code, 1,618,152 comments, 774,258 blank, across 35,492 files in 41 languages (top language: Java 84.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

apache/netbeans has 4,912,732 source lines of code out of 7,305,142 total lines across 35,492 files, counted with tokei from the master ref at commit 9ebf95c80e20 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving apache/netbeans to commit 9ebf95c80e20, 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.3% 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,998 | 4,126,922 | 1,264,227 | 697,849 |
| XML | 4,001 | 799,524 | 543,586 | 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 |

Top language: Java 84.0%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/apache/netbeans

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/apache/netbeans/commit/9ebf95c80e2000093c10e8dba31543c5ca5288cf?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&reportId=ebdf60502bc6252444113b081d19b11ad9247a3e513ee17cf4c165e4891e1beb).

## Report FAQ

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

apache/netbeans has 4,912,732 lines of code, plus 1,618,152 comment lines and 774,258 blank lines, for 7,305,142 total lines at commit 9ebf95c80e20 on November 16, 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 9ebf95c80e20, 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 9ebf95c80e20 on November 16, 2026.

## Similar repository reports

- [aosp-mirror/platform_frameworks_base](https://octocounts.com/github/aosp-mirror/platform_frameworks_base) — Java, 4,860,279 code lines
- [crdroidandroid/android_frameworks_base](https://octocounts.com/github/crdroidandroid/android_frameworks_base) — Java, 5,462,911 code lines
- [microsoft/openjdk-jdk25u](https://octocounts.com/github/microsoft/openjdk-jdk25u) — Java, 5,626,154 code lines
- [openjdk/jdk](https://octocounts.com/github/openjdk/jdk) — Java, 5,725,077 code lines
- [exteraless/exteraless](https://octocounts.com/github/exteraless/exteraless) — Java, 3,951,205 code lines
- [metasfresh/metasfresh](https://octocounts.com/github/metasfresh/metasfresh) — Java, 3,502,087 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)
