Sonarr/Sonarr has 365,436 source lines of code out of 422,842 total lines across 4,357 files, counted from the v5-develop ref at commit 096f4e29f762 by the OctoCounts tokei engine on 2026-10-10. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-10 (commit 096f4e29f762), Sonarr/Sonarr contains 422,842 total lines: 365,436 code, 4,648 comments, 52,758 blank, across 4,357 files in 19 languages (top: C# 53.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving Sonarr/Sonarr to commit 096f4e29f762, 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.
This is a large codebase by counted code lines. Code represents 86.4% of all lines, comments represent 1.1%, and the repository averages 84 code lines per file. C# accounts for 53.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C# | 2922 | 236908 | 196169 | 2611 | 38128 |
| JSON | 60 | 74283 | 74283 | 0 | 0 |
| TSX | 625 | 67894 | 59451 | 193 | 8250 |
| TypeScript | 276 | 17848 | 15247 | 133 | 2468 |
| CSS | 350 | 13968 | 11547 | 82 | 2339 |
| XML | 33 | 7291 | 6228 | 3 | 1060 |
| MSBuild | 32 | 702 | 626 | 37 | 39 |
| HTML | 4 | 560 | 500 | 13 | 47 |
| JavaScript | 17 | 540 | 428 | 9 | 103 |
| Visual Studio Solution | 1 | 348 | 347 | 0 | 1 |
| Shell | 5 | 437 | 317 | 51 | 69 |
| .NET Resource | 2 | 298 | 180 | 118 | 0 |
Top language (C# 53.7%). Generated at .
Sonarr/Sonarr has 422,842 total lines, including 365,436 code lines, 4,648 comment lines, and 52,758 blank lines.
OctoCounts resolved the public GitHub repository to commit 096f4e29f762, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from v5-develop at commit 096f4e29f762 on 2026-10-10T00:49:53.274727452+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for Sonarr/Sonarr on this page — 365,436 code lines across 12 languages, counted by tokei.