# getsentry/sentry SLOC report

> getsentry/sentry: 3,152,401 code lines at commit 3585ea541374, counted with tokei-15.0.0 on 2026-11-16. Saved result deb86bb974d7ce50ecbe631f9329069810262adcaac17ae0f9905e78229c3c08.

getsentry/sentry has 3,152,401 source lines of code out of 4,513,093 total lines across 16,306 files, counted with tokei from the master ref at commit 3585ea541374 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving getsentry/sentry to commit 3585ea541374, 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

getsentry/sentry: 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 very large codebase by counted code lines. Code represents 69.9% of all lines, comments represent 15.6%, and the repository averages 193 code lines per file. TSX accounts for 41.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TSX | 9,145 | 1,537,687 | 1,315,812 | 64,022 | 157,853 |
| PO File | 50 | 1,806,329 | 892,287 | 554,830 | 359,212 |
| Python | 5,249 | 886,703 | 731,636 | 37,761 | 117,306 |
| TypeScript | 956 | 119,666 | 100,573 | 9,022 | 10,071 |
| JSON | 124 | 75,843 | 75,835 | 0 | 8 |
| YAML | 10 | 19,548 | 15,736 | 143 | 3,669 |
| HTML | 161 | 6,253 | 5,575 | 7 | 671 |
| Modelica | 49 | 3,475 | 3,432 | 43 | 0 |
| SVG | 180 | 3,450 | 3,422 | 2 | 26 |
| CSS | 20 | 4,298 | 3,012 | 713 | 573 |
| JavaScript | 47 | 3,168 | 2,320 | 616 | 232 |
| Lua | 13 | 1,906 | 1,354 | 311 | 241 |
| TOML | 3 | 542 | 424 | 69 | 49 |
| Makefile | 1 | 312 | 242 | 19 | 51 |
| ReStructuredText | 3 | 282 | 221 | 0 | 61 |
| Templ | 3 | 260 | 213 | 47 | 0 |
| Dockerfile | 1 | 151 | 102 | 16 | 33 |
| Shell | 3 | 121 | 85 | 12 | 24 |
| BASH | 3 | 117 | 84 | 17 | 16 |
| Forge Config | 1 | 36 | 22 | 11 | 3 |
| INI | 1 | 18 | 14 | 3 | 1 |
| MDX | 109 | 21,550 | 0 | 17,773 | 3,777 |
| Markdown | 66 | 9,182 | 0 | 5,948 | 3,234 |
| Plain Text | 108 | 12,196 | 0 | 11,764 | 432 |

Top language: TSX 41.7%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/getsentry/sentry/commit/3585ea541374f8b6eab9f297c2c4040010714f19?reportId=deb86bb974d7ce50ecbe631f9329069810262adcaac17ae0f9905e78229c3c08&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/getsentry/sentry/commit/3585ea541374f8b6eab9f297c2c4040010714f19?reportId=deb86bb974d7ce50ecbe631f9329069810262adcaac17ae0f9905e78229c3c08&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

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

getsentry/sentry has 3,152,401 lines of code, plus 703,149 comment lines and 657,543 blank lines, for 4,513,093 total lines at commit 3585ea541374 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit 3585ea541374, 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 3585ea541374 on November 16, 2026.

## Similar repository reports

- [metabase/metabase](https://octocounts.com/github/metabase/metabase) — TSX, 2,240,553 code lines
- [meta/astryx](https://octocounts.com/github/meta/astryx) — TSX, 1,723,804 code lines
- [appwrite/appwrite](https://octocounts.com/github/appwrite/appwrite) — TSX, 1,568,784 code lines
- [supabase/supabase](https://octocounts.com/github/supabase/supabase) — TSX, 1,099,647 code lines
- [TryGhost/Ghost](https://octocounts.com/github/TryGhost/Ghost) — TSX, 707,332 code lines
- [shadcn-ui/ui](https://octocounts.com/github/shadcn-ui/ui) — TSX, 689,996 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)
