# apache/hbase SLOC report

> As of 2026-08-02 (commit 7dec56068960), apache/hbase contains 1,608,093 total lines: 1,134,239 code, 298,602 comments, 175,252 blank, across 6,230 files in 33 languages (top: Java 80.9%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving apache/hbase to commit 7dec56068960, 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 70.5% of all lines, comments represent 18.6%, and the repository averages 182 code lines per file. Java accounts for 80.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 5,370 | 1,319,115 | 917,413 | 253,647 | 148,055 |
| HTML | 17 | 51,581 | 51,029 | 300 | 252 |
| Python | 23 | 32,425 | 28,623 | 379 | 3,423 |
| XML | 105 | 27,823 | 23,843 | 3,671 | 309 |
| Ruby | 239 | 25,890 | 16,956 | 5,704 | 3,230 |
| JSON | 16 | 16,803 | 16,799 | 0 | 4 |
| C++ | 5 | 17,846 | 15,089 | 120 | 2,637 |
| PHP | 3 | 14,832 | 13,876 | 55 | 901 |
| Perl | 4 | 14,141 | 13,003 | 70 | 1,068 |
| Protocol Buffers | 70 | 8,493 | 6,857 | 333 | 1,303 |
| TSX | 95 | 9,382 | 6,768 | 1,782 | 832 |
| Shell | 52 | 9,555 | 6,223 | 2,305 | 1,027 |

Top language (Java 80.9%). Generated at 2026-08-02T08:59:38.541143990+00:00. Canonical report: https://octocounts.com/github/apache/hbase

## Report FAQ

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

apache/hbase has 1,608,093 total lines, including 1,134,239 code lines, 298,602 comment lines, and 175,252 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 7dec56068960, 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/hbase?

This OctoCounts report was generated from master at commit 7dec56068960 on 2026-08-02T08:59:38.541143990+00:00.

## Similar repository reports

- [opensearch-project/OpenSearch](https://octocounts.com/github/opensearch-project/OpenSearch) — Java, 1,179,852 code lines
- [mycodedoesnotcompile2/jdownloader_mirror](https://octocounts.com/github/mycodedoesnotcompile2/jdownloader_mirror) — Java, 1,047,731 code lines
- [apache/lucene](https://octocounts.com/github/apache/lucene) — Java, 972,892 code lines
- [apache/NiFi](https://octocounts.com/github/apache/NiFi) — Java, 1,296,874 code lines
- [quarkusio/quarkus](https://octocounts.com/github/quarkusio/quarkus) — Java, 939,141 code lines
- [apache/solr](https://octocounts.com/github/apache/solr) — Java, 930,806 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)
