As of 2026-08-27 (commit 926a7192574b), bambulab/BambuStudio contains 4,781,662 total lines: 4,165,618 code, 279,463 comments, 336,581 blank, across 9,588 files in 38 languages (top: JSON 60.6%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving bambulab/BambuStudio to commit 926a7192574b, 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.
This is a very large codebase by counted code lines. Code represents 87.1% of all lines, comments represent 5.8%, and the repository averages 434 code lines per file. JSON accounts for 60.6% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JSON | 3762 | 2525963 | 2525944 | 0 | 19 |
| C++ | 1213 | 786363 | 618861 | 74639 | 92863 |
| C Header | 1115 | 355820 | 238999 | 65306 | 51515 |
| PO File | 19 | 421084 | 236499 | 57129 | 127456 |
| C | 172 | 270878 | 230822 | 21841 | 18215 |
| C++ Header | 743 | 161597 | 111883 | 25765 | 23949 |
| JavaScript | 495 | 93995 | 79054 | 3484 | 11457 |
| SVG | 1195 | 29139 | 29076 | 27 | 36 |
| Modelica | 19 | 30706 | 25690 | 4368 | 648 |
| HTML | 82 | 22460 | 19745 | 1286 | 1429 |
| CMake | 113 | 10931 | 8142 | 1469 | 1320 |
| TSX | 78 | 10208 | 7909 | 1454 | 845 |
Top language (JSON 60.6%). Generated at 2026-08-27T16:46:43.023801078+00:00.
bambulab/BambuStudio has 4,781,662 total lines, including 4,165,618 code lines, 279,463 comment lines, and 336,581 blank lines.
OctoCounts resolved the public GitHub repository to commit 926a7192574b, 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 926a7192574b on 2026-08-27T16:46:43.023801078+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: