leejet/stable-diffusion.cpp has 233,597 source lines of code out of 278,371 total lines across 413 files, counted from the master ref at commit fd21ecfceef2 by the OctoCounts tokei engine on 2026-10-23. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-23 (commit fd21ecfceef2), leejet/stable-diffusion.cpp contains 278,371 total lines: 233,597 code, 16,066 comments, 28,708 blank, across 413 files in 14 languages (top: C 35.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving leejet/stable-diffusion.cpp to commit fd21ecfceef2, 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 large codebase by counted code lines. Code represents 83.9% of all lines, comments represent 5.8%, and the repository averages 566 code lines per file. C accounts for 35.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 20 | 93561 | 83687 | 2442 | 7432 |
| C++ Header | 86 | 79819 | 64639 | 5679 | 9501 |
| C++ | 74 | 43943 | 39464 | 578 | 3901 |
| C Header | 88 | 50827 | 38931 | 5056 | 6840 |
| JSON | 108 | 4777 | 4777 | 0 | 0 |
| Python | 8 | 1551 | 1250 | 42 | 259 |
| CMake | 6 | 706 | 585 | 30 | 91 |
| Autoconf | 4 | 119 | 70 | 21 | 28 |
| Shell | 2 | 79 | 63 | 6 | 10 |
| PowerShell | 1 | 64 | 60 | 0 | 4 |
| Batch | 1 | 45 | 37 | 0 | 8 |
| Dockerfile | 1 | 45 | 34 | 1 | 10 |
Top language (C 35.8%). Generated at .
leejet/stable-diffusion.cpp has 278,371 total lines, including 233,597 code lines, 16,066 comment lines, and 28,708 blank lines.
OctoCounts resolved the public GitHub repository to commit fd21ecfceef2, 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 fd21ecfceef2 on 2026-10-23T09:05:29.204471294+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for leejet/stable-diffusion.cpp on this page — 233,597 code lines across 12 languages, counted by tokei.