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.
As of 2026-10-23 (commit 9ef685395cfe), bitwarden/server contains 1,953,938 total lines: 1,436,650 code, 39,031 comments, 478,257 blank, across 6,477 files in 18 languages (top: C# 86.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
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 |
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.997387683+00:00.
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 12 languages, counted by tokei.