# PowerDNS/pdns SLOC report

> PowerDNS/pdns: 398,142 code lines at commit c3fda64ddc7b, counted with tokei-15.0.0 on 2026-11-17. Saved result eb82bba6b06ebba0d7568a2d414278564e22ff7905aa5e1f1dbbe1cc136be27d.

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.

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.

## Counting rules and retention

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.

## Repository size insights

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 | 251,136 | 200,922 | 19,511 | 30,703 |
| Python | 260 | 92,563 | 77,930 | 3,322 | 11,311 |
| JavaScript | 19 | 55,996 | 46,898 | 3,043 | 6,055 |
| C++ Header | 315 | 57,551 | 38,758 | 11,575 | 7,218 |
| Meson | 137 | 6,010 | 5,246 | 112 | 652 |
| M4 | 75 | 6,020 | 4,128 | 1,259 | 633 |
| Rust | 16 | 4,496 | 3,861 | 282 | 353 |
| YAML | 11 | 4,109 | 3,850 | 165 | 94 |
| Automake | 25 | 2,605 | 2,292 | 12 | 301 |
| Shell | 104 | 3,024 | 2,278 | 287 | 459 |
| BASH | 36 | 2,375 | 1,882 | 130 | 363 |
| Lua | 17 | 2,300 | 1,696 | 281 | 323 |
| C Header | 13 | 2,324 | 1,537 | 475 | 312 |
| C | 7 | 2,067 | 1,324 | 527 | 216 |
| SQL | 31 | 1,207 | 954 | 29 | 224 |
| CSS | 9 | 831 | 806 | 7 | 18 |
| RPM Specfile | 3 | 760 | 626 | 31 | 103 |
| ReStructuredText | 2 | 774 | 583 | 0 | 191 |
| Perl | 8 | 649 | 513 | 37 | 99 |
| Autoconf | 19 | 624 | 495 | 57 | 72 |
| HTML | 5 | 549 | 484 | 20 | 45 |
| Protocol Buffers | 2 | 547 | 273 | 200 | 74 |
| Makefile | 9 | 269 | 208 | 29 | 32 |
| D | 2 | 235 | 200 | 0 | 35 |
| Lex | 1 | 153 | 123 | 2 | 28 |
| XML | 2 | 113 | 81 | 16 | 16 |
| TOML | 5 | 99 | 75 | 11 | 13 |
| Org | 3 | 61 | 58 | 0 | 3 |
| JSON | 5 | 37 | 37 | 0 | 0 |
| Dockerfile | 2 | 26 | 18 | 3 | 5 |
| INI | 1 | 5 | 5 | 0 | 0 |
| SWIG | 2 | 1 | 1 | 0 | 0 |
| Markdown | 24 | 3,164 | 0 | 2,208 | 956 |
| Plain Text | 19 | 6,344 | 0 | 6,017 | 327 |

Top language: C++ 50.5%. Generated on November 17, 2026. Canonical report: https://octocounts.com/github/PowerDNS/pdns/commit/c3fda64ddc7b5d9d90c71dcc48a40b6a53c4a161?reportId=eb82bba6b06ebba0d7568a2d414278564e22ff7905aa5e1f1dbbe1cc136be27d&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/PowerDNS/pdns/commit/c3fda64ddc7b5d9d90c71dcc48a40b6a53c4a161?reportId=eb82bba6b06ebba0d7568a2d414278564e22ff7905aa5e1f1dbbe1cc136be27d&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does PowerDNS/pdns have?

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.

### How was the PowerDNS/pdns line count measured?

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.

### What commit was counted for PowerDNS/pdns?

This OctoCounts report was generated from master at commit c3fda64ddc7b on November 17, 2026.

## Similar repository reports

- [rive-app/rive-runtime](https://octocounts.com/github/rive-app/rive-runtime) — C++, 396,505 code lines
- [1314521gjy/ninfer-fusion-kvmem](https://octocounts.com/github/1314521gjy/ninfer-fusion-kvmem) — C++, 401,185 code lines
- [opengl-tutorials/ogl](https://octocounts.com/github/opengl-tutorials/ogl) — C++, 407,579 code lines
- [electronicarts/CnC_Remastered_Collection](https://octocounts.com/github/electronicarts/CnC_Remastered_Collection) — C++, 382,057 code lines
- [figment/Irrlicht](https://octocounts.com/github/figment/Irrlicht) — C++, 381,353 code lines
- [scylladb/scylladb](https://octocounts.com/github/scylladb/scylladb) — C++, 416,045 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
