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.
As of 2026-11-13 (commit 6b128124271e), Debian/apt contains 306,702 total lines: 161,628 code, 94,668 comments, 50,406 blank, across 312 files in 13 languages (top programming language: C++ 34.7%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
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.
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.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| PO File | 46 | 215776 | 94455 | 79990 | 41331 |
| C++ | 118 | 71688 | 56090 | 9232 | 6366 |
| C Header | 104 | 15953 | 8816 | 4868 | 2269 |
| CMake | 23 | 1578 | 1097 | 265 | 216 |
| BASH | 3 | 554 | 489 | 27 | 38 |
| Perl | 1 | 285 | 217 | 19 | 49 |
| Python | 2 | 240 | 199 | 8 | 33 |
| C | 1 | 120 | 102 | 16 | 2 |
| Autoconf | 8 | 214 | 96 | 77 | 41 |
| Shell | 3 | 50 | 38 | 5 | 7 |
| YAML | 1 | 18 | 17 | 0 | 1 |
| Dockerfile | 1 | 12 | 12 | 0 | 0 |
Top programming language: C++ 34.7%. Generated on .
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.
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.
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.
This OctoCounts report was generated from main at commit 6b128124271e on November 13, 2026.
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.