dlang/dmd SLOC report
As of 2026-08-03 (commit dbf2e20cdf7f), dlang/dmd contains 393,414 total lines: 298,018 code, 56,060 comments, 39,336 blank, across 356 files in 10 languages (top: D 94.3%). Counted with tokei via OctoCounts.
Repository size insights
This is a large codebase by counted code lines. Code represents 75.8% of all lines, comments represent 14.2%, and the repository averages 837 code lines per file. D accounts for 94.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| D | 274 | 371912 | 280954 | 54116 | 36842 |
| C Header | 56 | 18963 | 15909 | 960 | 2094 |
| Visual Studio Project | 2 | 464 | 462 | 2 | 0 |
| Shell | 4 | 515 | 378 | 77 | 60 |
| Makefile | 5 | 278 | 187 | 44 | 47 |
| YAML | 1 | 79 | 73 | 2 | 4 |
| Visual Studio Solution | 1 | 48 | 47 | 0 | 1 |
| INI | 1 | 13 | 8 | 1 | 4 |
| Markdown | 10 | 1096 | 0 | 818 | 278 |
| Plain Text | 2 | 46 | 0 | 40 | 6 |
Top language (D 94.3%). Generated at 2026-08-03T16:46:03.226396822+00:00.
Report FAQ
How many lines of code does dlang/dmd have?
dlang/dmd has 393,414 total lines, including 298,018 code lines, 56,060 comment lines, and 39,336 blank lines.
How was the dlang/dmd line count measured?
OctoCounts resolved the public GitHub repository to commit dbf2e20cdf7f, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for dlang/dmd?
This OctoCounts report was generated from v2.112.0 at commit dbf2e20cdf7f on 2026-08-03T16:46:03.226396822+00:00.