Debian/apt

Debian/apt has 161,628 source lines of code out of 306,702 total lines across 312 files, counted with tokei from the main ref at commit 6b128124271e on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

Debian/apt: 161,628 code lines at commit 6b128124271e, counted with tokei-15.0.0 on 2026-11-13. Saved result 6a0f9d6f6228aa5a316b3f283e98a4e105932ae3bbe0a8c24be915f6a56c93ca.

OctoCounts produced this report by resolving Debian/apt to commit 6b128124271e, 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 52.7% of all lines, comments represent 30.9%, and the repository averages 518 code lines per file. C++ is the largest programming language at 34.7% of counted code; data and prose formats such as JSON or YAML hold a larger share.

LanguageFilesLinesCodeCommentsBlanks
PO File46215776944557999041331
C++118716885609092326366
C Header10415953881648682269
CMake2315781097265216
BASH35544892738
Perl12852171949
Python2240199833
C1120102162
Autoconf8214967741
Shell3503857
YAML1181701
Dockerfile1121200
Markdown1214016153

Top programming language: C++ 34.7%. Generated on .

Counting rules and retention

Debian/apt: 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 Debian/apt have?

Debian/apt has 161,628 lines of code, plus 94,668 comment lines and 50,406 blank lines, for 306,702 total lines at commit 6b128124271e on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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 November 13, 2026.

Similar repository reports

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

Play the growth animation for Debian/apt on this page — 161,628 code lines across 13 languages, counted by tokei.