# apache/polaris SLOC report

> As of 2026-10-22 (commit e31b7f9a4a1a), apache/polaris contains 231,257 total lines: 140,699 code, 64,881 comments, 25,677 blank, across 1,756 files in 23 languages (top: Java 68.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

apache/polaris has 140,699 source lines of code out of 231,257 total lines across 1,756 files, counted from the main ref at commit e31b7f9a4a1a by the OctoCounts tokei engine on 2026-10-22. 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 apache/polaris to commit e31b7f9a4a1a, 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 large codebase by counted code lines. Code represents 60.8% of all lines, comments represent 28.1%, and the repository averages 80 code lines per file. Java accounts for 68.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 1,098 | 148,071 | 95,662 | 37,291 | 15,118 |
| YAML | 56 | 16,097 | 13,036 | 1,978 | 1,083 |
| Python | 48 | 13,625 | 11,213 | 1,290 | 1,122 |
| Kotlin | 125 | 11,514 | 7,064 | 2,930 | 1,520 |
| JSON | 12 | 4,443 | 4,421 | 0 | 22 |
| Shell | 45 | 4,608 | 2,702 | 1,321 | 585 |
| HTML | 43 | 1,839 | 1,561 | 136 | 142 |
| SVG | 9 | 1,570 | 1,426 | 144 | 0 |
| SQL | 4 | 836 | 535 | 170 | 131 |
| Jupyter Notebooks | 3 | 793 | 481 | 216 | 96 |
| Makefile | 1 | 526 | 437 | 29 | 60 |
| Pan | 1 | 446 | 422 | 0 | 24 |

Top language (Java 68.0%). Generated at 2026-10-22T04:51:59.969670135+00:00. Canonical report: https://octocounts.com/github/apache/polaris

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/apache/polaris/commit/e31b7f9a4a1a6dc5c644e06458da5d6287ed9c97?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=3661bd4ab27fd37d8f67bd5046fe125d964e470065672e8c5ba464e369db7314).

## Report FAQ

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

apache/polaris has 231,257 total lines, including 140,699 code lines, 64,881 comment lines, and 25,677 blank lines.

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

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

This OctoCounts report was generated from main at commit e31b7f9a4a1a on 2026-10-22T04:51:59.969670135+00:00.

## Similar repository reports

- [OpenRefine/OpenRefine](https://octocounts.com/github/OpenRefine/OpenRefine) — Java, 140,263 code lines
- [AppliedEnergistics/Applied-Energistics-2](https://octocounts.com/github/AppliedEnergistics/Applied-Energistics-2) — Java, 141,413 code lines
- [Dwinovo/minecraft-numen](https://octocounts.com/github/Dwinovo/minecraft-numen) — Java, 137,172 code lines
- [skylot/jadx](https://octocounts.com/github/skylot/jadx) — Java, 135,733 code lines
- [Anuken/Mindustry](https://octocounts.com/github/Anuken/Mindustry) — Java, 146,926 code lines
- [apache/Maven](https://octocounts.com/github/apache/Maven) — Java, 153,624 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)
