# Cpp2Rust/cpp2rust SLOC report

> Cpp2Rust/cpp2rust: 33,627 code lines at commit a9dae409e8ab, counted with tokei-14.0.0 on 2026-10-16. Saved result 630c7e8fe2d02058dd0a919bb8b5b1a3d79e1940776520707bc30aaf489a1da1.

Cpp2Rust/cpp2rust has 33,627 source lines of code out of 39,820 total lines across 259 files, counted from the master ref at commit a9dae409e8ab by the OctoCounts tokei engine on 2026-10-16. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving Cpp2Rust/cpp2rust to commit a9dae409e8ab, 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 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 | 18,393 | 15,501 | 773 | 2,119 |
| C++ | 46 | 16,600 | 14,757 | 303 | 1,540 |
| C Header | 29 | 3,038 | 2,033 | 165 | 840 |
| C | 32 | 1,213 | 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 at 2026-10-16T18:11:55.020423835Z. Canonical report: https://octocounts.com/github/Cpp2Rust/cpp2rust/commit/a9dae409e8ab725bc64cf9fdd2a040d4b751188d?reportId=630c7e8fe2d02058dd0a919bb8b5b1a3d79e1940776520707bc30aaf489a1da1&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

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

## Report FAQ

### How many lines of code does Cpp2Rust/cpp2rust have?

Cpp2Rust/cpp2rust has 39,820 total lines, including 33,627 code lines, 1,370 comment lines, and 4,823 blank lines.

### How was the Cpp2Rust/cpp2rust line count measured?

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.

### What commit was counted for Cpp2Rust/cpp2rust?

This OctoCounts report was generated from master at commit a9dae409e8ab on 2026-10-16T18:11:55.020423835Z.

## Similar repository reports

- [mlm-games/miniter](https://octocounts.com/github/mlm-games/miniter) — Rust, 35,216 code lines
- [espressif/idf-im-ui](https://octocounts.com/github/espressif/idf-im-ui) — Rust, 35,496 code lines
- [rwf2/Rocket](https://octocounts.com/github/rwf2/Rocket) — Rust, 35,529 code lines
- [RyanCodrai/turbovec](https://octocounts.com/github/RyanCodrai/turbovec) — Rust, 34,699 code lines
- [feyninc/tokie](https://octocounts.com/github/feyninc/tokie) — Rust, 35,847 code lines
- [claration/impactor](https://octocounts.com/github/claration/impactor) — Rust, 36,407 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)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [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)
