gohugoio/hugo

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.

As of 2026-11-14 (commit 7a15e87270b5), gohugoio/hugo contains 259,973 total lines: 185,937 code, 38,317 comments, 35,719 blank, across 1,120 files in 17 languages (top language: Go 94.7%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-14 (commit 7a15e87270b5), gohugoio/hugo contains 259,973 total lines: 185,937 code, 38,317 comments, 35,719 blank, across 1,120 files in 17 languages (top language: Go 94.7%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
Go9132340441759972663731410
JavaScript1143073699326282
C342413650161430
HTML4514611377084
YAML24484061824
Makefile43912665867
C Header12741428943
Shell102001283240
XML410510302
Dockerfile194562018
JSON5464600
CSS4312803

Top language: Go 94.7%. Generated on .

Counting rules and retention

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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does gohugoio/hugo have?

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.

How was the gohugoio/hugo line count measured?

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.

What commit was counted for gohugoio/hugo?

This OctoCounts report was generated from master at commit 7a15e87270b5 on November 14, 2026.

Play the growth animation for gohugoio/hugo on this page — 185,937 code lines across 17 languages, counted by tokei.