apache/shardingsphere has 356,015 source lines of code out of 568,125 total lines across 6,793 files, counted with tokei from the master ref at commit 4d6be1466b57 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-16 (commit 4d6be1466b57), apache/shardingsphere contains 568,125 total lines: 356,015 code, 156,410 comments, 55,700 blank, across 6,793 files in 11 languages (top language: Java 63.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving apache/shardingsphere to commit 4d6be1466b57, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.
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 | 5283 | 407364 | 227521 | 128474 | 51369 |
| YAML | 885 | 100273 | 84464 | 14888 | 921 |
| XML | 430 | 29947 | 21695 | 6939 | 1313 |
| JSON | 22 | 16840 | 16840 | 0 | 0 |
| FreeMarker | 99 | 5678 | 4261 | 976 | 441 |
| 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 | 4134 | 0 | 3233 | 901 |
| Plain Text | 30 | 2255 | 0 | 1703 | 552 |
Top language: Java 63.9%. Generated on .
apache/shardingsphere: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
apache/shardingsphere has 356,015 lines of code, plus 156,410 comment lines and 55,700 blank lines, for 568,125 total lines at commit 4d6be1466b57 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 4d6be1466b57, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from master at commit 4d6be1466b57 on November 16, 2026.
Play the growth animation for apache/shardingsphere on this page — 356,015 code lines across 11 languages, counted by tokei.