gohugoio/hugo has 185,937 source lines of code out of 259,973 total lines across 1,120 files, counted with tokei from the master ref at commit 7a15e87270b5 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
gohugoio/hugo: 185,937 code lines at commit 7a15e87270b5, counted with tokei-15.0.0 on 2026-11-14. Saved result b369bdd7e14313735debae3aa34ef0a3eebe9ce7edce2dc67b5ed574e52e80a3.
OctoCounts produced this report by resolving gohugoio/hugo to commit 7a15e87270b5, 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.
This is a large codebase by counted code lines. Code represents 71.5% of all lines, comments represent 14.7%, and the repository averages 166 code lines per file. Go accounts for 94.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Go | 913 | 234044 | 175997 | 26637 | 31410 |
| JavaScript | 11 | 4307 | 3699 | 326 | 282 |
| C | 3 | 4241 | 3650 | 161 | 430 |
| HTML | 45 | 1461 | 1377 | 0 | 84 |
| YAML | 2 | 448 | 406 | 18 | 24 |
| Makefile | 4 | 391 | 266 | 58 | 67 |
| C Header | 1 | 274 | 142 | 89 | 43 |
| Shell | 10 | 200 | 128 | 32 | 40 |
| XML | 4 | 105 | 103 | 0 | 2 |
| Dockerfile | 1 | 94 | 56 | 20 | 18 |
| 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 | 11206 | 0 | 8328 | 2878 |
| Plain Text | 91 | 3082 | 0 | 2648 | 434 |
Top language: Go 94.7%. Generated on .
gohugoio/hugo: 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.
gohugoio/hugo has 185,937 lines of code, plus 38,317 comment lines and 35,719 blank lines, for 259,973 total lines at commit 7a15e87270b5 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 7a15e87270b5, 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 7a15e87270b5 on November 14, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for gohugoio/hugo on this page — 185,937 code lines across 17 languages, counted by tokei.