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.

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.

LanguageFilesLinesCodeCommentsBlanks
Python101991530936126697232415231549
JSON3382187037187024013
YAML792564545310214961856
INI1649558213671
TOML896275214664
Shell92231414141
Dockerfile3104682016
BASH380541016
ReStructuredText1332409
Autoconf13300
Markdown10158401093491
Plain Text63955027511204

Top language (Python 83.7%). Generated at 2026-08-29T08:59:04.360659906+00:00.

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

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: