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.

apple-oss-distributions/xnu: 1,411,712 code lines at commit f6217f891ac0, counted with tokei-15.0.0 on 2026-11-14. Saved result d0363f17756e5d5e10d040b2cd6ed2ac897e7e5857abe1729eef59c5389a9ca9.

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
Lua61382123022130
ASP.NET1878861017
Objective-C71194850179165
Perl383656418092
Batch1572509063
C Shell13202258411
Lex11681113819
Bitbake1116101015
Xcode Config1766907
BASH19265720
AWK28155197
TOML1301686
C++ Header13011136
Markdown310790786293
Plain Text4129011415

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.