home-assistant/core has 1,725,223 source lines of code out of 2,033,359 total lines across 15,770 files, counted with tokei from the dev ref at commit f22ddb04fe96 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
home-assistant/core: 1,725,223 code lines at commit f22ddb04fe96, counted with tokei-15.0.0 on 2026-11-16. Saved result 71c6911b8e43a1c85dc054591fb0351d4c7a9bff1925fcae5d0e7742abe07dde.
OctoCounts produced this report by resolving home-assistant/core to commit f22ddb04fe96, 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 very large codebase by counted code lines. Code represents 84.8% of all lines, comments represent 2.2%, and the repository averages 109 code lines per file. Python accounts for 83.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 11254 | 1736676 | 1440477 | 37978 | 258221 |
| JSON | 3565 | 215015 | 215001 | 0 | 14 |
| YAML | 896 | 66149 | 62274 | 1795 | 2080 |
| INI | 1 | 7035 | 6307 | 3 | 725 |
| TOML | 12 | 1095 | 858 | 157 | 80 |
| Shell | 9 | 225 | 143 | 41 | 41 |
| Dockerfile | 3 | 113 | 76 | 21 | 16 |
| BASH | 3 | 86 | 59 | 10 | 17 |
| ReStructuredText | 1 | 33 | 24 | 0 | 9 |
| Autoconf | 2 | 4 | 4 | 0 | 0 |
| Markdown | 17 | 2847 | 0 | 2074 | 773 |
| Plain Text | 7 | 4081 | 0 | 2839 | 1242 |
Top language: Python 83.5%. Generated on .
home-assistant/core: 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.
home-assistant/core has 1,725,223 lines of code, plus 44,918 comment lines and 263,218 blank lines, for 2,033,359 total lines at commit f22ddb04fe96 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit f22ddb04fe96, 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 dev at commit f22ddb04fe96 on November 16, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for home-assistant/core on this page — 1,725,223 code lines across 12 languages, counted by tokei.