# AUTOMATIC1111/stable-diffusion-webui SLOC report

> 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: Python 83.6%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

AUTOMATIC1111/stable-diffusion-webui has 39,568 source lines of code out of 53,746 total lines across 282 files, counted from the master ref at commit 82a973c04367 by the OctoCounts tokei engine on 2026-10-22. 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 AUTOMATIC1111/stable-diffusion-webui to commit 82a973c04367, 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 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 | 43,344 | 33,074 | 919 | 9,351 |
| JavaScript | 29 | 4,970 | 3,749 | 329 | 892 |
| CSS | 2 | 1,733 | 1,389 | 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 | 1,270 | 0 | 1,150 | 120 |
| Plain Text | 17 | 859 | 0 | 738 | 121 |

Top language (Python 83.6%). Generated at 2026-10-22T10:33:40.532576084+00:00. Canonical report: https://octocounts.com/github/AUTOMATIC1111/stable-diffusion-webui

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/AUTOMATIC1111/stable-diffusion-webui/commit/82a973c04367123ae98bd9abdf80d9eda9b910e2?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=0f0d690851938cae68713058ae4e44e05a75957571d50a0342ff02e4443481b5).

## Report FAQ

### How many lines of code does AUTOMATIC1111/stable-diffusion-webui have?

AUTOMATIC1111/stable-diffusion-webui has 53,746 total lines, including 39,568 code lines, 3,270 comment lines, and 10,908 blank lines.

### How was the AUTOMATIC1111/stable-diffusion-webui line count measured?

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.

### What commit was counted for AUTOMATIC1111/stable-diffusion-webui?

This OctoCounts report was generated from master at commit 82a973c04367 on 2026-10-22T10:33:40.532576084+00:00.

## Similar repository reports

- [ikstv/AvelRen](https://octocounts.com/github/ikstv/AvelRen) — Python, 39,521 code lines
- [tw93/Kami](https://octocounts.com/github/tw93/Kami) — Python, 39,886 code lines
- [huggingface/speech-to-speech](https://octocounts.com/github/huggingface/speech-to-speech) — Python, 40,050 code lines
- [harry0703/MoneyPrinterTurbo](https://octocounts.com/github/harry0703/MoneyPrinterTurbo) — Python, 38,868 code lines
- [chidiwilliams/buzz](https://octocounts.com/github/chidiwilliams/buzz) — Python, 40,358 code lines
- [Friedrich-M/UniMate](https://octocounts.com/github/Friedrich-M/UniMate) — Python, 40,586 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [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)
