# Sonarr/Sonarr SLOC report

> As of 2026-10-22 (commit b3d4bb8c18f7), Sonarr/Sonarr contains 430,224 total lines: 371,871 code, 4,654 comments, 53,699 blank, across 4,403 files in 19 languages (top: C# 53.4%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

Sonarr/Sonarr has 371,871 source lines of code out of 430,224 total lines across 4,403 files, counted from the develop ref at commit b3d4bb8c18f7 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.

OctoCounts produced this report by resolving Sonarr/Sonarr to commit b3d4bb8c18f7, 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 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.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C# | 2,950 | 239,987 | 198,605 | 2,615 | 38,767 |
| JSON | 60 | 76,382 | 76,382 | 0 | 0 |
| TSX | 632 | 69,243 | 60,638 | 191 | 8,414 |
| TypeScript | 282 | 18,217 | 15,562 | 133 | 2,522 |
| CSS | 355 | 14,445 | 11,938 | 86 | 2,421 |
| XML | 33 | 7,291 | 6,228 | 3 | 1,060 |
| MSBuild | 32 | 700 | 624 | 37 | 39 |
| HTML | 4 | 560 | 500 | 13 | 47 |
| 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 at 2026-10-22T05:01:30.261932548+00:00. Canonical report: https://octocounts.com/github/Sonarr/Sonarr

## Reproduce this report

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

## Report FAQ

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

Sonarr/Sonarr has 430,224 total lines, including 371,871 code lines, 4,654 comment lines, and 53,699 blank lines.

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

OctoCounts resolved the public GitHub repository to commit b3d4bb8c18f7, 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 b3d4bb8c18f7 on 2026-10-22T05:01:30.261932548+00:00.

## Similar repository reports

- [Radarr/Radarr](https://octocounts.com/github/Radarr/Radarr) — C#, 343,236 code lines
- [SmartlyDressedGames/U3-SDK](https://octocounts.com/github/SmartlyDressedGames/U3-SDK) — C#, 343,116 code lines
- [radarr/radarr](https://octocounts.com/github/radarr/radarr) — C#, 340,772 code lines
- [thoenissen/Reihitsu](https://octocounts.com/github/thoenissen/Reihitsu) — C#, 298,411 code lines
- [ppy/osu](https://octocounts.com/github/ppy/osu) — C#, 463,496 code lines
- [jackwrichards/placemaker](https://octocounts.com/github/jackwrichards/placemaker) — C#, 276,800 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)
- [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)
