As of 2026-08-26 (commit b28750b822dc), emacs-mirror/emacs contains 2,924,491 total lines: 2,048,677 code, 585,428 comments, 290,386 blank, across 2,704 files in 30 languages (top: Emacs Lisp 64.3%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving emacs-mirror/emacs to commit b28750b822dc, 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 70.1% of all lines, comments represent 20.0%, and the repository averages 758 code lines per file. Emacs Lisp accounts for 64.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Emacs Lisp | 1638 | 1727443 | 1318016 | 231382 | 178045 |
| C | 340 | 594079 | 412082 | 106376 | 75621 |
| Lex | 1 | 175844 | 175844 | 0 | 0 |
| C Header | 252 | 83799 | 53176 | 19983 | 10640 |
| Objective-C | 8 | 26323 | 19149 | 3120 | 4054 |
| M4 | 151 | 19472 | 13105 | 5202 | 1165 |
| Autoconf | 32 | 16911 | 11357 | 3045 | 2509 |
| TeX | 24 | 14031 | 9152 | 2090 | 2789 |
| Java | 40 | 15157 | 8875 | 3480 | 2802 |
| C++ | 5 | 8264 | 6379 | 487 | 1398 |
| Shell | 22 | 4611 | 3050 | 964 | 597 |
| The WenYan Programming Language | 5 | 3212 | 2677 | 0 | 535 |
Top language (Emacs Lisp 64.3%). Generated at 2026-08-26T18:19:24.776938375+00:00.
emacs-mirror/emacs has 2,924,491 total lines, including 2,048,677 code lines, 585,428 comment lines, and 290,386 blank lines.
OctoCounts resolved the public GitHub repository to commit b28750b822dc, 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 b28750b822dc on 2026-08-26T18:19:24.776938375+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: