canonical/cloud-init has 71,418 source lines of code out of 88,968 total lines across 390 files, counted with tokei from the main ref at commit 6d221dd83eb8 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
canonical/cloud-init: 71,418 code lines at commit 6d221dd83eb8, counted with tokei-15.0.0 on 2026-11-13. Saved result 0f0d6a5c744994a0bdedf5f7815f54a2f55b6152480237e05a877156c2a1ca0c.
OctoCounts produced this report by resolving canonical/cloud-init to commit 6d221dd83eb8, 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 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 | 338 | 280 | 21 | 37 |
| Meson | 2 | 306 | 267 | 15 | 24 |
| Autoconf | 6 | 365 | 253 | 41 | 71 |
| ReStructuredText | 1 | 312 | 247 | 0 | 65 |
| TOML | 1 | 190 | 176 | 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 .
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.
canonical/cloud-init has 71,418 lines of code, plus 6,645 comment lines and 10,905 blank lines, for 88,968 total lines at commit 6d221dd83eb8 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 6d221dd83eb8, 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 main at commit 6d221dd83eb8 on November 13, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for canonical/cloud-init on this page — 71,418 code lines across 16 languages, counted by tokei.