# home-assistant/core SLOC report

> As of 2026-08-29 (commit a2454d3d2b2e), home-assistant/core contains 1,787,866 total lines: 1,513,961 code, 37,975 comments, 235,930 blank, across 14,415 files in 12 languages (top: Python 83.7%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving home-assistant/core to commit a2454d3d2b2e, 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.7% of all lines, comments represent 2.1%, and the repository averages 105 code lines per file. Python accounts for 83.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 10,199 | 1,530,936 | 1,266,972 | 32,415 | 231,549 |
| JSON | 3,382 | 187,037 | 187,024 | 0 | 13 |
| YAML | 792 | 56,454 | 53,102 | 1,496 | 1,856 |
| INI | 1 | 6,495 | 5,821 | 3 | 671 |
| TOML | 8 | 962 | 752 | 146 | 64 |
| Shell | 9 | 223 | 141 | 41 | 41 |
| Dockerfile | 3 | 104 | 68 | 20 | 16 |
| BASH | 3 | 80 | 54 | 10 | 16 |
| ReStructuredText | 1 | 33 | 24 | 0 | 9 |
| Autoconf | 1 | 3 | 3 | 0 | 0 |
| Markdown | 10 | 1,584 | 0 | 1,093 | 491 |
| Plain Text | 6 | 3,955 | 0 | 2,751 | 1,204 |

Top language (Python 83.7%). Generated at 2026-08-29T08:59:04.360659906+00:00. Canonical report: https://octocounts.com/github/home-assistant/core

## Report FAQ

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

home-assistant/core has 1,787,866 total lines, including 1,513,961 code lines, 37,975 comment lines, and 235,930 blank lines.

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

OctoCounts resolved the public GitHub repository to commit a2454d3d2b2e, 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 a2454d3d2b2e on 2026-08-29T08:59:04.360659906+00:00.

## Similar repository reports

- [apache/airflow](https://octocounts.com/github/apache/airflow) — Python, 1,638,519 code lines
- [comet-ml/opik](https://octocounts.com/github/comet-ml/opik) — Python, 1,383,746 code lines
- [nousresearch/hermes-agent](https://octocounts.com/github/nousresearch/hermes-agent) — Python, 1,355,060 code lines
- [NousResearch/hermes-agent](https://octocounts.com/github/NousResearch/hermes-agent) — Python, 1,328,667 code lines
- [vllm-project/vllm](https://octocounts.com/github/vllm-project/vllm) — Python, 1,104,470 code lines
- [Dhravya/hermes-agent](https://octocounts.com/github/Dhravya/hermes-agent) — Python, 1,074,449 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)
- [OctoCounts API docs](https://octocounts.com/docs/api)
