# go-gitea/gitea SLOC report

> go-gitea/gitea: 573,024 code lines at commit 6b252ca3a9ac, counted with tokei-14.0.0 on 2026-10-16. Saved result a213e7d6e94eb100a8cff636b28b97d3951a97f41bb3690a2e8cb055d7f55882.

go-gitea/gitea has 573,024 source lines of code out of 688,833 total lines across 4,024 files, counted from the main ref at commit 6b252ca3a9ac by the OctoCounts tokei engine on 2026-10-16. 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 go-gitea/gitea to commit 6b252ca3a9ac, 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 large codebase by counted code lines. Code represents 83.2% of all lines, comments represent 7.7%, and the repository averages 142 code lines per file. Go accounts for 58.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 2,859 | 435,059 | 333,995 | 46,516 | 54,548 |
| JSON | 51 | 169,050 | 169,041 | 0 | 9 |
| Templ | 590 | 28,992 | 27,568 | 573 | 851 |
| TypeScript | 236 | 23,039 | 19,329 | 1,453 | 2,257 |
| CSS | 92 | 14,413 | 12,050 | 408 | 1,955 |
| YAML | 39 | 9,557 | 7,768 | 3 | 1,786 |
| SVG | 69 | 597 | 593 | 2 | 2 |
| Jsonnet | 7 | 577 | 549 | 8 | 20 |
| Makefile | 2 | 688 | 525 | 19 | 144 |
| Shell | 16 | 758 | 522 | 110 | 126 |
| Vue | 23 | 479 | 428 | 14 | 37 |
| BASH | 12 | 342 | 228 | 64 | 50 |
| INI | 3 | 3,240 | 109 | 2,991 | 140 |
| Nix | 1 | 94 | 79 | 6 | 9 |
| Dockerfile | 1 | 86 | 62 | 9 | 15 |
| Protocol Buffers | 1 | 76 | 62 | 0 | 14 |
| LESS | 1 | 85 | 53 | 18 | 14 |
| XML | 1 | 46 | 40 | 0 | 6 |
| TOML | 2 | 25 | 23 | 0 | 2 |
| Jupyter Notebooks | 1 | 0 | 0 | 0 | 0 |
| Markdown | 16 | 1,586 | 0 | 1,098 | 488 |
| Plain Text | 1 | 44 | 0 | 36 | 8 |

Top language (Go 58.3%). Generated at 2026-10-16T16:57:16.705741713Z. Canonical report: https://octocounts.com/github/go-gitea/gitea/commit/6b252ca3a9ac5bc7cde049550e6b22e595c98c3b?reportId=a213e7d6e94eb100a8cff636b28b97d3951a97f41bb3690a2e8cb055d7f55882&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/go-gitea/gitea/commit/6b252ca3a9ac5bc7cde049550e6b22e595c98c3b?reportId=a213e7d6e94eb100a8cff636b28b97d3951a97f41bb3690a2e8cb055d7f55882&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 go-gitea/gitea have?

go-gitea/gitea has 688,833 total lines, including 573,024 code lines, 53,328 comment lines, and 62,481 blank lines.

### How was the go-gitea/gitea line count measured?

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

### What commit was counted for go-gitea/gitea?

This OctoCounts report was generated from main at commit 6b252ca3a9ac on 2026-10-16T16:57:16.705741713Z.

## Similar repository reports

- [tx7do/go-wind-admin](https://octocounts.com/github/tx7do/go-wind-admin) — Go, 591,140 code lines
- [AgentsMesh/AgentsMesh](https://octocounts.com/github/AgentsMesh/AgentsMesh) — Go, 592,385 code lines
- [strelov1/freehire](https://octocounts.com/github/strelov1/freehire) — Go, 598,085 code lines
- [hashicorp/terraform](https://octocounts.com/github/hashicorp/terraform) — Go, 600,461 code lines
- [dydxprotocol/v4-chain](https://octocounts.com/github/dydxprotocol/v4-chain) — Go, 615,669 code lines
- [openbao/openbao](https://octocounts.com/github/openbao/openbao) — Go, 537,839 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)
