# apache/shardingsphere SLOC report

> apache/shardingsphere: 354,874 code lines at commit 27591ff6ad62, counted with tokei-14.0.0 on 2026-10-22. Saved result 41b00fe9d284768fbc70bd74b86db76703a66f292dc5391808b0b2e282078c4f.

apache/shardingsphere has 354,874 source lines of code out of 566,271 total lines across 6,770 files, counted from the master ref at commit 27591ff6ad62 by the OctoCounts tokei engine on 2026-10-22. 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 27591ff6ad62, 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.7% of all lines, comments represent 27.5%, and the repository averages 52 code lines per file. Java accounts for 63.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 5,265 | 405,473 | 226,597 | 127,669 | 51,207 |
| 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,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,120 | 0 | 3,219 | 901 |
| Plain Text | 30 | 2,623 | 0 | 2,087 | 536 |

Top language (Java 63.9%). Generated at 2026-10-22T05:35:58.998635235Z. Canonical report: https://octocounts.com/github/apache/shardingsphere/commit/27591ff6ad62c3d6051735f8dd93be87081067a6?reportId=41b00fe9d284768fbc70bd74b86db76703a66f292dc5391808b0b2e282078c4f&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/27591ff6ad62c3d6051735f8dd93be87081067a6?reportId=41b00fe9d284768fbc70bd74b86db76703a66f292dc5391808b0b2e282078c4f&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 566,271 total lines, including 354,874 code lines, 155,896 comment lines, and 55,501 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 27591ff6ad62, 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 27591ff6ad62 on 2026-10-22T05:35:58.998635235Z.

## 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, 336,224 code lines
- [wimi321/lizzieyzy-next](https://octocounts.com/github/wimi321/lizzieyzy-next) — Java, 380,445 code lines
- [eclipse-elk/elk](https://octocounts.com/github/eclipse-elk/elk) — Java, 381,364 code lines
- [apache/tomcat](https://octocounts.com/github/apache/tomcat) — Java, 319,537 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)
