# go-gitea/gitea SLOC report

> go-gitea/gitea: 576,855 code lines at commit 565f1b7d52f7, counted with tokei-15.0.0 on 2026-11-05. Saved result 2c22bc47b74fcce114393fb0b8345d7377237e0d5d5db3035c630e69d11dcfe1.

go-gitea/gitea has 576,855 source lines of code out of 692,682 total lines across 4,097 files, counted with tokei from the main ref at commit 565f1b7d52f7 on November 5, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving go-gitea/gitea to commit 565f1b7d52f7, 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

go-gitea/gitea: 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 83.3% of all lines, comments represent 7.7%, and the repository averages 141 code lines per file. Go accounts for 58.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 2,913 | 437,966 | 337,201 | 46,156 | 54,609 |
| JSON | 51 | 168,807 | 168,798 | 0 | 9 |
| Templ | 600 | 29,149 | 27,721 | 573 | 855 |
| TypeScript | 239 | 23,636 | 19,875 | 1,435 | 2,326 |
| CSS | 93 | 14,475 | 12,105 | 404 | 1,966 |
| YAML | 39 | 9,594 | 7,798 | 3 | 1,793 |
| SVG | 70 | 598 | 594 | 2 | 2 |
| Jsonnet | 7 | 577 | 549 | 8 | 20 |
| Shell | 16 | 769 | 531 | 111 | 127 |
| Makefile | 2 | 678 | 516 | 20 | 142 |
| Vue | 26 | 564 | 506 | 17 | 41 |
| BASH | 12 | 342 | 228 | 64 | 50 |
| INI | 3 | 3,247 | 109 | 2,998 | 140 |
| Nix | 1 | 94 | 79 | 6 | 9 |
| Dockerfile | 1 | 90 | 66 | 9 | 15 |
| Protocol Buffers | 1 | 76 | 62 | 0 | 14 |
| LESS | 1 | 85 | 53 | 18 | 14 |
| XML | 1 | 46 | 40 | 0 | 6 |
| TOML | 2 | 26 | 24 | 0 | 2 |
| Jupyter Notebooks | 1 | 0 | 0 | 0 | 0 |
| Markdown | 17 | 1,819 | 0 | 1,251 | 568 |
| Plain Text | 1 | 44 | 0 | 36 | 8 |

Top language: Go 58.5%. Generated on November 5, 2026. Canonical report: https://octocounts.com/github/go-gitea/gitea/commit/565f1b7d52f79b5858eeb8255e9ba1b810dab0be?reportId=2c22bc47b74fcce114393fb0b8345d7377237e0d5d5db3035c630e69d11dcfe1&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/565f1b7d52f79b5858eeb8255e9ba1b810dab0be?reportId=2c22bc47b74fcce114393fb0b8345d7377237e0d5d5db3035c630e69d11dcfe1&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 576,855 lines of code, plus 53,111 comment lines and 62,716 blank lines, for 692,682 total lines at commit 565f1b7d52f7 on November 5, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit 565f1b7d52f7, 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 565f1b7d52f7 on November 5, 2026.

## Similar repository reports

- [AgentsMesh/AgentsMesh](https://octocounts.com/github/AgentsMesh/AgentsMesh) — Go, 592,385 code lines
- [ollama/ollama](https://octocounts.com/github/ollama/ollama) — Go, 556,828 code lines
- [mhsse213es/BAS](https://octocounts.com/github/mhsse213es/BAS) — Go, 602,392 code lines
- [hashicorp/terraform](https://octocounts.com/github/hashicorp/terraform) — Go, 605,286 code lines
- [wolfymaster/woofx3](https://octocounts.com/github/wolfymaster/woofx3) — Go, 546,108 code lines
- [tx7do/go-wind-admin](https://octocounts.com/github/tx7do/go-wind-admin) — Go, 614,478 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)
- [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)
