# drakkan/sftpgo SLOC report

> drakkan/sftpgo: 191,174 code lines at commit a2bc33e5a3e7, counted with tokei-15.0.0 on 2026-11-09. Saved result 911d4ccdc19ba51e5fdb0e7142232ae0bce57c4b3296b00fdfcbb32ee5246b0b.

Source: [drakkan/sftpgo on GitHub](https://github.com/drakkan/sftpgo) · counted commit [a2bc33e5a3e7](https://github.com/drakkan/sftpgo/tree/a2bc33e5a3e7c65493595ea5c379b2f5f371feb6)

drakkan/sftpgo has 191,174 source lines of code out of 222,652 total lines across 364 files, counted with tokei from the main ref at commit a2bc33e5a3e7 on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving drakkan/sftpgo to commit a2bc33e5a3e7, 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

drakkan/sftpgo: 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 large codebase by counted code lines. Code represents 85.9% of all lines, comments represent 7.2%, and the repository averages 525 code lines per file. Go accounts for 84.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 255 | 190,268 | 161,723 | 14,046 | 14,499 |
| HTML | 50 | 11,035 | 9,868 | 700 | 467 |
| YAML | 3 | 8,045 | 8,045 | 0 | 0 |
| JSON | 7 | 7,303 | 7,303 | 0 | 0 |
| SVG | 3 | 2,886 | 2,886 | 0 | 0 |
| JavaScript | 12 | 729 | 613 | 94 | 22 |
| Python | 4 | 412 | 341 | 20 | 51 |
| Shell | 6 | 303 | 226 | 30 | 47 |
| CSS | 5 | 72 | 60 | 9 | 3 |
| PowerShell | 1 | 52 | 47 | 1 | 4 |
| Dockerfile | 1 | 67 | 37 | 7 | 23 |
| TOML | 1 | 33 | 25 | 7 | 1 |
| Markdown | 14 | 716 | 0 | 504 | 212 |
| Plain Text | 2 | 731 | 0 | 586 | 145 |

Top language: Go 84.6%. Generated on November 9, 2026. Canonical report: https://octocounts.com/github/drakkan/sftpgo/commit/a2bc33e5a3e7c65493595ea5c379b2f5f371feb6?reportId=911d4ccdc19ba51e5fdb0e7142232ae0bce57c4b3296b00fdfcbb32ee5246b0b&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/drakkan/sftpgo/commit/a2bc33e5a3e7c65493595ea5c379b2f5f371feb6?reportId=911d4ccdc19ba51e5fdb0e7142232ae0bce57c4b3296b00fdfcbb32ee5246b0b&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 drakkan/sftpgo have?

drakkan/sftpgo has 191,174 lines of code, plus 16,004 comment lines and 15,474 blank lines, for 222,652 total lines at commit a2bc33e5a3e7 on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the drakkan/sftpgo line count measured?

OctoCounts resolved the public GitHub repository to commit a2bc33e5a3e7, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for drakkan/sftpgo?

This OctoCounts report was generated from main at commit a2bc33e5a3e7 on November 9, 2026.

## Similar repository reports

- [jundizhou/easy-stock](https://octocounts.com/github/jundizhou/easy-stock) — Go, 193,588 code lines
- [googleapis/mcp-toolbox](https://octocounts.com/github/googleapis/mcp-toolbox) — Go, 193,978 code lines
- [usememos/memos](https://octocounts.com/github/usememos/memos) — Go, 189,935 code lines
- [cockroachdb/pebble](https://octocounts.com/github/cockroachdb/pebble) — Go, 189,254 code lines
- [juanfont/headscale](https://octocounts.com/github/juanfont/headscale) — Go, 187,235 code lines
- [MengMengCode/VoCat](https://octocounts.com/github/MengMengCode/VoCat) — Go, 197,785 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)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [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)
