As of 2026-09-08 (commit 4a58a9fa2e1c), bitwarden/server contains 1,790,606 total lines: 1,318,736 code, 34,045 comments, 437,825 blank, across 5,996 files in 18 languages (top: C# 86.5%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving bitwarden/server to commit 4a58a9fa2e1c, 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.6% of all lines, comments represent 1.9%, and the repository averages 220 code lines per file. C# accounts for 86.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C# | 4182 | 1586069 | 1140932 | 24269 | 420868 |
| SQL | 1245 | 107924 | 96919 | 2812 | 8193 |
| JSON | 123 | 51249 | 51249 | 0 | 0 |
| Handlebars | 191 | 23957 | 16716 | 1714 | 5527 |
| Razor | 64 | 4451 | 4125 | 25 | 301 |
| Rust | 7 | 4052 | 3736 | 38 | 278 |
| JavaScript | 17 | 1366 | 1198 | 44 | 124 |
| MSBuild | 44 | 1077 | 851 | 39 | 187 |
| Shell | 32 | 1106 | 750 | 112 | 244 |
| Dockerfile | 16 | 990 | 637 | 185 | 168 |
| .NET Resource | 1 | 679 | 620 | 59 | 0 |
| PowerShell | 16 | 789 | 597 | 80 | 112 |
Top language (C# 86.5%). Generated at .
bitwarden/server has 1,790,606 total lines, including 1,318,736 code lines, 34,045 comment lines, and 437,825 blank lines.
OctoCounts resolved the public GitHub repository to commit 4a58a9fa2e1c, 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 4a58a9fa2e1c on 2026-09-08T15:36:37.631117851+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: