emacs-mirror/emacs
emacs-mirror/emacs has 2,052,994 source lines of code out of 2,931,407 total lines across 2,709 files, counted with tokei from the master ref at commit 3925ba88fe31 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
emacs-mirror/emacs: 2,052,994 code lines at commit 3925ba88fe31, counted with tokei-15.0.0 on 2026-11-24. Saved result 41b3179605311218628704bdeedcb11bc52674ad879790a7e3e090e1498e21af.
Source: emacs-mirror/emacs on GitHub · counted commit 3925ba88fe31
OctoCounts produced this report by resolving emacs-mirror/emacs to commit 3925ba88fe31, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.
Repository size insights
This is a very large codebase by counted code lines. Code represents 70.0% of all lines, comments represent 20.1%, 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 | 1640 | 1730516 | 1320478 | 231737 | 178301 |
| C | 341 | 596078 | 413533 | 106830 | 75715 |
| Lex | 1 | 175844 | 175844 | 0 | 0 |
| C Header | 253 | 84085 | 53334 | 20096 | 10655 |
| Objective-C | 8 | 26377 | 19190 | 3131 | 4056 |
| M4 | 151 | 19796 | 13281 | 5318 | 1197 |
| Autoconf | 32 | 16925 | 11363 | 3053 | 2509 |
| TeX | 24 | 14031 | 9152 | 2090 | 2789 |
| Java | 40 | 15157 | 8875 | 3480 | 2802 |
| C++ | 5 | 8264 | 6379 | 487 | 1398 |
| Shell | 23 | 4642 | 3076 | 970 | 596 |
| The WenYan Programming Language | 5 | 3212 | 2677 | 0 | 535 |
| XML | 23 | 2197 | 1717 | 358 | 122 |
| SVG | 46 | 1860 | 1710 | 131 | 19 |
| GNU Style Assembly | 6 | 1774 | 1619 | 132 | 23 |
| HTML | 5 | 1588 | 1564 | 1 | 23 |
| SRecode Template | 17 | 2125 | 1324 | 326 | 475 |
| Makefile | 19 | 1987 | 1115 | 512 | 360 |
| AWK | 13 | 1446 | 991 | 285 | 170 |
| Forth | 1 | 1232 | 940 | 0 | 292 |
| Perl | 1 | 1231 | 931 | 0 | 300 |
| BASH | 11 | 3459 | 927 | 2060 | 472 |
| SystemVerilog | 1 | 1180 | 885 | 0 | 295 |
| C# | 1 | 1174 | 880 | 0 | 294 |
| Python | 3 | 925 | 624 | 148 | 153 |
| Batch | 3 | 431 | 409 | 0 | 22 |
| GDB Script | 1 | 288 | 172 | 75 | 41 |
| ReScript | 1 | 4 | 4 | 0 | 0 |
| Markdown | 3 | 50 | 0 | 38 | 12 |
| Plain Text | 31 | 213529 | 0 | 206622 | 6907 |
Top language: Emacs Lisp 64.3%. Generated on .
Counting rules and retention
emacs-mirror/emacs: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
Reproduce this report
Report FAQ
How many lines of code does emacs-mirror/emacs have?
emacs-mirror/emacs has 2,052,994 lines of code, plus 587,880 comment lines and 290,533 blank lines, for 2,931,407 total lines at commit 3925ba88fe31 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
How was the emacs-mirror/emacs line count measured?
OctoCounts resolved the public GitHub repository to commit 3925ba88fe31, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for emacs-mirror/emacs?
This OctoCounts report was generated from master at commit 3925ba88fe31 on November 24, 2026.
Play the growth animation for emacs-mirror/emacs on this page — 2,052,994 code lines across 30 languages, counted by tokei.