# apache/ShardingSphere SLOC report

> As of 2026-08-22 (commit fc009d8ca7ad), apache/ShardingSphere contains 552,229 total lines: 343,846 code, 153,780 comments, 54,603 blank, across 6,684 files in 11 languages (top: Java 64.1%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving apache/ShardingSphere to commit fc009d8ca7ad, 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 62.3% of all lines, comments represent 27.8%, and the repository averages 51 code lines per file. Java accounts for 64.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 5,199 | 396,284 | 220,305 | 125,575 | 50,404 |
| YAML | 885 | 100,273 | 84,464 | 14,888 | 921 |
| XML | 414 | 27,946 | 20,008 | 6,681 | 1,257 |
| JSON | 22 | 13,577 | 13,577 | 0 | 0 |
| FreeMarker | 99 | 5,670 | 4,258 | 976 | 436 |
| Shell | 6 | 985 | 720 | 151 | 114 |
| Batch | 3 | 380 | 323 | 0 | 57 |
| Protocol Buffers | 2 | 173 | 155 | 0 | 18 |
| Dockerfile | 3 | 96 | 36 | 46 | 14 |
| Markdown | 30 | 4,676 | 0 | 3,731 | 945 |
| Plain Text | 21 | 2,169 | 0 | 1,732 | 437 |

Top language (Java 64.1%). Generated at 2026-08-22T22:29:54.426620892+00:00. Canonical report: https://octocounts.com/github/apache/ShardingSphere

## Report FAQ

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

apache/ShardingSphere has 552,229 total lines, including 343,846 code lines, 153,780 comment lines, and 54,603 blank lines.

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

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

This OctoCounts report was generated from master at commit fc009d8ca7ad on 2026-08-22T22:29:54.426620892+00:00.

## Similar repository reports

- [yuliskov/SmartTube](https://octocounts.com/github/yuliskov/SmartTube) — Java, 324,444 code lines
- [OtterMind/Chat2DB](https://octocounts.com/github/OtterMind/Chat2DB) — Java, 321,326 code lines
- [kestra-io/kestra](https://octocounts.com/github/kestra-io/kestra) — Java, 309,259 code lines
- [apache/tomcat](https://octocounts.com/github/apache/tomcat) — Java, 295,587 code lines
- [jenkinsci/jenkins](https://octocounts.com/github/jenkinsci/jenkins) — Java, 293,056 code lines
- [google/guava](https://octocounts.com/github/google/guava) — Java, 274,029 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)
