As of 2026-08-26 (commit bd98d7e72ba7), drupal/drupal contains 865,419 total lines: 459,617 code, 317,580 comments, 88,222 blank, across 8,664 files in 12 languages (top: PHP 63.4%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving drupal/drupal to commit bd98d7e72ba7, 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 53.1% of all lines, comments represent 36.7%, and the repository averages 53 code lines per file. PHP accounts for 63.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| PHP | 4900 | 623176 | 291177 | 264402 | 67597 |
| CSS | 900 | 89878 | 66702 | 11698 | 11478 |
| YAML | 1051 | 50259 | 47337 | 1356 | 1566 |
| JavaScript | 242 | 41196 | 23340 | 14412 | 3444 |
| Twig | 756 | 29352 | 15197 | 13530 | 625 |
| Bitbake | 21 | 9568 | 9045 | 0 | 523 |
| JSON | 42 | 3052 | 3050 | 0 | 2 |
| SVG | 571 | 1720 | 1719 | 0 | 1 |
| Shell | 5 | 1966 | 1639 | 113 | 214 |
| HTML | 36 | 426 | 411 | 1 | 14 |
| Markdown | 13 | 1118 | 0 | 887 | 231 |
| Plain Text | 127 | 13708 | 0 | 11181 | 2527 |
Top language (PHP 63.4%). Generated at 2026-08-26T18:18:25.263846969+00:00.
drupal/drupal has 865,419 total lines, including 459,617 code lines, 317,580 comment lines, and 88,222 blank lines.
OctoCounts resolved the public GitHub repository to commit bd98d7e72ba7, 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 bd98d7e72ba7 on 2026-08-26T18:18:25.263846969+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: