# apache/Maven SLOC report

> As of 2026-09-17 (commit 9f5f92fa1e47), apache/Maven contains 261,335 total lines: 153,135 code, 77,141 comments, 31,059 blank, across 1,914 files in 9 languages (top: Java 89.3%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

apache/Maven has 153,135 source lines of code out of 261,335 total lines across 1,914 files, counted from the 9f5f92fa1e47fbd6fd9bcb90bd8da97d59611962 ref at commit 9f5f92fa1e47 by the OctoCounts tokei engine on 2026-09-17. 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/Maven to commit 9f5f92fa1e47, 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 58.6% of all lines, comments represent 29.5%, and the repository averages 80 code lines per file. Java accounts for 89.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 1,618 | 234,064 | 136,769 | 68,802 | 28,493 |
| XML | 195 | 15,572 | 10,451 | 4,147 | 974 |
| Apache Velocity | 26 | 5,489 | 4,820 | 239 | 430 |
| Batch | 6 | 718 | 635 | 0 | 83 |
| Shell | 8 | 749 | 390 | 277 | 82 |
| Dockerfile | 6 | 168 | 50 | 96 | 22 |
| Makefile | 2 | 61 | 20 | 32 | 9 |
| Markdown | 38 | 2,531 | 0 | 1,914 | 617 |
| Plain Text | 15 | 1,983 | 0 | 1,634 | 349 |

Top language (Java 89.3%). Generated at 2026-09-17T04:26:38.403317854+00:00. Canonical report: https://octocounts.com/github/apache/Maven

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/apache/Maven/commit/9f5f92fa1e47fbd6fd9bcb90bd8da97d59611962?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 apache/Maven have?

apache/Maven has 261,335 total lines, including 153,135 code lines, 77,141 comment lines, and 31,059 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 9f5f92fa1e47, 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/Maven?

This OctoCounts report was generated from 9f5f92fa1e47fbd6fd9bcb90bd8da97d59611962 at commit 9f5f92fa1e47 on 2026-09-17T04:26:38.403317854+00:00.

## Similar repository reports

- [apache/maven](https://octocounts.com/github/apache/maven) — Java, 152,681 code lines
- [lakesoul-io/LakeSoul](https://octocounts.com/github/lakesoul-io/LakeSoul) — Java, 152,475 code lines
- [AppliedEnergistics/Applied-Energistics-2](https://octocounts.com/github/AppliedEnergistics/Applied-Energistics-2) — Java, 137,293 code lines
- [obus-globus/jadx](https://octocounts.com/github/obus-globus/jadx) — Java, 133,496 code lines
- [apache/polaris](https://octocounts.com/github/apache/polaris) — Java, 128,856 code lines
- [andreknieriem/headunit-revived](https://octocounts.com/github/andreknieriem/headunit-revived) — Java, 179,427 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)
