prusa3d/PrusaSlicer has 1,401,086 source lines of code out of 2,232,351 total lines across 5,670 files, counted with tokei from the master ref at commit e6c85c50dcc5 on November 7, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-07 (commit e6c85c50dcc5), prusa3d/PrusaSlicer contains 2,232,351 total lines: 1,401,086 code, 471,006 comments, 360,259 blank, across 5,670 files in 28 languages (top programming language: C++ 33.1%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving prusa3d/PrusaSlicer to commit e6c85c50dcc5, 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 very large codebase by counted code lines. Code represents 62.8% of all lines, comments represent 21.1%, and the repository averages 247 code lines per file. C++ is the largest programming language at 33.1% of counted code; data and prose formats such as JSON or YAML hold a larger share.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| PO File | 70 | 1040122 | 485114 | 341751 | 213257 |
| C++ | 1728 | 581510 | 463486 | 48611 | 69413 |
| C Header | 681 | 165513 | 107252 | 27823 | 30438 |
| C++ Header | 1548 | 157336 | 107148 | 21553 | 28635 |
| YAML | 484 | 95443 | 82212 | 12692 | 539 |
| C | 67 | 62959 | 44833 | 8786 | 9340 |
| Modelica | 46 | 40861 | 39284 | 648 | 929 |
| SVG | 494 | 25691 | 25321 | 207 | 163 |
| Autoconf | 17 | 18903 | 12748 | 3249 | 2906 |
| CMake | 133 | 12314 | 9476 | 1295 | 1543 |
| JavaScript | 15 | 10480 | 8119 | 1676 | 685 |
| HTML | 213 | 5710 | 5266 | 357 | 87 |
Top programming language: C++ 33.1%. Generated on .
prusa3d/PrusaSlicer: tokei-15.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.
prusa3d/PrusaSlicer has 1,401,086 lines of code, plus 471,006 comment lines and 360,259 blank lines, for 2,232,351 total lines at commit e6c85c50dcc5 on November 7, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit e6c85c50dcc5, 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 e6c85c50dcc5 on November 7, 2026.
Play the growth animation for prusa3d/PrusaSlicer on this page — 1,401,086 code lines across 28 languages, counted by tokei.