home-assistant/core

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.

As of 2026-10-22 (commit f201094549da), home-assistant/core contains 1,953,178 total lines: 1,655,962 code, 42,945 comments, 254,271 blank, across 15,402 files in 12 languages (top: Python 83.6%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

As of 2026-10-22 (commit f201094549da), home-assistant/core contains 1,953,178 total lines: 1,655,962 code, 42,945 comments, 254,271 blank, across 15,402 files in 12 languages (top: Python 83.6%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

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.

LanguageFilesLinesCodeCommentsBlanks
Python109771670527138471636389249422
JSON3511203361203347014
YAML866642456051517042026
INI1697662573716
TOML10105882815773
Shell92241424141
Dockerfile3108712116
BASH386591017
ReStructuredText1332409
Autoconf13300
Markdown13250101798703
Plain Text74056028221234

Top language (Python 83.6%). Generated at .

Reproduce this report

Reproduce this exact report and configuration.

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.978129946+00:00.

Similar repository reports

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,655,962 code lines across 12 languages, counted by tokei.