topjohnwu/Magisk has 56,122 source lines of code out of 68,044 total lines across 376 files, counted with tokei from the master ref at commit 70d233cae2f0 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
topjohnwu/Magisk: 56,122 code lines at commit 70d233cae2f0, counted with tokei-15.0.0 on 2026-11-16. Saved result ec6717b7b86ad061e33a103fc0d2d324f0b4364221809339424f60ed5bf5068f.
OctoCounts produced this report by resolving topjohnwu/Magisk to commit 70d233cae2f0, 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 medium-sized codebase by counted code lines. Code represents 82.5% of all lines, comments represent 6.7%, and the repository averages 149 code lines per file. Kotlin accounts for 32.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Kotlin | 129 | 20703 | 18138 | 699 | 1866 |
| Rust | 73 | 18959 | 15907 | 1095 | 1957 |
| XML | 88 | 11272 | 9429 | 558 | 1285 |
| C++ | 21 | 7012 | 5699 | 469 | 844 |
| Shell | 16 | 3172 | 2194 | 542 | 436 |
| C++ Header | 14 | 2582 | 1760 | 455 | 367 |
| Python | 3 | 1839 | 1467 | 75 | 297 |
| Java | 4 | 563 | 462 | 19 | 82 |
| Makefile | 5 | 378 | 303 | 16 | 59 |
| TOML | 12 | 354 | 301 | 6 | 47 |
| Protocol Buffers | 3 | 838 | 260 | 508 | 70 |
| C Header | 1 | 142 | 89 | 33 | 20 |
| Batch | 1 | 94 | 73 | 0 | 21 |
| C | 1 | 29 | 20 | 3 | 6 |
| Prolog | 2 | 22 | 20 | 0 | 2 |
| Markdown | 2 | 82 | 0 | 55 | 27 |
| Plain Text | 1 | 3 | 0 | 3 | 0 |
Top language: Kotlin 32.3%. Generated on .
topjohnwu/Magisk: 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.
topjohnwu/Magisk has 56,122 lines of code, plus 4,536 comment lines and 7,386 blank lines, for 68,044 total lines at commit 70d233cae2f0 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 70d233cae2f0, 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 master at commit 70d233cae2f0 on November 16, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for topjohnwu/Magisk on this page — 56,122 code lines across 17 languages, counted by tokei.