bitwarden/server SLOC report

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
C#40721566785112787422532416379
SQL12321069349608227418111
JSON120482554825500
Handlebars191239591671817145527
Razor644451412525301
Rust74052373638278
JavaScript171366119844124
MSBuild41101980639174
Shell321094744107243
Dockerfile16990637185168
.NET Resource1682623590
PowerShell1678959780112

Top language (C# 86.6%). Generated at 2026-08-22T03:32:03.460891765+00:00.

Report FAQ

How many lines of code does bitwarden/server have?

bitwarden/server has 1,767,085 total lines, including 1,301,801 code lines, 32,097 comment lines, and 433,187 blank lines.

How was the bitwarden/server line count measured?

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.

What commit was counted for bitwarden/server?

This OctoCounts report was generated from main at commit ac309aa19ed3 on 2026-08-22T03:32:03.460891765+00:00.