# Sonarr/Sonarr SLOC report

> As of 2026-11-03 (commit c018578e4b79), Sonarr/Sonarr contains 439,083 total lines: 379,407 code, 4,658 comments, 55,018 blank, across 4,477 files in 19 languages (top language: C# 53.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

Sonarr/Sonarr has 379,407 source lines of code out of 439,083 total lines across 4,477 files, counted with tokei from the develop ref at commit c018578e4b79 on November 3, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving Sonarr/Sonarr to commit c018578e4b79, 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

Sonarr/Sonarr: 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 86.4% of all lines, comments represent 1.1%, and the repository averages 85 code lines per file. C# accounts for 53.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C# | 2,998 | 245,034 | 202,620 | 2,623 | 39,791 |
| JSON | 60 | 78,225 | 78,225 | 0 | 0 |
| TSX | 641 | 70,384 | 61,647 | 189 | 8,548 |
| TypeScript | 290 | 18,549 | 15,817 | 133 | 2,599 |
| CSS | 364 | 14,909 | 12,321 | 84 | 2,504 |
| XML | 33 | 7,291 | 6,228 | 3 | 1,060 |
| MSBuild | 32 | 701 | 625 | 37 | 39 |
| HTML | 4 | 591 | 530 | 13 | 48 |
| JavaScript | 17 | 541 | 429 | 9 | 103 |
| Visual Studio Solution | 1 | 348 | 347 | 0 | 1 |
| Shell | 5 | 447 | 325 | 51 | 71 |
| .NET Resource | 2 | 298 | 180 | 118 | 0 |

Top language: C# 53.4%. Generated on November 3, 2026. Canonical report: https://octocounts.com/github/Sonarr/Sonarr

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/Sonarr/Sonarr/commit/c018578e4b79ee048575c02d7a8aa2b929e4b837?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=c43833a4817fccfeefb952e61d1df132cf8268f534f60cbb0952a7aa721bef71).

## Report FAQ

### How many lines of code does Sonarr/Sonarr have?

Sonarr/Sonarr has 379,407 lines of code, plus 4,658 comment lines and 55,018 blank lines, for 439,083 total lines at commit c018578e4b79 on November 3, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the Sonarr/Sonarr line count measured?

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

### What commit was counted for Sonarr/Sonarr?

This OctoCounts report was generated from develop at commit c018578e4b79 on November 3, 2026.

## Similar repository reports

- [thoenissen/Reihitsu](https://octocounts.com/github/thoenissen/Reihitsu) — C#, 369,846 code lines
- [openutau/OpenUtau](https://octocounts.com/github/openutau/OpenUtau) — C#, 352,633 code lines
- [Radarr/Radarr](https://octocounts.com/github/Radarr/Radarr) — C#, 346,197 code lines
- [AvaloniaUI/Avalonia](https://octocounts.com/github/AvaloniaUI/Avalonia) — C#, 416,230 code lines
- [SmartlyDressedGames/U3-SDK](https://octocounts.com/github/SmartlyDressedGames/U3-SDK) — C#, 343,160 code lines
- [microsoft/semantic-kernel](https://octocounts.com/github/microsoft/semantic-kernel) — C#, 420,901 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)
- [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)
