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.
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.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| PO File | 56 | 352928 | 184834 | 114247 | 53847 |
| C++ | 163 | 79432 | 62762 | 9506 | 7164 |
| Shell | 342 | 36786 | 30924 | 1420 | 4442 |
| C Header | 107 | 16067 | 8907 | 4879 | 2281 |
| XML | 18 | 6429 | 5902 | 48 | 479 |
| CMake | 28 | 1778 | 1267 | 272 | 239 |
| BASH | 3 | 554 | 489 | 27 | 38 |
| Autoconf | 12 | 2655 | 456 | 1606 | 593 |
| Perl | 1 | 285 | 217 | 19 | 49 |
| Python | 2 | 240 | 199 | 8 | 33 |
| C | 2 | 165 | 140 | 16 | 9 |
| YAML | 1 | 18 | 17 | 0 | 1 |
Top language (PO File 62.4%). Generated at 2026-07-16T17:16:41.538800833+00:00.
Debian/apt has 499,301 total lines, including 296,126 code lines, 133,539 comment lines, and 69,636 blank lines.
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 2026-07-16T17:16:41.538800833+00:00.