systemd/systemd SLOC report

As of 2026-08-13 (commit d66923ea0722), systemd/systemd contains 1,660,847 total lines: 975,310 code, 380,862 comments, 304,675 blank, across 4,123 files in 19 languages (top: C 70.4%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving systemd/systemd to commit d66923ea0722, 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 58.7% of all lines, comments represent 22.9%, and the repository averages 237 code lines per file. C accounts for 70.4% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C159392381668705747506189253
XML485163671142180106120430
C Header1408118671720102834018321
PO File5475928418991846915560
Meson15414308126364861186
Autoconf207153971034224332622
Python44844963087331408
Shell4118631187375301
JSON3974074000
Snakemake39861452197212
XSL23782825640
AWK101421221010

Top language (C 70.4%). Generated at 2026-08-13T09:21:09.709181627+00:00.

Report FAQ

How many lines of code does systemd/systemd have?

systemd/systemd has 1,660,847 total lines, including 975,310 code lines, 380,862 comment lines, and 304,675 blank lines.

How was the systemd/systemd line count measured?

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

What commit was counted for systemd/systemd?

This OctoCounts report was generated from main at commit d66923ea0722 on 2026-08-13T09:21:09.709181627+00:00.

Similar repository reports

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