apple-oss-distributions/xnu SLOC report

As of 2026-09-11 (commit e3723e1f1766), apple-oss-distributions/xnu contains 2,117,894 total lines: 1,390,343 code, 464,050 comments, 263,501 blank, across 3,865 files in 27 languages (top: C 67.9%). Counted with tokei via OctoCounts.

As of 2026-09-11 (commit e3723e1f1766), apple-oss-distributions/xnu contains 2,117,894 total lines: 1,390,343 code, 464,050 comments, 263,501 blank, across 3,865 files in 27 languages (top: C 67.9%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving apple-oss-distributions/xnu to commit e3723e1f1766, 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 65.6% of all lines, comments represent 21.9%, and the repository averages 360 code lines per file. C accounts for 67.9% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C11891369806944140250805174861
C Header189848980524913518694553725
C++1201382431036181428820337
Python87458193752517306564
HTML25619690194710219
GNU Style Assembly75237141335575182841
Makefile159871461905681956
XML16153496621185
Happy3248821610327
Shell2025912065322204
D2124661865421180
Module-Definition1146812260242

Top language (C 67.9%). Generated at 2026-09-11T05:25:59.485916626+00:00.

Report FAQ

How many lines of code does apple-oss-distributions/xnu have?

apple-oss-distributions/xnu has 2,117,894 total lines, including 1,390,343 code lines, 464,050 comment lines, and 263,501 blank lines.

How was the apple-oss-distributions/xnu line count measured?

OctoCounts resolved the public GitHub repository to commit e3723e1f1766, 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-oss-distributions/xnu?

This OctoCounts report was generated from e3723e1f17661b24996789d8afc084c0c3303b26 at commit e3723e1f1766 on 2026-09-11T05:25:59.485916626+00:00.

Similar repository reports

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