AUTOMATIC1111/stable-diffusion-webui has 39,568 source lines of code out of 53,746 total lines across 282 files, counted with tokei from the master ref at commit 82a973c04367 on October 22, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-10-22 (commit 82a973c04367), AUTOMATIC1111/stable-diffusion-webui contains 53,746 total lines: 39,568 code, 3,270 comments, 10,908 blank, across 282 files in 11 languages (top language: Python 83.6%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving AUTOMATIC1111/stable-diffusion-webui to commit 82a973c04367, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.
This is a medium-sized codebase by counted code lines. Code represents 73.6% of all lines, comments represent 6.1%, and the repository averages 140 code lines per file. Python accounts for 83.6% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 205 | 43344 | 33074 | 919 | 9351 |
| JavaScript | 29 | 4970 | 3749 | 329 | 892 |
| CSS | 2 | 1733 | 1389 | 45 | 299 |
| HTML | 11 | 544 | 523 | 0 | 21 |
| YAML | 8 | 497 | 461 | 9 | 27 |
| Shell | 3 | 369 | 247 | 77 | 45 |
| Batch | 2 | 106 | 83 | 0 | 23 |
| TOML | 2 | 43 | 31 | 3 | 9 |
| JSON | 1 | 11 | 11 | 0 | 0 |
| Markdown | 2 | 1270 | 0 | 1150 | 120 |
| Plain Text | 17 | 859 | 0 | 738 | 121 |
Top language: Python 83.6%. Generated on .
AUTOMATIC1111/stable-diffusion-webui: tokei-14.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
AUTOMATIC1111/stable-diffusion-webui has 39,568 lines of code, plus 3,270 comment lines and 10,908 blank lines, for 53,746 total lines at commit 82a973c04367 on October 22, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 82a973c04367, 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 82a973c04367 on October 22, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for AUTOMATIC1111/stable-diffusion-webui on this page — 39,568 code lines across 11 languages, counted by tokei.