# ring-lang/ring SLOC report

> 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.

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.

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.

## Counting rules and retention

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.

## Repository size insights

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 | 1,842,636 | 1,664,803 | 1,626 | 176,207 |
| C | 408 | 890,995 | 713,618 | 97,922 | 79,455 |
| C Header | 1,319 | 429,181 | 270,985 | 94,598 | 63,598 |
| SVG | 83 | 137,571 | 134,305 | 25 | 3,241 |
| HTML | 350 | 110,691 | 100,451 | 235 | 10,005 |
| Shell | 197 | 23,721 | 17,796 | 3,332 | 2,593 |
| M4 | 20 | 21,702 | 15,842 | 4,051 | 1,809 |
| CSS | 35 | 11,620 | 10,535 | 350 | 735 |
| Java | 10 | 5,684 | 4,102 | 829 | 753 |
| JSON | 8 | 3,703 | 3,702 | 0 | 1 |
| XML | 15 | 2,923 | 2,878 | 35 | 10 |
| QML | 21 | 2,627 | 2,228 | 136 | 263 |

Top language: C++ 56.4%. Generated on November 15, 2026. Canonical report: https://octocounts.com/github/ring-lang/ring

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/ring-lang/ring/commit/5f04317ceb9d9c2f95ee4cc90252d5ca595784e1?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=bf9badd94aa1f0e436d2aff9701c7a4286b3d746c92abd5b8cde3f2738b17985).

## Report FAQ

### How many lines of code does ring-lang/ring have?

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.

### How was the ring-lang/ring line count measured?

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.

### What commit was counted for ring-lang/ring?

This OctoCounts report was generated from master at commit 5f04317ceb9d on November 15, 2026.

## Similar repository reports

- [SunguckLee/Real-MongoDB](https://octocounts.com/github/SunguckLee/Real-MongoDB) — C++, 2,880,417 code lines
- [haiku/haiku](https://octocounts.com/github/haiku/haiku) — C++, 3,081,894 code lines
- [RosettaCommons/rosetta](https://octocounts.com/github/RosettaCommons/rosetta) — C++, 3,115,192 code lines
- [o3de/o3de](https://octocounts.com/github/o3de/o3de) — C++, 2,717,083 code lines
- [alibaba/MNN](https://octocounts.com/github/alibaba/MNN) — C++, 2,699,238 code lines
- [ClickHouse/ClickHouse](https://octocounts.com/github/ClickHouse/ClickHouse) — C++, 2,641,612 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
