saltstack/salt has 503,071 source lines of code out of 608,529 total lines across 1,593 files, counted with tokei from the master ref at commit 221495872f8f on November 20, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
saltstack/salt: 503,071 code lines at commit 221495872f8f, counted with tokei-15.0.0 on 2026-11-20. Saved result b8899d2da1c15e39db27d1798351060223af596571a87255e445088af140a053.
OctoCounts produced this report by resolving saltstack/salt to commit 221495872f8f, 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 large codebase by counted code lines. Code represents 82.7% of all lines, comments represent 7.5%, and the repository averages 316 code lines per file. Python accounts for 95.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 1040 | 564641 | 479802 | 31138 | 53701 |
| Shell | 43 | 13665 | 8961 | 2635 | 2069 |
| RPM Specfile | 3 | 6965 | 5684 | 470 | 811 |
| PowerShell | 13 | 3781 | 2648 | 769 | 364 |
| C# | 3 | 1520 | 1134 | 248 | 138 |
| Jinja2 | 25 | 967 | 960 | 0 | 7 |
| ReStructuredText | 6 | 1115 | 809 | 0 | 306 |
| YAML | 6 | 673 | 663 | 7 | 3 |
| BASH | 4 | 773 | 568 | 118 | 87 |
| XML | 10 | 678 | 525 | 30 | 123 |
| Fish | 9 | 560 | 414 | 81 | 65 |
| TOML | 1 | 277 | 253 | 10 | 14 |
| Zsh | 1 | 283 | 225 | 23 | 35 |
| Autoconf | 21 | 187 | 87 | 100 | 0 |
| Pacman's makepkg | 2 | 137 | 86 | 27 | 24 |
| Cython | 1 | 76 | 67 | 0 | 9 |
| XSL | 2 | 97 | 52 | 25 | 20 |
| Batch | 15 | 50 | 48 | 2 | 0 |
| Forge Config | 1 | 24 | 20 | 0 | 4 |
| Makefile | 1 | 25 | 20 | 2 | 3 |
| C | 1 | 16 | 13 | 0 | 3 |
| INI | 1 | 12 | 11 | 1 | 0 |
| HTML | 1 | 11 | 9 | 0 | 2 |
| JSON | 1 | 8 | 8 | 0 | 0 |
| D | 1 | 4 | 4 | 0 | 0 |
| Markdown | 355 | 11518 | 0 | 9659 | 1859 |
| Plain Text | 26 | 466 | 0 | 458 | 8 |
Top language: Python 95.4%. Generated on .
saltstack/salt: tokei-15.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.
saltstack/salt has 503,071 lines of code, plus 45,803 comment lines and 59,655 blank lines, for 608,529 total lines at commit 221495872f8f on November 20, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 221495872f8f, 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 221495872f8f on November 20, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for saltstack/salt on this page — 503,071 code lines across 27 languages, counted by tokei.