# davisking/dlib SLOC report

> davisking/dlib: 393,637 code lines at commit 422fc6246171, counted with tokei-15.0.0 on 2026-11-17. Saved result 6ea0537be72f0b14dcc2c9d62372e7d45f3458b21d554fd5d1adb5cc17aece1b.

Source: [davisking/dlib on GitHub](https://github.com/davisking/dlib) · counted commit [422fc6246171](https://github.com/davisking/dlib/tree/422fc62461712389cbff159ce4a7a4ce44993a8f)

davisking/dlib has 393,637 source lines of code out of 617,212 total lines across 1,706 files, counted with tokei from the master ref at commit 422fc6246171 on November 17, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving davisking/dlib to commit 422fc6246171, 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

davisking/dlib: 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 63.8% of all lines, comments represent 22.9%, and the repository averages 231 code lines per file. C Header accounts for 64.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C Header | 1,086 | 412,985 | 253,100 | 105,125 | 54,760 |
| C++ | 249 | 92,829 | 64,885 | 14,521 | 13,423 |
| C | 240 | 94,729 | 63,501 | 18,915 | 12,313 |
| CMake | 42 | 5,055 | 3,503 | 893 | 659 |
| XML | 6 | 3,184 | 3,181 | 1 | 2 |
| CUDA | 2 | 3,490 | 2,929 | 122 | 439 |
| Python | 25 | 2,687 | 1,183 | 1,174 | 330 |
| XSL | 2 | 463 | 364 | 30 | 69 |
| Autoconf | 9 | 490 | 323 | 66 | 101 |
| Java | 1 | 254 | 229 | 5 | 20 |
| ReStructuredText | 1 | 215 | 175 | 0 | 40 |
| FORTRAN Legacy | 20 | 300 | 160 | 140 | 0 |
| Shell | 2 | 61 | 36 | 16 | 9 |
| GNU Style Assembly | 1 | 60 | 25 | 29 | 6 |
| Perl | 1 | 24 | 18 | 1 | 5 |
| BASH | 1 | 22 | 12 | 2 | 8 |
| Objective-C | 1 | 16 | 10 | 0 | 6 |
| TOML | 1 | 4 | 3 | 0 | 1 |
| Markdown | 3 | 98 | 0 | 66 | 32 |
| Plain Text | 13 | 246 | 0 | 199 | 47 |

Top language: C Header 64.3%. Generated on November 17, 2026. Canonical report: https://octocounts.com/github/davisking/dlib/commit/422fc62461712389cbff159ce4a7a4ce44993a8f?reportId=6ea0537be72f0b14dcc2c9d62372e7d45f3458b21d554fd5d1adb5cc17aece1b&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/davisking/dlib/commit/422fc62461712389cbff159ce4a7a4ce44993a8f?reportId=6ea0537be72f0b14dcc2c9d62372e7d45f3458b21d554fd5d1adb5cc17aece1b&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 davisking/dlib have?

davisking/dlib has 393,637 lines of code, plus 141,305 comment lines and 82,270 blank lines, for 617,212 total lines at commit 422fc6246171 on November 17, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the davisking/dlib line count measured?

OctoCounts resolved the public GitHub repository to commit 422fc6246171, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for davisking/dlib?

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

## Similar repository reports

- [emexlab/Nyxian](https://octocounts.com/github/emexlab/Nyxian) — C Header, 411,226 code lines
- [azahar-emu/azahar](https://octocounts.com/github/azahar-emu/azahar) — C Header, 411,412 code lines
- [Stukdee/ourfly](https://octocounts.com/github/Stukdee/ourfly) — C Header, 372,225 code lines
- [genodelabs/genode](https://octocounts.com/github/genodelabs/genode) — C Header, 370,336 code lines
- [simdjson/simdjson](https://octocounts.com/github/simdjson/simdjson) — C Header, 368,638 code lines
- [cesanta/mongoose](https://octocounts.com/github/cesanta/mongoose) — C Header, 452,595 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)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [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)
