saltstack/salt

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.

As of 2026-11-20 (commit 221495872f8f), saltstack/salt contains 608,529 total lines: 503,071 code, 45,803 comments, 59,655 blank, across 1,593 files in 27 languages (top language: Python 95.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-20 (commit 221495872f8f), saltstack/salt contains 608,529 total lines: 503,071 code, 45,803 comments, 59,655 blank, across 1,593 files in 27 languages (top language: Python 95.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
Python10405646414798023113853701
Shell4313665896126352069
RPM Specfile369655684470811
PowerShell1337812648769364
C#315201134248138
Jinja22596796007
ReStructuredText611158090306
YAML667366373
BASH477356811887
XML1067852530123
Fish95604148165
TOML12772531014

Top language: Python 95.4%. Generated on .

Counting rules and retention

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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does saltstack/salt have?

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.

How was the saltstack/salt line count measured?

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.

What commit was counted for saltstack/salt?

This OctoCounts report was generated from master at commit 221495872f8f on November 20, 2026.

Play the growth animation for saltstack/salt on this page — 503,071 code lines across 27 languages, counted by tokei.