# bitwarden/server SLOC report

> bitwarden/server: 1,436,650 code lines at commit 9ef685395cfe, counted with tokei-14.0.0 on 2026-10-23. Saved result 075f79bbdd3945460ab1b59e6b4fb58e166974f1707d358229f18bb696d15abf.

bitwarden/server has 1,436,650 source lines of code out of 1,953,938 total lines across 6,477 files, counted from the main ref at commit 9ef685395cfe by the OctoCounts tokei engine on 2026-10-23. 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 bitwarden/server to commit 9ef685395cfe, 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 73.5% of all lines, comments represent 2.0%, and the repository averages 222 code lines per file. C# accounts for 86.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C# | 4,541 | 1,729,733 | 1,243,275 | 27,599 | 458,859 |
| SQL | 1,341 | 117,471 | 105,267 | 3,370 | 8,834 |
| JSON | 123 | 53,974 | 53,974 | 0 | 0 |
| Handlebars | 205 | 29,729 | 20,637 | 2,087 | 7,005 |
| Razor | 66 | 4,568 | 4,234 | 25 | 309 |
| Rust | 8 | 4,090 | 3,765 | 38 | 287 |
| JavaScript | 17 | 1,406 | 1,221 | 58 | 127 |
| Shell | 34 | 1,584 | 1,104 | 187 | 293 |
| MSBuild | 44 | 1,080 | 854 | 39 | 187 |
| Dockerfile | 20 | 1,069 | 694 | 189 | 186 |
| .NET Resource | 1 | 679 | 620 | 59 | 0 |
| PowerShell | 16 | 789 | 597 | 80 | 112 |
| Sass | 3 | 188 | 157 | 0 | 31 |
| YAML | 1 | 157 | 145 | 0 | 12 |
| CSS | 1 | 90 | 80 | 0 | 10 |
| TOML | 2 | 35 | 26 | 3 | 6 |
| Markdown | 44 | 6,420 | 0 | 4,570 | 1,850 |
| Plain Text | 10 | 876 | 0 | 727 | 149 |

Top language (C# 86.5%). Generated at 2026-10-23T08:09:34.997387683Z. Canonical report: https://octocounts.com/github/bitwarden/server/commit/9ef685395cfe40d36b719405045ce0080e77a3d5?reportId=075f79bbdd3945460ab1b59e6b4fb58e166974f1707d358229f18bb696d15abf&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/bitwarden/server/commit/9ef685395cfe40d36b719405045ce0080e77a3d5?reportId=075f79bbdd3945460ab1b59e6b4fb58e166974f1707d358229f18bb696d15abf&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 bitwarden/server have?

bitwarden/server has 1,953,938 total lines, including 1,436,650 code lines, 39,031 comment lines, and 478,257 blank lines.

### How was the bitwarden/server line count measured?

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

### What commit was counted for bitwarden/server?

This OctoCounts report was generated from main at commit 9ef685395cfe on 2026-10-23T08:09:34.997387683Z.

## Similar repository reports

- [unoplatform/uno](https://octocounts.com/github/unoplatform/uno) — C#, 1,725,640 code lines
- [Epi-Info/Epi-Info-Community-Edition](https://octocounts.com/github/Epi-Info/Epi-Info-Community-Edition) — C#, 1,048,007 code lines
- [microsoft/PowerToys](https://octocounts.com/github/microsoft/PowerToys) — C#, 906,750 code lines
- [abpframework/abp](https://octocounts.com/github/abpframework/abp) — C#, 832,458 code lines
- [stride3d/stride](https://octocounts.com/github/stride3d/stride) — C#, 775,413 code lines
- [dotnet/aspnetcore](https://octocounts.com/github/dotnet/aspnetcore) — C#, 674,817 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)
