# coder/coder SLOC report

> As of 2026-10-22 (commit 3c83820887e1), coder/coder contains 1,847,585 total lines: 1,533,129 code, 138,675 comments, 175,781 blank, across 7,191 files in 27 languages (top: Go 64.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

coder/coder has 1,533,129 source lines of code out of 1,847,585 total lines across 7,191 files, counted from the main ref at commit 3c83820887e1 by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving coder/coder to commit 3c83820887e1, 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 83.0% of all lines, comments represent 7.5%, and the repository averages 213 code lines per file. Go accounts for 64.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 2,977 | 1,223,070 | 995,618 | 100,148 | 127,304 |
| TSX | 1,549 | 290,431 | 259,904 | 9,316 | 21,211 |
| TypeScript | 577 | 125,040 | 100,457 | 12,941 | 11,642 |
| JSON | 144 | 85,037 | 85,037 | 0 | 0 |
| SQL | 1,352 | 52,256 | 41,735 | 5,999 | 4,522 |
| YAML | 56 | 27,153 | 21,357 | 871 | 4,925 |
| HCL | 89 | 10,815 | 9,090 | 610 | 1,115 |
| Shell | 105 | 10,120 | 7,251 | 1,515 | 1,354 |
| SVG | 166 | 2,691 | 2,691 | 0 | 0 |
| Templ | 31 | 2,467 | 2,272 | 8 | 187 |
| Protocol Buffers | 8 | 2,604 | 1,823 | 434 | 347 |
| JavaScript | 8 | 1,776 | 1,376 | 218 | 182 |

Top language (Go 64.9%). Generated at 2026-10-22T06:19:29.588053592+00:00. Canonical report: https://octocounts.com/github/coder/coder

## Reproduce this report

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

## Report FAQ

### How many lines of code does coder/coder have?

coder/coder has 1,847,585 total lines, including 1,533,129 code lines, 138,675 comment lines, and 175,781 blank lines.

### How was the coder/coder line count measured?

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

### What commit was counted for coder/coder?

This OctoCounts report was generated from main at commit 3c83820887e1 on 2026-10-22T06:19:29.588053592+00:00.

## Similar repository reports

- [coze-dev/coze-studio](https://octocounts.com/github/coze-dev/coze-studio) — Go, 1,533,916 code lines
- [apache/plc4x](https://octocounts.com/github/apache/plc4x) — Go, 1,524,759 code lines
- [milvus-io/milvus](https://octocounts.com/github/milvus-io/milvus) — Go, 1,894,109 code lines
- [openmeterio/openmeter](https://octocounts.com/github/openmeterio/openmeter) — Go, 1,240,382 code lines
- [sourcegraph/sourcegraph-public-snapshot](https://octocounts.com/github/sourcegraph/sourcegraph-public-snapshot) — Go, 1,949,533 code lines
- [OrchestratorInc/agent-orchestrator](https://octocounts.com/github/OrchestratorInc/agent-orchestrator) — Go, 1,152,377 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)
- [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)
- [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)
