# apache/maven SLOC report

> As of 2026-09-15 (commit 0aaa578f13a3), apache/maven contains 260,760 total lines: 152,681 code, 77,047 comments, 31,032 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 152,681 source lines of code out of 260,760 total lines across 1,914 files, counted from the 0aaa578f13a3fb87bd54c2aa9f7652271c83a8b8 ref at commit 0aaa578f13a3 by the OctoCounts tokei engine on 2026-09-15. 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 0aaa578f13a3, 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 | 233,489 | 136,315 | 68,708 | 28,466 |
| 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-15T16:23:36.855232931+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/0aaa578f13a3fb87bd54c2aa9f7652271c83a8b8?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 260,760 total lines, including 152,681 code lines, 77,047 comment lines, and 31,032 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 0aaa578f13a3, 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 0aaa578f13a3fb87bd54c2aa9f7652271c83a8b8 at commit 0aaa578f13a3 on 2026-09-15T16:23:36.855232931+00:00.

## Similar repository reports

- [lakesoul-io/LakeSoul](https://octocounts.com/github/lakesoul-io/LakeSoul) — Java, 152,475 code lines
- [apache/Maven](https://octocounts.com/github/apache/Maven) — Java, 153,135 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
- [TimefoldAI/timefold-solver](https://octocounts.com/github/TimefoldAI/timefold-solver) — Java, 126,490 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)
