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.

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.

LanguageFilesLinesCodeCommentsBlanks
Go9062280561711612595130944
JavaScript1143023698323281
C342303640160430
HTML4514611377084
YAML26035631624
Makefile33482464161
C Header12741428943
Shell101751132735
XML410510302
Dockerfile1101592220
JSON5464600
CSS4312803

Top language (Go 94.5%). Generated at 2026-08-26T18:38:57.395529027+00:00.

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

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: