# gin-gonic/gin SLOC report

> As of 2026-09-15 (commit 45b805f6d59b), gin-gonic/gin contains 23,588 total lines: 16,080 code, 4,065 comments, 3,443 blank, across 109 files in 7 languages (top: Go 99.3%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

gin-gonic/gin has 16,080 source lines of code out of 23,588 total lines across 109 files, counted from the 45b805f6d59ba0b4f315adffe81ed4a82a51a591 ref at commit 45b805f6d59b by the OctoCounts tokei engine on 2026-09-15. 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 gin-gonic/gin to commit 45b805f6d59b, 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 medium-sized codebase by counted code lines. Code represents 68.2% of all lines, comments represent 17.2%, and the repository averages 148 code lines per file. Go accounts for 99.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 95 | 21,497 | 15,970 | 2,334 | 3,193 |
| Makefile | 1 | 106 | 87 | 9 | 10 |
| YAML | 1 | 13 | 11 | 0 | 2 |
| Protocol Buffers | 1 | 12 | 10 | 0 | 2 |
| Templ | 2 | 2 | 2 | 0 | 0 |
| Markdown | 8 | 1,956 | 0 | 1,720 | 236 |
| Plain Text | 1 | 2 | 0 | 2 | 0 |

Top language (Go 99.3%). Generated at 2026-09-15T20:55:57.178348090+00:00. Canonical report: https://octocounts.com/github/gin-gonic/gin

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/gin-gonic/gin/commit/45b805f6d59ba0b4f315adffe81ed4a82a51a591?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).

## Report FAQ

### How many lines of code does gin-gonic/gin have?

gin-gonic/gin has 23,588 total lines, including 16,080 code lines, 4,065 comment lines, and 3,443 blank lines.

### How was the gin-gonic/gin line count measured?

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

### What commit was counted for gin-gonic/gin?

This OctoCounts report was generated from 45b805f6d59ba0b4f315adffe81ed4a82a51a591 at commit 45b805f6d59b on 2026-09-15T20:55:57.178348090+00:00.

## Similar repository reports

- [geektutu/7days-golang](https://octocounts.com/github/geektutu/7days-golang) — Go, 15,970 code lines
- [xyzmean/xsteer](https://octocounts.com/github/xyzmean/xsteer) — Go, 15,896 code lines
- [etcd-io/raft](https://octocounts.com/github/etcd-io/raft) — Go, 16,421 code lines
- [uber-go/zap](https://octocounts.com/github/uber-go/zap) — Go, 16,532 code lines
- [XiaoChenChris/-Feed-AI-](https://octocounts.com/github/XiaoChenChris/-Feed-AI-) — Go, 16,747 code lines
- [iamtew/subotto](https://octocounts.com/github/iamtew/subotto) — Go, 17,323 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)
