# leejet/stable-diffusion.cpp SLOC report

> 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.

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.

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.

## Repository size insights

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 | 93,561 | 83,687 | 2,442 | 7,432 |
| C++ Header | 86 | 79,819 | 64,639 | 5,679 | 9,501 |
| C++ | 74 | 43,943 | 39,464 | 578 | 3,901 |
| C Header | 88 | 50,827 | 38,931 | 5,056 | 6,840 |
| JSON | 108 | 4,777 | 4,777 | 0 | 0 |
| Python | 8 | 1,551 | 1,250 | 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 2026-10-23T09:05:29.204471294+00:00. Canonical report: https://octocounts.com/github/leejet/stable-diffusion.cpp

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/leejet/stable-diffusion.cpp/commit/fd21ecfceef2665d2c5f2db8536e3202d864fd30?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&reportId=7e7763eff357adf44fcb9cf761245c744e87545fd0696a305aecb3b097377877).

## Report FAQ

### How many lines of code does leejet/stable-diffusion.cpp have?

leejet/stable-diffusion.cpp has 278,371 total lines, including 233,597 code lines, 16,066 comment lines, and 28,708 blank lines.

### How was the leejet/stable-diffusion.cpp line count measured?

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.

### What commit was counted for leejet/stable-diffusion.cpp?

This OctoCounts report was generated from master at commit fd21ecfceef2 on 2026-10-23T09:05:29.204471294+00:00.

## Similar repository reports

- [HarbourMasters/Lighthouse](https://octocounts.com/github/HarbourMasters/Lighthouse) — C, 235,448 code lines
- [rusqlite/rusqlite](https://octocounts.com/github/rusqlite/rusqlite) — C, 225,142 code lines
- [immortalwrt/immortalwrt](https://octocounts.com/github/immortalwrt/immortalwrt) — C, 220,445 code lines
- [ThomasDickey/lynx-snapshots](https://octocounts.com/github/ThomasDickey/lynx-snapshots) — C, 255,364 code lines
- [armory3d/armorpaint](https://octocounts.com/github/armory3d/armorpaint) — C, 256,980 code lines
- [openwrt/openwrt](https://octocounts.com/github/openwrt/openwrt) — C, 210,589 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)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [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)
