Cpp2Rust/cpp2rust has 33,627 source lines of code out of 39,820 total lines across 259 files, counted with tokei from the master ref at commit a9dae409e8ab on October 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
Cpp2Rust/cpp2rust: 33,627 code lines at commit a9dae409e8ab, counted with tokei-14.0.0 on 2026-10-16. Saved result 630c7e8fe2d02058dd0a919bb8b5b1a3d79e1940776520707bc30aaf489a1da1.
OctoCounts produced this report by resolving Cpp2Rust/cpp2rust to commit a9dae409e8ab, 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 medium-sized codebase by counted code lines. Code represents 84.4% of all lines, comments represent 3.4%, and the repository averages 130 code lines per file. Rust accounts for 46.1% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Rust | 140 | 18393 | 15501 | 773 | 2119 |
| C++ | 46 | 16600 | 14757 | 303 | 1540 |
| C Header | 29 | 3038 | 2033 | 165 | 840 |
| C | 32 | 1213 | 930 | 56 | 227 |
| CMake | 6 | 407 | 349 | 6 | 52 |
| TOML | 5 | 65 | 57 | 0 | 8 |
| Markdown | 1 | 104 | 0 | 67 | 37 |
Top language: Rust 46.1%. Generated on .
Cpp2Rust/cpp2rust: tokei-14.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.
Cpp2Rust/cpp2rust has 33,627 lines of code, plus 1,370 comment lines and 4,823 blank lines, for 39,820 total lines at commit a9dae409e8ab on October 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit a9dae409e8ab, 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 a9dae409e8ab on October 16, 2026.
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 — 33,627 code lines across 7 languages, counted by tokei.