apple/darwin-xnu

apple/darwin-xnu has 1,106,636 source lines of code out of 1,670,222 total lines across 3,134 files, counted with tokei from the a449c6a3b8014d9406c2ddbdc81795da24aa7443 ref at commit a449c6a3b801 on November 2, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

apple/darwin-xnu: 1,106,636 code lines at commit a449c6a3b801, counted with tokei-15.0.0 on 2026-11-02. Saved result 738968deaa37b7a9023033079fa3d09fdfc567c218844e213ab0ec84379cbbab.

OctoCounts produced this report by resolving apple/darwin-xnu to commit a449c6a3b801, 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 66.3% of all lines, comments represent 21.3%, and the repository averages 353 code lines per file. C accounts for 64.7% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C9811063340716470205534141336
C Header146641290724406012795240895
C++9799874719961153816340
Python62294552500210083445
HTML25619690194710219
GNU Style Assembly78251421497973162847
Makefile131650348402181445
Shell1724051922293190
Happy3221818980320
D1521311630338163
Objective-C71197853179165
ASP.NET1844828016
Module-Definition18847370147
Lua37716681093
Perl379753317589
Batch1334302032
C Shell1286195847
Lex11681113819
BASH19265720
Xcode Config1424101
AWK25935177
Markdown39440654290
Plain Text3139012613

Top language: C 64.7%. Generated on .

Counting rules and retention

apple/darwin-xnu: 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 apple/darwin-xnu have?

apple/darwin-xnu has 1,106,636 lines of code, plus 355,487 comment lines and 208,099 blank lines, for 1,670,222 total lines at commit a449c6a3b801 on November 2, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the apple/darwin-xnu line count measured?

OctoCounts resolved the public GitHub repository to commit a449c6a3b801, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for apple/darwin-xnu?

This OctoCounts report was generated from a449c6a3b8014d9406c2ddbdc81795da24aa7443 at commit a449c6a3b801 on November 2, 2026.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity:

Play the growth animation for apple/darwin-xnu on this page — 1,106,636 code lines across 23 languages, counted by tokei.