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.
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 | 228056 | 171161 | 25951 | 30944 |
| JavaScript | 11 | 4302 | 3698 | 323 | 281 |
| C | 3 | 4230 | 3640 | 160 | 430 |
| HTML | 45 | 1461 | 1377 | 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.
gohugoio/hugo has 253,710 total lines, including 181,215 code lines, 37,302 comment lines, and 35,193 blank lines.
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.
This OctoCounts report was generated from master at commit 166d3ee1ce94 on 2026-08-26T18:38:57.395529027+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: