Debian/apt SLOC report

As of 2026-07-16 (commit 6b128124271e), Debian/apt contains 499,301 total lines: 296,126 code, 133,539 comments, 69,636 blank, across 749 files in 15 languages (top: PO File 62.4%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving Debian/apt to commit 6b128124271e, 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 59.3% of all lines, comments represent 26.7%, and the repository averages 395 code lines per file. PO File accounts for 62.4% of counted code.

LanguageFilesLinesCodeCommentsBlanks
PO File5635292818483411424753847
C++163794326276295067164
Shell342367863092414204442
C Header10716067890748792281
XML186429590248479
CMake2817781267272239
BASH35544892738
Autoconf1226554561606593
Perl12852171949
Python2240199833
C2165140169
YAML1181701

Top language (PO File 62.4%). Generated at 2026-07-16T17:16:41.538800833+00:00.

Report FAQ

How many lines of code does Debian/apt have?

Debian/apt has 499,301 total lines, including 296,126 code lines, 133,539 comment lines, and 69,636 blank lines.

How was the Debian/apt line count measured?

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

What commit was counted for Debian/apt?

This OctoCounts report was generated from main at commit 6b128124271e on 2026-07-16T17:16:41.538800833+00:00.