rockchip-linux/kernel has 28,928,529 source lines of code out of 38,251,015 total lines across 78,827 files, counted with tokei from the develop-6.1 ref at commit 77168c8d5ab8 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-16 (commit 77168c8d5ab8), rockchip-linux/kernel contains 38,251,015 total lines: 28,928,529 code, 4,516,394 comments, 4,806,092 blank, across 78,827 files in 40 languages (top language: C 63.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving rockchip-linux/kernel to commit 77168c8d5ab8, 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.
This is a very large codebase by counted code lines. Code represents 75.6% of all lines, comments represent 11.8%, and the repository averages 367 code lines per file. C accounts for 63.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 33470 | 24491801 | 18268595 | 2718589 | 3504617 |
| C Header | 25015 | 9367787 | 7171377 | 1441687 | 754723 |
| Device Tree | 5719 | 1685943 | 1382819 | 93019 | 210105 |
| GNU Style Assembly | 1337 | 751480 | 647921 | 59231 | 44328 |
| ReStructuredText | 3248 | 653436 | 495373 | 0 | 158063 |
| JSON | 591 | 408211 | 408209 | 0 | 2 |
| YAML | 3010 | 319599 | 257257 | 13003 | 49339 |
| Shell | 755 | 144337 | 100336 | 18588 | 25413 |
| Makefile | 2884 | 76383 | 52466 | 12672 | 11245 |
| SVG | 74 | 49438 | 48177 | 1171 | 90 |
| Python | 143 | 45587 | 35777 | 3677 | 6133 |
| Perl | 56 | 42427 | 32644 | 3937 | 5846 |
Top language: C 63.2%. Generated on .
rockchip-linux/kernel: 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.
rockchip-linux/kernel has 28,928,529 lines of code, plus 4,516,394 comment lines and 4,806,092 blank lines, for 38,251,015 total lines at commit 77168c8d5ab8 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 77168c8d5ab8, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from develop-6.1 at commit 77168c8d5ab8 on November 16, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for rockchip-linux/kernel on this page — 28,928,529 code lines across 40 languages, counted by tokei.