# gohugoio/hugo SLOC report

> As of 2026-08-26 (commit 166d3ee1ce94), gohugoio/hugo contains 253,710 total lines: 181,215 code, 37,302 comments, 35,193 blank, across 1,104 files in 17 languages (top: Go 94.5%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving gohugoio/hugo to commit 166d3ee1ce94, 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.4% of all lines, comments represent 14.7%, and the repository averages 164 code lines per file. Go accounts for 94.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 906 | 228,056 | 171,161 | 25,951 | 30,944 |
| JavaScript | 11 | 4,302 | 3,698 | 323 | 281 |
| C | 3 | 4,230 | 3,640 | 160 | 430 |
| HTML | 45 | 1,461 | 1,377 | 0 | 84 |
| YAML | 2 | 603 | 563 | 16 | 24 |
| Makefile | 3 | 348 | 246 | 41 | 61 |
| C Header | 1 | 274 | 142 | 89 | 43 |
| Shell | 10 | 175 | 113 | 27 | 35 |
| XML | 4 | 105 | 103 | 0 | 2 |
| Dockerfile | 1 | 101 | 59 | 22 | 20 |
| JSON | 5 | 46 | 46 | 0 | 0 |
| CSS | 4 | 31 | 28 | 0 | 3 |

Top language (Go 94.5%). Generated at 2026-08-26T18:38:57.395529027+00:00. Canonical report: https://octocounts.com/github/gohugoio/hugo

## Report FAQ

### How many lines of code does gohugoio/hugo have?

gohugoio/hugo has 253,710 total lines, including 181,215 code lines, 37,302 comment lines, and 35,193 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 166d3ee1ce94, 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 166d3ee1ce94 on 2026-08-26T18:38:57.395529027+00:00.

## Similar repository reports

- [containers/podman](https://octocounts.com/github/containers/podman) — Go, 174,847 code lines
- [Kocoro-lab/Shannon](https://octocounts.com/github/Kocoro-lab/Shannon) — Go, 189,197 code lines
- [evanw/esbuild](https://octocounts.com/github/evanw/esbuild) — Go, 171,984 code lines
- [redis/agent-filesystem](https://octocounts.com/github/redis/agent-filesystem) — Go, 170,387 code lines
- [JuliusBrussee/caveman](https://octocounts.com/github/JuliusBrussee/caveman) — Go, 192,993 code lines
- [juliusbrussee/caveman](https://octocounts.com/github/juliusbrussee/caveman) — Go, 196,184 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)
- [OctoCounts API docs](https://octocounts.com/docs/api)
