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 from the a449c6a3b8014d9406c2ddbdc81795da24aa7443 ref at commit a449c6a3b801 by the OctoCounts tokei engine on 2026-10-05. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

As of 2026-10-05 (commit a449c6a3b801), apple/darwin-xnu contains 1,670,222 total lines: 1,106,636 code, 355,487 comments, 208,099 blank, across 3,134 files in 23 languages (top: C 64.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

As of 2026-10-05 (commit a449c6a3b801), apple/darwin-xnu contains 1,670,222 total lines: 1,106,636 code, 355,487 comments, 208,099 blank, across 3,134 files in 23 languages (top: C 64.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving apple/darwin-xnu to commit a449c6a3b801, 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.

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

Top language (C 64.7%). Generated at .

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,670,222 total lines, including 1,106,636 code lines, 355,487 comment lines, and 208,099 blank lines.

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 2026-10-05T22:56:43.986411694+00:00.

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 12 languages, counted by tokei.