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.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 277 | 73928 | 58361 | 5880 | 9687 |
| JSON | 5 | 5592 | 5592 | 0 | 0 |
| Templ | 71 | 3724 | 3237 | 0 | 487 |
| Shell | 12 | 3114 | 2288 | 460 | 366 |
| BASH | 1 | 667 | 579 | 27 | 61 |
| INI | 1 | 336 | 278 | 21 | 37 |
| Meson | 2 | 306 | 267 | 15 | 24 |
| Autoconf | 6 | 365 | 253 | 41 | 71 |
| ReStructuredText | 1 | 312 | 247 | 0 | 65 |
| TOML | 1 | 189 | 175 | 5 | 9 |
| Makefile | 1 | 86 | 61 | 0 | 25 |
| Forge Config | 1 | 71 | 40 | 22 | 9 |
| Snakemake | 1 | 34 | 21 | 7 | 6 |
| YAML | 1 | 20 | 16 | 1 | 3 |
| Markdown | 4 | 142 | 0 | 101 | 41 |
| Plain Text | 5 | 79 | 0 | 65 | 14 |
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
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.