# home-assistant/core SLOC report

> home-assistant/core: 1,655,962 code lines at commit f201094549da, counted with tokei-14.0.0 on 2026-10-22. Saved result 278561ed77103f65af515f0ab4515293913728ec00ebb94b3158ec3f0a129efd.

home-assistant/core has 1,655,962 source lines of code out of 1,953,178 total lines across 15,402 files, counted from the dev ref at commit f201094549da by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving home-assistant/core to commit f201094549da, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

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 108 code lines per file. Python accounts for 83.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 10,977 | 1,670,527 | 1,384,716 | 36,389 | 249,422 |
| JSON | 3,511 | 203,361 | 203,347 | 0 | 14 |
| YAML | 866 | 64,245 | 60,515 | 1,704 | 2,026 |
| INI | 1 | 6,976 | 6,257 | 3 | 716 |
| TOML | 10 | 1,058 | 828 | 157 | 73 |
| Shell | 9 | 224 | 142 | 41 | 41 |
| Dockerfile | 3 | 108 | 71 | 21 | 16 |
| BASH | 3 | 86 | 59 | 10 | 17 |
| ReStructuredText | 1 | 33 | 24 | 0 | 9 |
| Autoconf | 1 | 3 | 3 | 0 | 0 |
| Markdown | 13 | 2,501 | 0 | 1,798 | 703 |
| Plain Text | 7 | 4,056 | 0 | 2,822 | 1,234 |

Top language (Python 83.6%). Generated at 2026-10-22T06:55:06.978129946Z. Canonical report: https://octocounts.com/github/home-assistant/core/commit/f201094549dab902c63306542acfc59e7ff41aac?reportId=278561ed77103f65af515f0ab4515293913728ec00ebb94b3158ec3f0a129efd&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/home-assistant/core/commit/f201094549dab902c63306542acfc59e7ff41aac?reportId=278561ed77103f65af515f0ab4515293913728ec00ebb94b3158ec3f0a129efd&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does home-assistant/core have?

home-assistant/core has 1,953,178 total lines, including 1,655,962 code lines, 42,945 comment lines, and 254,271 blank lines.

### How was the home-assistant/core line count measured?

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

### What commit was counted for home-assistant/core?

This OctoCounts report was generated from dev at commit f201094549da on 2026-10-22T06:55:06.978129946Z.

## Similar repository reports

- [sgl-project/sglang](https://octocounts.com/github/sgl-project/sglang) — Python, 1,740,273 code lines
- [BerriAI/litellm](https://octocounts.com/github/BerriAI/litellm) — Python, 1,749,068 code lines
- [NousResearch/hermes-agent](https://octocounts.com/github/NousResearch/hermes-agent) — Python, 1,925,263 code lines
- [vllm-project/vllm](https://octocounts.com/github/vllm-project/vllm) — Python, 1,420,031 code lines
- [unslothai/unsloth](https://octocounts.com/github/unslothai/unsloth) — Python, 1,406,112 code lines
- [houmo-ai/postmo-quantflow](https://octocounts.com/github/houmo-ai/postmo-quantflow) — Python, 1,321,386 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
