# bitwarden/server SLOC report

> bitwarden/server: 1,458,115 code lines at commit 462476e92ee9, counted with tokei-15.0.0 on 2026-11-16. Saved result 710c36277912927699f1ea339ec9ada606676f7d8bb13b12735cf3c74fe4380e.

bitwarden/server has 1,458,115 source lines of code out of 1,983,657 total lines across 6,647 files, counted with tokei from the main ref at commit 462476e92ee9 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving bitwarden/server to commit 462476e92ee9, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

bitwarden/server: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a very large codebase by counted code lines. Code represents 73.5% of all lines, comments represent 2.1%, and the repository averages 219 code lines per file. C# accounts for 86.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C# | 4,684 | 1,754,647 | 1,261,025 | 29,405 | 464,217 |
| SQL | 1,350 | 119,729 | 107,325 | 3,462 | 8,942 |
| JSON | 128 | 54,626 | 54,626 | 0 | 0 |
| Handlebars | 209 | 30,905 | 21,554 | 2,159 | 7,192 |
| Razor | 66 | 4,602 | 4,261 | 28 | 313 |
| Rust | 8 | 4,090 | 3,765 | 38 | 287 |
| JavaScript | 17 | 1,406 | 1,221 | 58 | 127 |
| Shell | 34 | 1,584 | 1,104 | 187 | 293 |
| MSBuild | 49 | 1,157 | 915 | 41 | 201 |
| Dockerfile | 20 | 1,069 | 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 | 48 | 7,028 | 0 | 5,045 | 1,983 |
| Plain Text | 10 | 876 | 0 | 727 | 149 |

Top language: C# 86.5%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/bitwarden/server/commit/462476e92ee9bb608a94fa2f30d5f0fe5021b6d1?reportId=710c36277912927699f1ea339ec9ada606676f7d8bb13b12735cf3c74fe4380e&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/bitwarden/server/commit/462476e92ee9bb608a94fa2f30d5f0fe5021b6d1?reportId=710c36277912927699f1ea339ec9ada606676f7d8bb13b12735cf3c74fe4380e&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does bitwarden/server have?

bitwarden/server has 1,458,115 lines of code, plus 41,481 comment lines and 484,061 blank lines, for 1,983,657 total lines at commit 462476e92ee9 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the bitwarden/server line count measured?

OctoCounts resolved the public GitHub repository to commit 462476e92ee9, 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 462476e92ee9 on November 16, 2026.

## Similar repository reports

- [unoplatform/uno](https://octocounts.com/github/unoplatform/uno) — C#, 1,753,601 code lines
- [sebastienros/jint](https://octocounts.com/github/sebastienros/jint) — C#, 1,202,941 code lines
- [jhaizhou-ops/S2Arm](https://octocounts.com/github/jhaizhou-ops/S2Arm) — C#, 1,042,283 code lines
- [stride3d/stride](https://octocounts.com/github/stride3d/stride) — C#, 963,050 code lines
- [microsoft/PowerToys](https://octocounts.com/github/microsoft/PowerToys) — C#, 954,873 code lines
- [abpframework/abp](https://octocounts.com/github/abpframework/abp) — C#, 834,902 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
