aosp-mirror/platform_frameworks_base has 4,860,279 source lines of code out of 7,528,723 total lines across 32,774 files, counted with tokei from the main ref at commit 1cdfff555f4a on October 30, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-10-30 (commit 1cdfff555f4a), aosp-mirror/platform_frameworks_base contains 7,528,723 total lines: 4,860,279 code, 1,959,195 comments, 709,249 blank, across 32,774 files in 24 languages (top language: Java 62.1%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving aosp-mirror/platform_frameworks_base to commit 1cdfff555f4a, 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 64.6% of all lines, comments represent 26.0%, and the repository averages 148 code lines per file. Java accounts for 62.1% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Java | 12216 | 4788898 | 3016498 | 1270640 | 501760 |
| XML | 12401 | 1117522 | 866570 | 217610 | 33342 |
| Kotlin | 5698 | 839066 | 594033 | 149878 | 95155 |
| C++ | 907 | 384688 | 304322 | 32317 | 48049 |
| C Header | 653 | 73627 | 40041 | 20393 | 13193 |
| Protocol Buffers | 196 | 30939 | 17598 | 7913 | 5428 |
| JSON | 80 | 7730 | 7716 | 0 | 14 |
| Python | 38 | 6311 | 4577 | 715 | 1019 |
| HTML | 137 | 3010 | 2535 | 84 | 391 |
| Shell | 65 | 3569 | 2208 | 820 | 541 |
| Makefile | 36 | 2271 | 1445 | 712 | 114 |
| Go | 2 | 827 | 673 | 79 | 75 |
Top language: Java 62.1%. Generated on .
aosp-mirror/platform_frameworks_base: tokei-14.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.
aosp-mirror/platform_frameworks_base has 4,860,279 lines of code, plus 1,959,195 comment lines and 709,249 blank lines, for 7,528,723 total lines at commit 1cdfff555f4a on October 30, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 1cdfff555f4a, 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 main at commit 1cdfff555f4a on October 30, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for aosp-mirror/platform_frameworks_base on this page — 4,860,279 code lines across 24 languages, counted by tokei.