# bambulab/BambuStudio SLOC report

> bambulab/BambuStudio: 4,304,284 code lines at commit 79df7ae309be, counted with tokei-14.0.0 on 2026-10-14. Saved result a545589bac024ae3f6b400d5bbe875a2d5da257332626948112b9f402e450c3e.

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.

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.

## Repository size insights

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 | 3,769 | 2,528,314 | 2,528,295 | 0 | 19 |
| C++ | 1,244 | 817,849 | 645,219 | 76,684 | 95,946 |
| PO File | 24 | 540,178 | 314,451 | 62,578 | 163,149 |
| C Header | 1,119 | 356,142 | 239,303 | 65,244 | 51,595 |
| C | 172 | 270,878 | 230,822 | 21,841 | 18,215 |
| C++ Header | 774 | 165,874 | 114,865 | 26,458 | 24,551 |
| JavaScript | 503 | 96,455 | 81,296 | 3,685 | 11,474 |
| Modelica | 24 | 45,873 | 42,641 | 2,348 | 884 |
| SVG | 1,281 | 29,848 | 29,782 | 29 | 37 |
| HTML | 88 | 22,864 | 20,224 | 1,165 | 1,475 |
| TSX | 95 | 12,745 | 10,220 | 1,517 | 1,008 |
| CSS | 113 | 11,332 | 9,627 | 507 | 1,198 |
| CMake | 115 | 11,751 | 8,747 | 1,654 | 1,350 |
| TypeScript | 185 | 17,563 | 8,187 | 7,687 | 1,689 |
| YAML | 1 | 5,937 | 4,831 | 0 | 1,106 |
| Bitbake | 3 | 1,960 | 1,910 | 21 | 29 |
| Module-Definition | 6 | 1,951 | 1,909 | 39 | 3 |
| Objective-C++ | 12 | 2,331 | 1,784 | 195 | 352 |
| F# | 41 | 1,746 | 1,330 | 161 | 255 |
| Perl | 21 | 1,663 | 1,278 | 106 | 279 |
| LESS | 52 | 1,288 | 1,196 | 56 | 36 |
| Sass | 52 | 1,286 | 1,194 | 56 | 36 |
| VB6/VBA | 4 | 1,664 | 1,140 | 325 | 199 |
| Autoconf | 16 | 1,444 | 1,136 | 192 | 116 |
| Shell | 9 | 1,179 | 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 | 2,139 | 0 | 1,500 | 639 |
| Plain Text | 33 | 12,905 | 0 | 11,700 | 1,205 |

Top language (JSON 58.7%). Generated at 2026-10-14T11:16:34.250919371Z. Canonical report: https://octocounts.com/github/bambulab/BambuStudio/commit/79df7ae309be398ed30c9f397c13c9911c2edc57?reportId=a545589bac024ae3f6b400d5bbe875a2d5da257332626948112b9f402e450c3e&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/bambulab/BambuStudio/commit/79df7ae309be398ed30c9f397c13c9911c2edc57?reportId=a545589bac024ae3f6b400d5bbe875a2d5da257332626948112b9f402e450c3e&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does bambulab/BambuStudio have?

bambulab/BambuStudio has 4,967,936 total lines, including 4,304,284 code lines, 286,371 comment lines, and 377,281 blank lines.

### How was the bambulab/BambuStudio line count measured?

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.

### What commit was counted for bambulab/BambuStudio?

This OctoCounts report was generated from master at commit 79df7ae309be on 2026-10-14T11:16:34.250919371Z.

## Similar repository reports

- [grafana/grafana](https://octocounts.com/github/grafana/grafana) — JSON, 3,966,343 code lines
- [MaaAssistantArknights/MaaAssistantArknights](https://octocounts.com/github/MaaAssistantArknights/MaaAssistantArknights) — JSON, 3,672,974 code lines
- [OrcaSlicer/OrcaSlicer](https://octocounts.com/github/OrcaSlicer/OrcaSlicer) — JSON, 5,073,667 code lines
- [antirez/ds4](https://octocounts.com/github/antirez/ds4) — JSON, 5,094,119 code lines
- [plasmicapp/plasmic](https://octocounts.com/github/plasmicapp/plasmic) — JSON, 3,451,541 code lines
- [FULU-Foundation/OrcaSlicer-bambulab](https://octocounts.com/github/FULU-Foundation/OrcaSlicer-bambulab) — JSON, 3,358,115 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
