As of 2026-08-22 (commit ac309aa19ed3), bitwarden/server contains 1,767,085 total lines: 1,301,801 code, 32,097 comments, 433,187 blank, across 5,864 files in 18 languages (top: C# 86.6%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving bitwarden/server to commit ac309aa19ed3, 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.7% of all lines, comments represent 1.8%, and the repository averages 222 code lines per file. C# accounts for 86.6% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C# | 4072 | 1566785 | 1127874 | 22532 | 416379 |
| SQL | 1232 | 106934 | 96082 | 2741 | 8111 |
| JSON | 120 | 48255 | 48255 | 0 | 0 |
| Handlebars | 191 | 23959 | 16718 | 1714 | 5527 |
| Razor | 64 | 4451 | 4125 | 25 | 301 |
| Rust | 7 | 4052 | 3736 | 38 | 278 |
| JavaScript | 17 | 1366 | 1198 | 44 | 124 |
| MSBuild | 41 | 1019 | 806 | 39 | 174 |
| Shell | 32 | 1094 | 744 | 107 | 243 |
| Dockerfile | 16 | 990 | 637 | 185 | 168 |
| .NET Resource | 1 | 682 | 623 | 59 | 0 |
| PowerShell | 16 | 789 | 597 | 80 | 112 |
Top language (C# 86.6%). Generated at 2026-08-22T03:32:03.460891765+00:00.
bitwarden/server has 1,767,085 total lines, including 1,301,801 code lines, 32,097 comment lines, and 433,187 blank lines.
OctoCounts resolved the public GitHub repository to commit ac309aa19ed3, 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 ac309aa19ed3 on 2026-08-22T03:32:03.460891765+00:00.