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.
bitwarden/server: 1,436,650 code lines at commit 9ef685395cfe, counted with tokei-14.0.0 on 2026-10-23. Saved result 075f79bbdd3945460ab1b59e6b4fb58e166974f1707d358229f18bb696d15abf.
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.
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# | 4541 | 1729733 | 1243275 | 27599 | 458859 |
| SQL | 1341 | 117471 | 105267 | 3370 | 8834 |
| JSON | 123 | 53974 | 53974 | 0 | 0 |
| Handlebars | 205 | 29729 | 20637 | 2087 | 7005 |
| Razor | 66 | 4568 | 4234 | 25 | 309 |
| Rust | 8 | 4090 | 3765 | 38 | 287 |
| JavaScript | 17 | 1406 | 1221 | 58 | 127 |
| Shell | 34 | 1584 | 1104 | 187 | 293 |
| MSBuild | 44 | 1080 | 854 | 39 | 187 |
| Dockerfile | 20 | 1069 | 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 | 6420 | 0 | 4570 | 1850 |
| Plain Text | 10 | 876 | 0 | 727 | 149 |
Top language (C# 86.5%). Generated at .
bitwarden/server has 1,953,938 total lines, including 1,436,650 code lines, 39,031 comment lines, and 478,257 blank lines.
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.
This OctoCounts report was generated from main at commit 9ef685395cfe on 2026-10-23T08:09:34.997387683Z.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for bitwarden/server on this page — 1,436,650 code lines across 18 languages, counted by tokei.