bambulab/BambuStudio has 4,304,284 source lines of code out of 4,967,936 total lines across 9,817 files, counted from the master ref at commit 79df7ae309be by the OctoCounts tokei engine on 2026-10-14. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
bambulab/BambuStudio: 4,304,284 code lines at commit 79df7ae309be, counted with tokei-14.0.0 on 2026-10-14. Saved result a545589bac024ae3f6b400d5bbe875a2d5da257332626948112b9f402e450c3e.
OctoCounts produced this report by resolving bambulab/BambuStudio to commit 79df7ae309be, 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 86.6% of all lines, comments represent 5.8%, and the repository averages 438 code lines per file. JSON accounts for 58.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JSON | 3769 | 2528314 | 2528295 | 0 | 19 |
| C++ | 1244 | 817849 | 645219 | 76684 | 95946 |
| PO File | 24 | 540178 | 314451 | 62578 | 163149 |
| C Header | 1119 | 356142 | 239303 | 65244 | 51595 |
| C | 172 | 270878 | 230822 | 21841 | 18215 |
| C++ Header | 774 | 165874 | 114865 | 26458 | 24551 |
| JavaScript | 503 | 96455 | 81296 | 3685 | 11474 |
| Modelica | 24 | 45873 | 42641 | 2348 | 884 |
| SVG | 1281 | 29848 | 29782 | 29 | 37 |
| HTML | 88 | 22864 | 20224 | 1165 | 1475 |
| TSX | 95 | 12745 | 10220 | 1517 | 1008 |
| CSS | 113 | 11332 | 9627 | 507 | 1198 |
| CMake | 115 | 11751 | 8747 | 1654 | 1350 |
| TypeScript | 185 | 17563 | 8187 | 7687 | 1689 |
| YAML | 1 | 5937 | 4831 | 0 | 1106 |
| Bitbake | 3 | 1960 | 1910 | 21 | 29 |
| Module-Definition | 6 | 1951 | 1909 | 39 | 3 |
| Objective-C++ | 12 | 2331 | 1784 | 195 | 352 |
| F# | 41 | 1746 | 1330 | 161 | 255 |
| Perl | 21 | 1663 | 1278 | 106 | 279 |
| LESS | 52 | 1288 | 1196 | 56 | 36 |
| Sass | 52 | 1286 | 1194 | 56 | 36 |
| VB6/VBA | 4 | 1664 | 1140 | 325 | 199 |
| Autoconf | 16 | 1444 | 1136 | 192 | 116 |
| Shell | 9 | 1179 | 898 | 140 | 141 |
| Batch | 1 | 532 | 486 | 23 | 23 |
| XML | 2 | 554 | 459 | 84 | 11 |
| Prolog | 18 | 523 | 367 | 80 | 76 |
| Makefile | 3 | 580 | 305 | 182 | 93 |
| INI | 3 | 241 | 133 | 70 | 38 |
| Svelte | 4 | 92 | 88 | 0 | 4 |
| Dockerfile | 1 | 133 | 76 | 32 | 25 |
| Python | 2 | 98 | 68 | 10 | 20 |
| Visual Basic | 1 | 11 | 8 | 0 | 3 |
| BASH | 1 | 9 | 5 | 2 | 2 |
| ReScript | 4 | 4 | 4 | 0 | 0 |
| Markdown | 21 | 2139 | 0 | 1500 | 639 |
| Plain Text | 33 | 12905 | 0 | 11700 | 1205 |
Top language (JSON 58.7%). Generated at .
bambulab/BambuStudio has 4,967,936 total lines, including 4,304,284 code lines, 286,371 comment lines, and 377,281 blank lines.
OctoCounts resolved the public GitHub repository to commit 79df7ae309be, 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 79df7ae309be on 2026-10-14T11:16:34.250919371Z.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for bambulab/BambuStudio on this page — 4,304,284 code lines across 38 languages, counted by tokei.