bambulab/BambuStudio SLOC report
As of 2026-07-22 (commit 193c31745f76), bambulab/BambuStudio contains 4,744,862 total lines: 4,141,750 code, 270,436 comments, 332,676 blank, across 9,554 files in 38 languages (top: JSON 60.8%). Counted with tokei via OctoCounts.
Repository size insights
This is a very large codebase by counted code lines. Code represents 87.3% of all lines, comments represent 5.7%, and the repository averages 434 code lines per file. JSON accounts for 60.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| JSON | 3761 | 2518936 | 2518917 | 0 | 19 |
| C++ | 1204 | 768160 | 604676 | 72264 | 91220 |
| C Header | 1115 | 355690 | 238924 | 65271 | 51495 |
| PO File | 19 | 414916 | 233589 | 55852 | 125475 |
| C | 172 | 270878 | 230822 | 21841 | 18215 |
| C++ Header | 734 | 159062 | 110563 | 24826 | 23673 |
| JavaScript | 495 | 93993 | 79054 | 3482 | 11457 |
| SVG | 1180 | 29066 | 29003 | 27 | 36 |
| Modelica | 19 | 28206 | 27536 | 0 | 670 |
| HTML | 82 | 22460 | 19745 | 1286 | 1429 |
| CMake | 113 | 10845 | 8064 | 1462 | 1319 |
| TSX | 78 | 10207 | 7911 | 1451 | 845 |
Top language (JSON 60.8%). Generated at 2026-07-22T14:02:57.403242441+00:00.
Report FAQ
How many lines of code does bambulab/BambuStudio have?
bambulab/BambuStudio has 4,744,862 total lines, including 4,141,750 code lines, 270,436 comment lines, and 332,676 blank lines.
How was the bambulab/BambuStudio line count measured?
OctoCounts resolved the public GitHub repository to commit 193c31745f76, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for bambulab/BambuStudio?
This OctoCounts report was generated from master at commit 193c31745f76 on 2026-07-22T14:02:57.403242441+00:00.