# home-assistant/frontend SLOC report

> As of 2026-11-20 (commit c66d41d84bf9), home-assistant/frontend contains 677,667 total lines: 602,356 code, 19,342 comments, 55,969 blank, across 3,437 files in 13 languages (top language: TypeScript 93.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

home-assistant/frontend has 602,356 source lines of code out of 677,667 total lines across 3,437 files, counted with tokei from the dev ref at commit c66d41d84bf9 on November 20, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving home-assistant/frontend to commit c66d41d84bf9, 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.

## Counting rules and retention

home-assistant/frontend: 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.

## Repository size insights

This is a large codebase by counted code lines. Code represents 88.9% of all lines, comments represent 2.9%, and the repository averages 175 code lines per file. TypeScript accounts for 93.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 3,095 | 632,080 | 562,642 | 16,307 | 53,131 |
| YAML | 2 | 16,416 | 15,086 | 5 | 1,325 |
| JSON | 15 | 14,933 | 14,933 | 0 | 0 |
| JavaScript | 68 | 9,757 | 8,387 | 733 | 637 |
| SVG | 101 | 1,039 | 1,039 | 0 | 0 |
| BASH | 7 | 190 | 119 | 37 | 34 |
| Shell | 16 | 247 | 107 | 78 | 62 |
| TOML | 2 | 26 | 22 | 0 | 4 |
| XML | 1 | 12 | 12 | 0 | 0 |
| Python | 1 | 7 | 5 | 0 | 2 |
| Autoconf | 1 | 4 | 4 | 0 | 0 |
| Markdown | 127 | 2,954 | 0 | 2,180 | 774 |

Top language: TypeScript 93.4%. Generated on November 20, 2026. Canonical report: https://octocounts.com/github/home-assistant/frontend

## Reproduce this report

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

## Report FAQ

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

home-assistant/frontend has 602,356 lines of code, plus 19,342 comment lines and 55,969 blank lines, for 677,667 total lines at commit c66d41d84bf9 on November 20, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit c66d41d84bf9, 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/frontend?

This OctoCounts report was generated from dev at commit c66d41d84bf9 on November 20, 2026.

## Similar repository reports

- [coleam00/Archon](https://octocounts.com/github/coleam00/Archon) — TypeScript, 607,684 code lines
- [mumble-voip/mumble](https://octocounts.com/github/mumble-voip/mumble) — TypeScript, 608,989 code lines
- [FerroxLabs/wayland](https://octocounts.com/github/FerroxLabs/wayland) — TypeScript, 595,577 code lines
- [generalaction/emdash](https://octocounts.com/github/generalaction/emdash) — TypeScript, 609,257 code lines
- [LegspCpd/formbricks-worker](https://octocounts.com/github/LegspCpd/formbricks-worker) — TypeScript, 615,802 code lines
- [tiann/hapi](https://octocounts.com/github/tiann/hapi) — TypeScript, 621,864 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)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [Svelte vs Vue](https://octocounts.com/compare/svelte-vs-vue)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
