Cpp2Rust/cpp2rust

Cpp2Rust/cpp2rust has 35,055 source lines of code out of 41,846 total lines across 289 files, counted from the master ref at commit 26ff6db42bf3 by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

As of 2026-10-22 (commit 26ff6db42bf3), Cpp2Rust/cpp2rust contains 41,846 total lines: 35,055 code, 1,591 comments, 5,200 blank, across 289 files in 7 languages (top: Rust 48.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

As of 2026-10-22 (commit 26ff6db42bf3), Cpp2Rust/cpp2rust contains 41,846 total lines: 35,055 code, 1,591 comments, 5,200 blank, across 289 files in 7 languages (top: Rust 48.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving Cpp2Rust/cpp2rust to commit 26ff6db42bf3, 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 medium-sized codebase by counted code lines. Code represents 83.8% of all lines, comments represent 3.8%, and the repository averages 121 code lines per file. Rust accounts for 48.7% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Rust15920413170678922454
C++5616497146113211565
C Header2830712001222848
C34128696783236
CMake6410352652
TOML5655708
Markdown110406737

Top language (Rust 48.7%). Generated at .

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does Cpp2Rust/cpp2rust have?

Cpp2Rust/cpp2rust has 41,846 total lines, including 35,055 code lines, 1,591 comment lines, and 5,200 blank lines.

How was the Cpp2Rust/cpp2rust line count measured?

OctoCounts resolved the public GitHub repository to commit 26ff6db42bf3, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for Cpp2Rust/cpp2rust?

This OctoCounts report was generated from master at commit 26ff6db42bf3 on 2026-10-22T06:05:33.265632361+00:00.

Similar repository reports

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

Play the growth animation for Cpp2Rust/cpp2rust on this page — 35,055 code lines across 7 languages, counted by tokei.