# apache/shardingsphere SLOC report

> apache/shardingsphere: 354,423 code lines at commit 4236a4231b92, counted with tokei-14.0.0 on 2026-10-25. Saved result 76fa97fb3faf233d2072eebcb4c1c78988754c1766c512caece4d1d322896a6f.

apache/shardingsphere has 354,423 source lines of code out of 565,826 total lines across 6,771 files, counted from the master ref at commit 4236a4231b92 by the OctoCounts tokei engine on 2026-10-25. 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/shardingsphere to commit 4236a4231b92, 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.6% of all lines, comments represent 27.6%, and the repository averages 52 code lines per file. Java accounts for 63.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 5,266 | 405,029 | 226,150 | 127,706 | 51,173 |
| YAML | 885 | 100,273 | 84,464 | 14,888 | 921 |
| XML | 425 | 29,638 | 21,481 | 6,860 | 1,297 |
| JSON | 22 | 16,840 | 16,840 | 0 | 0 |
| FreeMarker | 99 | 5,666 | 4,254 | 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,123 | 0 | 3,222 | 901 |
| Plain Text | 30 | 2,623 | 0 | 2,087 | 536 |

Top language (Java 63.8%). Generated at 2026-10-25T00:52:46.792224718Z. Canonical report: https://octocounts.com/github/apache/shardingsphere/commit/4236a4231b92e7b67547c7cc245cb78322e6dd6c?reportId=76fa97fb3faf233d2072eebcb4c1c78988754c1766c512caece4d1d322896a6f&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/apache/shardingsphere/commit/4236a4231b92e7b67547c7cc245cb78322e6dd6c?reportId=76fa97fb3faf233d2072eebcb4c1c78988754c1766c512caece4d1d322896a6f&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

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

apache/shardingsphere has 565,826 total lines, including 354,423 code lines, 155,936 comment lines, and 55,467 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 4236a4231b92, 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 4236a4231b92 on 2026-10-25T00:52:46.792224718Z.

## Similar repository reports

- [haifengl/smile](https://octocounts.com/github/haifengl/smile) — Java, 351,662 code lines
- [plutext/docx4j](https://octocounts.com/github/plutext/docx4j) — Java, 339,614 code lines
- [micronaut-projects/micronaut-core](https://octocounts.com/github/micronaut-projects/micronaut-core) — Java, 337,011 code lines
- [eclipse-elk/elk](https://octocounts.com/github/eclipse-elk/elk) — Java, 381,364 code lines
- [wimi321/lizzieyzy-next](https://octocounts.com/github/wimi321/lizzieyzy-next) — Java, 385,845 code lines
- [apache/tomcat](https://octocounts.com/github/apache/tomcat) — Java, 319,821 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)
