apple-oss-distributions/xnu

apple-oss-distributions/xnu has 1,411,712 source lines of code out of 2,149,233 total lines across 3,907 files, counted with tokei from the main ref at commit f6217f891ac0 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-14 (commit f6217f891ac0), apple-oss-distributions/xnu contains 2,149,233 total lines: 1,411,712 code, 469,834 comments, 267,687 blank, across 3,907 files in 27 languages (top language: C 67.8%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-14 (commit f6217f891ac0), apple-oss-distributions/xnu contains 2,149,233 total lines: 1,411,712 code, 469,834 comments, 267,687 blank, across 3,907 files in 27 languages (top language: C 67.8%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

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

LanguageFilesLinesCodeCommentsBlanks
C11991387186957248252702177236
C Header192850085325509519065455104
C++1221400051049991443420572
Python87467133826717356711
HTML25619688194690219
GNU Style Assembly75237811337275502859
Makefile160875362355571961
XML16153496621185
Happy3248821610327
Shell2026492106329214
D2124681867421180
Module-Definition1151312600253

Top language: C 67.8%. Generated on .

Counting rules and retention

apple-oss-distributions/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-oss-distributions/xnu have?

apple-oss-distributions/xnu has 1,411,712 lines of code, plus 469,834 comment lines and 267,687 blank lines, for 2,149,233 total lines at commit f6217f891ac0 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit f6217f891ac0, 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 main at commit f6217f891ac0 on November 14, 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-oss-distributions/xnu on this page — 1,411,712 code lines across 27 languages, counted by tokei.