ruby/ruby SLOC report

As of 2026-08-02 (commit af233106ce64), ruby/ruby contains 2,250,298 total lines: 1,745,367 code, 223,015 comments, 281,916 blank, across 10,804 files in 36 languages (top: Ruby 66.5%). Counted with tokei via OctoCounts.

As of 2026-08-02 (commit af233106ce64), ruby/ruby contains 2,250,298 total lines: 1,745,367 code, 223,015 comments, 281,916 blank, across 10,804 files in 36 languages (top: Ruby 66.5%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving ruby/ruby to commit af233106ce64, 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 very large codebase by counted code lines. Code represents 77.6% of all lines, comments represent 9.9%, and the repository averages 162 code lines per file. Ruby accounts for 66.5% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Ruby73091413527116039161970191166
C5044899613473898768054892
Rust15411937299328743312611
C Header46013195191920317378294
Happy2162321461901613
YAML23995498770127652
Ruby HTML44573251820550
Templ1948764299189388
Makefile1336222772235615
Module-Definition8222720070220
Python202144172576343
Autoconf111229102138170

Top language (Ruby 66.5%). Generated at 2026-08-02T15:08:15.144521319+00:00.

Report FAQ

How many lines of code does ruby/ruby have?

ruby/ruby has 2,250,298 total lines, including 1,745,367 code lines, 223,015 comment lines, and 281,916 blank lines.

How was the ruby/ruby line count measured?

OctoCounts resolved the public GitHub repository to commit af233106ce64, 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 af233106ce64 on 2026-08-02T15:08:15.144521319+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: