ruby/ruby SLOC report
As of 2026-07-22 (commit dca417bde7fa), ruby/ruby contains 1,911,454 total lines: 1,497,234 code, 186,254 comments, 227,966 blank, across 7,649 files in 35 languages (top: Ruby 61.1%). Counted with tokei via OctoCounts.
Repository size insights
This is a very large codebase by counted code lines. Code represents 78.3% of all lines, comments represent 9.7%, and the repository averages 196 code lines per file. Ruby accounts for 61.1% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| Ruby | 5976 | 1113039 | 914385 | 53059 | 145595 |
| C | 500 | 488955 | 346637 | 87523 | 54795 |
| Rust | 152 | 118520 | 98608 | 7373 | 12539 |
| C Header | 459 | 131845 | 91896 | 31668 | 8281 |
| Happy | 2 | 16232 | 14619 | 0 | 1613 |
| YAML | 236 | 9420 | 8641 | 127 | 652 |
| Ruby HTML | 43 | 5728 | 5178 | 0 | 550 |
| Templ | 19 | 4876 | 4299 | 189 | 388 |
| Makefile | 12 | 3603 | 2757 | 235 | 611 |
| Module-Definition | 8 | 2227 | 2007 | 0 | 220 |
| Python | 20 | 2144 | 1725 | 76 | 343 |
| Autoconf | 11 | 1229 | 1021 | 38 | 170 |
Top language (Ruby 61.1%). Generated at 2026-07-22T16:33:05.491931718+00:00.
Report FAQ
How many lines of code does ruby/ruby have?
ruby/ruby has 1,911,454 total lines, including 1,497,234 code lines, 186,254 comment lines, and 227,966 blank lines.
How was the ruby/ruby line count measured?
OctoCounts resolved the public GitHub repository to commit dca417bde7fa, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for ruby/ruby?
This OctoCounts report was generated from master at commit dca417bde7fa on 2026-07-22T16:33:05.491931718+00:00.