canonical/cloud-init

canonical/cloud-init has 71,415 source lines of code out of 88,965 total lines across 390 files, counted with tokei from the main ref at commit 29d50e12104e on November 10, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

canonical/cloud-init: 71,415 code lines at commit 29d50e12104e, counted with tokei-15.0.0 on 2026-11-10. Saved result 3843138c54137471c3ac1d58b8978487ce8ecfb22f24f1570e796af5ad09ed9e.

Source: canonical/cloud-init on GitHub · counted commit 29d50e12104e

OctoCounts produced this report by resolving canonical/cloud-init to commit 29d50e12104e, 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 medium-sized codebase by counted code lines. Code represents 80.3% of all lines, comments represent 7.5%, and the repository averages 183 code lines per file. Python accounts for 81.7% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Python277739285836158809687
JSON55592559200
Templ71372432370487
Shell1231142288460366
BASH16675792761
INI13362782137
Meson23062671524
Autoconf63652534171
ReStructuredText1312247065
TOML118917559
Makefile18661025
Forge Config17140229
Snakemake1342176
YAML1201613
Markdown4142010141
Plain Text57906514

Top language: Python 81.7%. Generated on .

Counting rules and retention

canonical/cloud-init: 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 canonical/cloud-init have?

canonical/cloud-init has 71,415 lines of code, plus 6,645 comment lines and 10,905 blank lines, for 88,965 total lines at commit 29d50e12104e on November 10, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the canonical/cloud-init line count measured?

OctoCounts resolved the public GitHub repository to commit 29d50e12104e, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for canonical/cloud-init?

This OctoCounts report was generated from main at commit 29d50e12104e on November 10, 2026.

Play the growth animation for canonical/cloud-init on this page — 71,415 code lines across 16 languages, counted by tokei.