# bambulab/BambuStudio SLOC report

> As of 2026-09-08 (commit bf68eece13cb), bambulab/BambuStudio contains 4,395,167 total lines: 3,842,603 code, 247,819 comments, 304,745 blank, across 8,728 files in 33 languages (top: JSON 63.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

bambulab/BambuStudio has 3,842,603 source lines of code out of 4,395,167 total lines across 8,728 files, counted from the bf68eece13cbc05a9f9eaf3e1761a4d020ccd411 ref at commit bf68eece13cb by the OctoCounts tokei engine on 2026-09-08. 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 bf68eece13cb, 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 87.4% of all lines, comments represent 5.6%, and the repository averages 440 code lines per file. JSON accounts for 63.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JSON | 3,375 | 2,449,599 | 2,449,585 | 0 | 14 |
| C++ | 1,167 | 719,881 | 565,289 | 68,350 | 86,242 |
| C Header | 1,068 | 332,332 | 221,637 | 62,562 | 48,133 |
| PO File | 19 | 390,204 | 219,768 | 52,501 | 117,935 |
| C++ Header | 696 | 153,493 | 106,806 | 23,736 | 22,951 |
| C | 84 | 131,265 | 102,162 | 19,022 | 10,081 |
| JavaScript | 492 | 92,432 | 77,618 | 3,434 | 11,380 |
| SVG | 1,090 | 28,353 | 28,290 | 27 | 36 |
| Modelica | 19 | 23,249 | 22,452 | 333 | 464 |
| HTML | 80 | 22,022 | 19,346 | 1,273 | 1,403 |
| CMake | 104 | 9,896 | 7,338 | 1,327 | 1,231 |
| CSS | 100 | 6,831 | 5,807 | 247 | 777 |

Top language (JSON 63.7%). Generated at 2026-09-08T22:46:58.504191038+00:00. Canonical report: https://octocounts.com/github/bambulab/BambuStudio

## Reproduce this report

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

## Report FAQ

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

bambulab/BambuStudio has 4,395,167 total lines, including 3,842,603 code lines, 247,819 comment lines, and 304,745 blank lines.

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

OctoCounts resolved the public GitHub repository to commit bf68eece13cb, 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 bf68eece13cbc05a9f9eaf3e1761a4d020ccd411 at commit bf68eece13cb on 2026-09-08T22:46:58.504191038+00:00.

## Similar repository reports

- [grafana/grafana](https://octocounts.com/github/grafana/grafana) — JSON, 3,824,008 code lines
- [antirez/ds4](https://octocounts.com/github/antirez/ds4) — JSON, 3,574,934 code lines
- [FULU-Foundation/OrcaSlicer-bambulab](https://octocounts.com/github/FULU-Foundation/OrcaSlicer-bambulab) — JSON, 3,358,115 code lines
- [lobehub/lobehub](https://octocounts.com/github/lobehub/lobehub) — JSON, 4,541,199 code lines
- [meshery/meshery](https://octocounts.com/github/meshery/meshery) — JSON, 4,708,063 code lines
- [compiler-explorer/compiler-explorer](https://octocounts.com/github/compiler-explorer/compiler-explorer) — JSON, 2,942,969 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)
