moodle/moodle has 4,115,243 source lines of code out of 8,528,842 total lines across 59,296 files, counted from the main ref at commit f20534726a59 by the OctoCounts tokei engine on 2026-10-03. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-03 (commit f20534726a59), moodle/moodle contains 8,528,842 total lines: 4,115,243 code, 3,872,951 comments, 540,648 blank, across 59,296 files in 19 languages (top: PHP 78.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving moodle/moodle to commit f20534726a59, 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 very large codebase by counted code lines. Code represents 48.3% of all lines, comments represent 45.4%, and the repository averages 69 code lines per file. PHP accounts for 78.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| PHP | 52512 | 7113804 | 3231525 | 3457410 | 424869 |
| JavaScript | 2761 | 980990 | 608867 | 293797 | 78326 |
| CSS | 403 | 131525 | 115151 | 5538 | 10836 |
| Sass | 215 | 55726 | 46684 | 3713 | 5329 |
| JSON | 234 | 38461 | 38455 | 0 | 6 |
| Mustache | 1290 | 86495 | 33248 | 52232 | 1015 |
| XML | 138 | 20094 | 20065 | 3 | 26 |
| TypeScript | 117 | 15179 | 13096 | 1718 | 365 |
| SVG | 767 | 3784 | 3708 | 36 | 40 |
| TSX | 12 | 2423 | 1487 | 718 | 218 |
| HTML | 68 | 1241 | 1166 | 0 | 75 |
| XSL | 8 | 1175 | 930 | 58 | 187 |
Top language (PHP 78.5%). Generated at .
moodle/moodle has 8,528,842 total lines, including 4,115,243 code lines, 3,872,951 comment lines, and 540,648 blank lines.
OctoCounts resolved the public GitHub repository to commit f20534726a59, 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 f20534726a59 on 2026-10-03T13:23:29.384214962+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for moodle/moodle on this page — 4,115,243 code lines across 12 languages, counted by tokei.