# getsentry/sentry SLOC report

> As of 2026-10-21 (commit d4ac7c872436), getsentry/sentry contains 4,362,220 total lines: 3,031,503 code, 691,248 comments, 639,469 blank, across 15,644 files in 25 languages (top: TSX 41.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

getsentry/sentry has 3,031,503 source lines of code out of 4,362,220 total lines across 15,644 files, counted from the master ref at commit d4ac7c872436 by the OctoCounts tokei engine on 2026-10-21. 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 getsentry/sentry to commit d4ac7c872436, 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 69.5% of all lines, comments represent 15.8%, and the repository averages 194 code lines per file. TSX accounts for 41.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TSX | 8,904 | 1,469,795 | 1,258,612 | 62,139 | 149,044 |
| PO File | 50 | 1,806,329 | 892,287 | 554,830 | 359,212 |
| Python | 5,003 | 833,563 | 686,762 | 34,991 | 111,810 |
| TypeScript | 824 | 98,541 | 83,562 | 6,491 | 8,488 |
| JSON | 118 | 73,317 | 73,309 | 0 | 8 |
| YAML | 9 | 19,276 | 15,483 | 134 | 3,659 |
| HTML | 166 | 6,473 | 5,763 | 10 | 700 |
| LESS | 34 | 5,507 | 3,700 | 982 | 825 |
| Modelica | 49 | 3,475 | 3,432 | 43 | 0 |
| SVG | 178 | 3,379 | 3,351 | 2 | 26 |
| TOML | 3 | 2,348 | 2,225 | 78 | 45 |
| Lua | 13 | 1,906 | 1,354 | 311 | 241 |

Top language (TSX 41.5%). Generated at 2026-10-21T03:18:07.985918902+00:00. Canonical report: https://octocounts.com/github/getsentry/sentry

## Reproduce this report

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

## Report FAQ

### How many lines of code does getsentry/sentry have?

getsentry/sentry has 4,362,220 total lines, including 3,031,503 code lines, 691,248 comment lines, and 639,469 blank lines.

### How was the getsentry/sentry line count measured?

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

### What commit was counted for getsentry/sentry?

This OctoCounts report was generated from master at commit d4ac7c872436 on 2026-10-21T03:18:07.985918902+00:00.

## Similar repository reports

- [wecode-ai/Wegent](https://octocounts.com/github/wecode-ai/Wegent) — TSX, 1,951,087 code lines
- [appwrite/appwrite](https://octocounts.com/github/appwrite/appwrite) — TSX, 1,307,483 code lines
- [supabase/supabase](https://octocounts.com/github/supabase/supabase) — TSX, 1,036,928 code lines
- [facebook/astryx](https://octocounts.com/github/facebook/astryx) — TSX, 978,533 code lines
- [shadcn-ui/ui](https://octocounts.com/github/shadcn-ui/ui) — TSX, 692,487 code lines
- [TryGhost/Ghost](https://octocounts.com/github/TryGhost/Ghost) — TSX, 684,923 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)
