PowerDNS/pdns has 398,142 source lines of code out of 509,024 total lines across 1,651 files, counted with tokei from the master ref at commit c3fda64ddc7b on November 17, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-17 (commit c3fda64ddc7b), PowerDNS/pdns contains 509,024 total lines: 398,142 code, 49,648 comments, 61,234 blank, across 1,651 files in 34 languages (top language: C++ 50.5%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving PowerDNS/pdns to commit c3fda64ddc7b, 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 78.2% of all lines, comments represent 9.8%, and the repository averages 241 code lines per file. C++ accounts for 50.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 462 | 251136 | 200922 | 19511 | 30703 |
| Python | 260 | 92563 | 77930 | 3322 | 11311 |
| JavaScript | 19 | 55996 | 46898 | 3043 | 6055 |
| C++ Header | 315 | 57551 | 38758 | 11575 | 7218 |
| Meson | 137 | 6010 | 5246 | 112 | 652 |
| M4 | 75 | 6020 | 4128 | 1259 | 633 |
| Rust | 16 | 4496 | 3861 | 282 | 353 |
| YAML | 11 | 4109 | 3850 | 165 | 94 |
| Automake | 25 | 2605 | 2292 | 12 | 301 |
| Shell | 104 | 3024 | 2278 | 287 | 459 |
| BASH | 36 | 2375 | 1882 | 130 | 363 |
| Lua | 17 | 2300 | 1696 | 281 | 323 |
Top language: C++ 50.5%. Generated on .
PowerDNS/pdns: 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.
PowerDNS/pdns has 398,142 lines of code, plus 49,648 comment lines and 61,234 blank lines, for 509,024 total lines at commit c3fda64ddc7b on November 17, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit c3fda64ddc7b, 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 master at commit c3fda64ddc7b on November 17, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for PowerDNS/pdns on this page — 398,142 code lines across 34 languages, counted by tokei.