# gohugoio/hugo SLOC report

> gohugoio/hugo: 185,060 code lines at commit 77230eba0469, counted with tokei-14.0.0 on 2026-10-20. Saved result d2c08aa9ce08429b5378e64379689b7c406a7815b7532bd1ff0e645cec9dabf1.

gohugoio/hugo has 185,060 source lines of code out of 258,976 total lines across 1,115 files, counted from the master ref at commit 77230eba0469 by the OctoCounts tokei engine on 2026-10-20. 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 gohugoio/hugo to commit 77230eba0469, 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 71.5% of all lines, comments represent 14.8%, and the repository averages 166 code lines per file. Go accounts for 94.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 916 | 232,921 | 174,966 | 26,552 | 31,403 |
| JavaScript | 11 | 4,307 | 3,699 | 326 | 282 |
| C | 3 | 4,241 | 3,650 | 161 | 430 |
| HTML | 45 | 1,461 | 1,377 | 0 | 84 |
| YAML | 2 | 604 | 564 | 16 | 24 |
| Makefile | 4 | 363 | 259 | 40 | 64 |
| C Header | 1 | 274 | 142 | 89 | 43 |
| Shell | 10 | 200 | 128 | 32 | 40 |
| XML | 4 | 105 | 103 | 0 | 2 |
| Dockerfile | 1 | 101 | 59 | 22 | 20 |
| JSON | 5 | 46 | 46 | 0 | 0 |
| CSS | 4 | 31 | 28 | 0 | 3 |
| Templ | 8 | 20 | 20 | 0 | 0 |
| Sass | 2 | 13 | 11 | 0 | 2 |
| SVG | 2 | 10 | 8 | 0 | 2 |
| Markdown | 14 | 11,419 | 0 | 8,529 | 2,890 |
| Plain Text | 83 | 2,860 | 0 | 2,453 | 407 |

Top language (Go 94.5%). Generated at 2026-10-20T19:52:13.431579854Z. Canonical report: https://octocounts.com/github/gohugoio/hugo/commit/77230eba0469604d28434a8eacee868f3274e6ac?reportId=d2c08aa9ce08429b5378e64379689b7c406a7815b7532bd1ff0e645cec9dabf1&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/gohugoio/hugo/commit/77230eba0469604d28434a8eacee868f3274e6ac?reportId=d2c08aa9ce08429b5378e64379689b7c406a7815b7532bd1ff0e645cec9dabf1&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 gohugoio/hugo have?

gohugoio/hugo has 258,976 total lines, including 185,060 code lines, 38,220 comment lines, and 35,696 blank lines.

### How was the gohugoio/hugo line count measured?

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

### What commit was counted for gohugoio/hugo?

This OctoCounts report was generated from master at commit 77230eba0469 on 2026-10-20T19:52:13.431579854Z.

## Similar repository reports

- [Lychee-Technology/forma](https://octocounts.com/github/Lychee-Technology/forma) — Go, 184,858 code lines
- [owncast/owncast](https://octocounts.com/github/owncast/owncast) — Go, 182,187 code lines
- [kubernetes-sigs/agent-sandbox](https://octocounts.com/github/kubernetes-sigs/agent-sandbox) — Go, 188,412 code lines
- [podman-container-tools/podman](https://octocounts.com/github/podman-container-tools/podman) — Go, 180,196 code lines
- [Quad4-Software/Reticulum-Go](https://octocounts.com/github/Quad4-Software/Reticulum-Go) — Go, 193,528 code lines
- [trefeon/freebucks-proxy](https://octocounts.com/github/trefeon/freebucks-proxy) — Go, 175,392 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)
