# apache/Maven SLOC report

> As of 2026-08-26 (commit fc2cca364d26), apache/Maven contains 253,605 total lines: 148,167 code, 74,989 comments, 30,449 blank, across 1,898 files in 9 languages (top: Java 89.3%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving apache/Maven to commit fc2cca364d26, 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.4% of all lines, comments represent 29.6%, and the repository averages 78 code lines per file. Java accounts for 89.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 1,602 | 226,957 | 132,357 | 66,683 | 27,917 |
| XML | 195 | 15,355 | 10,241 | 4,141 | 973 |
| Apache Velocity | 26 | 5,472 | 4,806 | 239 | 427 |
| Batch | 6 | 524 | 453 | 0 | 71 |
| Shell | 8 | 557 | 240 | 253 | 64 |
| Dockerfile | 6 | 168 | 50 | 96 | 22 |
| Makefile | 2 | 61 | 20 | 32 | 9 |
| Markdown | 38 | 2,528 | 0 | 1,911 | 617 |
| Plain Text | 15 | 1,983 | 0 | 1,634 | 349 |

Top language (Java 89.3%). Generated at 2026-08-26T06:35:08.556969347+00:00. Canonical report: https://octocounts.com/github/apache/Maven

## Report FAQ

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

apache/Maven has 253,605 total lines, including 148,167 code lines, 74,989 comment lines, and 30,449 blank lines.

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

OctoCounts resolved the public GitHub repository to commit fc2cca364d26, 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 master at commit fc2cca364d26 on 2026-08-26T06:35:08.556969347+00:00.

## Similar repository reports

- [apache/maven](https://octocounts.com/github/apache/maven) — Java, 148,169 code lines
- [fish2018/webhtv](https://octocounts.com/github/fish2018/webhtv) — Java, 151,028 code lines
- [Anuken/Mindustry](https://octocounts.com/github/Anuken/Mindustry) — Java, 144,938 code lines
- [lakesoul-io/LakeSoul](https://octocounts.com/github/lakesoul-io/LakeSoul) — Java, 152,475 code lines
- [obus-globus/jadx](https://octocounts.com/github/obus-globus/jadx) — Java, 132,724 code lines
- [apache/polaris](https://octocounts.com/github/apache/polaris) — Java, 128,856 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)
