bambulab/BambuStudio has 4,738,112 source lines of code out of 5,448,558 total lines across 10,601 files, counted with tokei from the master ref at commit 930fe93851af on November 10, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-10 (commit 930fe93851af), bambulab/BambuStudio contains 5,448,558 total lines: 4,738,112 code, 307,173 comments, 403,273 blank, across 10,601 files in 38 languages (top programming language: C++ 14.6%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving bambulab/BambuStudio to commit 930fe93851af, 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 87.0% of all lines, comments represent 5.6%, and the repository averages 447 code lines per file. C++ is the largest programming language at 14.6% of counted code; data and prose formats such as JSON or YAML hold a larger share.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JSON | 3996 | 2842592 | 2842573 | 0 | 19 |
| C++ | 1324 | 880111 | 693774 | 84166 | 102171 |
| PO File | 24 | 588972 | 338666 | 72019 | 178287 |
| C Header | 1132 | 357705 | 240361 | 65447 | 51897 |
| C | 172 | 270878 | 230822 | 21841 | 18215 |
| C++ Header | 857 | 175998 | 120290 | 29734 | 25974 |
| JavaScript | 552 | 102267 | 85855 | 4327 | 12085 |
| Modelica | 24 | 55492 | 54816 | 0 | 676 |
| SVG | 1491 | 31531 | 31465 | 29 | 37 |
| HTML | 90 | 22934 | 20279 | 1177 | 1478 |
| TSX | 169 | 22696 | 18680 | 2267 | 1749 |
| CSS | 126 | 20891 | 17660 | 899 | 2332 |
Top programming language: C++ 14.6%. Generated on .
bambulab/BambuStudio: 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.
bambulab/BambuStudio has 4,738,112 lines of code, plus 307,173 comment lines and 403,273 blank lines, for 5,448,558 total lines at commit 930fe93851af on November 10, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 930fe93851af, 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 930fe93851af on November 10, 2026.
Play the growth animation for bambulab/BambuStudio on this page — 4,738,112 code lines across 38 languages, counted by tokei.