As of 2026-09-10 (commit 0c4ee43fed23), WordPress/WordPress contains 1,213,049 total lines: 781,128 code, 298,656 comments, 133,265 blank, across 3,853 files in 10 languages (top: PHP 47.1%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving WordPress/WordPress to commit 0c4ee43fed23, 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 64.4% of all lines, comments represent 24.6%, and the repository averages 203 code lines per file. PHP accounts for 47.1% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| PHP | 1855 | 670174 | 368014 | 230448 | 71712 |
| CSS | 939 | 217197 | 167718 | 19191 | 30288 |
| JavaScript | 458 | 209255 | 144467 | 39264 | 25524 |
| JSON | 185 | 86246 | 86245 | 0 | 1 |
| Sass | 157 | 15935 | 11560 | 1482 | 2893 |
| SVG | 134 | 2270 | 2264 | 6 | 0 |
| PO File | 2 | 1059 | 510 | 290 | 259 |
| HTML | 59 | 1075 | 350 | 512 | 213 |
| Markdown | 6 | 562 | 0 | 393 | 169 |
| Plain Text | 58 | 9276 | 0 | 7070 | 2206 |
Top language (PHP 47.1%). Generated at .
WordPress/WordPress has 1,213,049 total lines, including 781,128 code lines, 298,656 comment lines, and 133,265 blank lines.
OctoCounts resolved the public GitHub repository to commit 0c4ee43fed23, 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 0c4ee43fed23 on 2026-09-10T03:29:41.087518549+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: