ring-lang/ring has 2,954,278 source lines of code out of 4,147,447 total lines across 4,105 files, counted with tokei from the master ref at commit 5f04317ceb9d on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-15 (commit 5f04317ceb9d), ring-lang/ring contains 4,147,447 total lines: 2,954,278 code, 818,310 comments, 374,859 blank, across 4,105 files in 44 languages (top language: C++ 56.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving ring-lang/ring to commit 5f04317ceb9d, 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 very large codebase by counted code lines. Code represents 71.2% of all lines, comments represent 19.7%, and the repository averages 720 code lines per file. C++ accounts for 56.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 536 | 1842636 | 1664803 | 1626 | 176207 |
| C | 408 | 890995 | 713618 | 97922 | 79455 |
| C Header | 1319 | 429181 | 270985 | 94598 | 63598 |
| SVG | 83 | 137571 | 134305 | 25 | 3241 |
| HTML | 350 | 110691 | 100451 | 235 | 10005 |
| Shell | 197 | 23721 | 17796 | 3332 | 2593 |
| M4 | 20 | 21702 | 15842 | 4051 | 1809 |
| CSS | 35 | 11620 | 10535 | 350 | 735 |
| Java | 10 | 5684 | 4102 | 829 | 753 |
| JSON | 8 | 3703 | 3702 | 0 | 1 |
| XML | 15 | 2923 | 2878 | 35 | 10 |
| QML | 21 | 2627 | 2228 | 136 | 263 |
Top language: C++ 56.4%. Generated on .
ring-lang/ring: 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.
ring-lang/ring has 2,954,278 lines of code, plus 818,310 comment lines and 374,859 blank lines, for 4,147,447 total lines at commit 5f04317ceb9d on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 5f04317ceb9d, 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 5f04317ceb9d on November 15, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for ring-lang/ring on this page — 2,954,278 code lines across 44 languages, counted by tokei.