emacs-mirror/emacs

emacs-mirror/emacs has 2,052,694 source lines of code out of 2,930,942 total lines across 2,709 files, counted with tokei from the master ref at commit e93f406bef02 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-16 (commit e93f406bef02), emacs-mirror/emacs contains 2,930,942 total lines: 2,052,694 code, 587,762 comments, 290,486 blank, across 2,709 files in 30 languages (top language: Emacs Lisp 64.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-16 (commit e93f406bef02), emacs-mirror/emacs contains 2,930,942 total lines: 2,052,694 code, 587,762 comments, 290,486 blank, across 2,709 files in 30 languages (top language: Emacs Lisp 64.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving emacs-mirror/emacs to commit e93f406bef02, 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.

LanguageFilesLinesCodeCommentsBlanks
Emacs Lisp164017303911320371231729178291
C34159593441344210679975693
Lex117584417584400
C Header25384022533082006110653
Objective-C8263771919031314056
M4151196641320852741182
Autoconf32169251136230532510
TeX2414031915220902789
Java4015157887534802802
C++5826463794871398
Shell2346413074970597
The WenYan Programming Language5321226770535

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

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does emacs-mirror/emacs have?

emacs-mirror/emacs has 2,052,694 lines of code, plus 587,762 comment lines and 290,486 blank lines, for 2,930,942 total lines at commit e93f406bef02 on November 16, 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 e93f406bef02, 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 e93f406bef02 on November 16, 2026.

Play the growth animation for emacs-mirror/emacs on this page — 2,052,694 code lines across 30 languages, counted by tokei.