sudo-project/sudo SLOC report

As of 2026-07-10 (commit 2afb054bcc05), sudo-project/sudo contains 428,079 total lines: 257,291 code, 111,474 comments, 59,314 blank, across 882 files in 19 languages (top: C 44.5%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving sudo-project/sudo to commit 2afb054bcc05, 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 60.1% of all lines, comments represent 26.0%, and the repository averages 292 code lines per file. C accounts for 44.5% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C3771526431146102220815825
PO File79175280700347159833648
C Header92260861910752751704
Shell91237011776232072732
Autoconf98180441234033862318
M4231195088432239868
Modelica77753373000233
Happy2305227900262
Lex115891287129173
Puppet3105285711085
Forge Config234338241768841
Python1070553751117

Top language (C 44.5%). Generated at 2026-07-10T11:49:33.559611257+00:00.

Report FAQ

How many lines of code does sudo-project/sudo have?

sudo-project/sudo has 428,079 total lines, including 257,291 code lines, 111,474 comment lines, and 59,314 blank lines.

How was the sudo-project/sudo line count measured?

OctoCounts resolved the public GitHub repository to commit 2afb054bcc05, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for sudo-project/sudo?

This OctoCounts report was generated from main at commit 2afb054bcc05 on 2026-07-10T11:49:33.559611257+00:00.