liferay/liferay-portal has 9,983,038 source lines of code out of 14,966,595 total lines across 75,286 files, counted with tokei from the 995f7e1288709d3d648f72bf4116c3abb8028937 ref at commit 995f7e128870 on November 12, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-12 (commit 995f7e128870), liferay/liferay-portal contains 14,966,595 total lines: 9,983,038 code, 2,419,374 comments, 2,564,183 blank, across 75,286 files in 33 languages (top language: Java 76.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving liferay/liferay-portal to commit 995f7e128870, 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 66.7% of all lines, comments represent 16.2%, and the repository averages 133 code lines per file. Java accounts for 76.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Java | 50396 | 11679463 | 7613758 | 1800462 | 2265243 |
| JSON | 4637 | 523891 | 523890 | 0 | 1 |
| TSX | 3521 | 496532 | 419370 | 19826 | 57336 |
| JavaScript | 4506 | 464534 | 369545 | 29538 | 65451 |
| Sass | 2232 | 274043 | 215384 | 12600 | 46059 |
| YAML | 629 | 195039 | 194074 | 900 | 65 |
| XML | 1600 | 197883 | 176991 | 3923 | 16969 |
| TypeScript | 2793 | 211325 | 164635 | 18549 | 28141 |
| CSS | 480 | 120544 | 107347 | 1490 | 11707 |
| FreeMarker | 507 | 61511 | 49943 | 713 | 10855 |
| SVG | 1248 | 38488 | 34902 | 3473 | 113 |
| JSX | 280 | 35777 | 30607 | 1087 | 4083 |
Top language: Java 76.3%. Generated on .
liferay/liferay-portal: 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.
liferay/liferay-portal has 9,983,038 lines of code, plus 2,419,374 comment lines and 2,564,183 blank lines, for 14,966,595 total lines at commit 995f7e128870 on November 12, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 995f7e128870, 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 995f7e1288709d3d648f72bf4116c3abb8028937 at commit 995f7e128870 on November 12, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for liferay/liferay-portal on this page — 9,983,038 code lines across 33 languages, counted by tokei.