nextcloud/server has 1,018,432 source lines of code out of 1,271,991 total lines across 9,831 files, counted with tokei from the master ref at commit e278094a4c20 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-16 (commit e278094a4c20), nextcloud/server contains 1,271,991 total lines: 1,018,432 code, 175,429 comments, 78,130 blank, across 9,831 files in 17 languages (top programming language: PHP 30.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving nextcloud/server to commit e278094a4c20, 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 80.1% of all lines, comments represent 13.8%, and the repository averages 104 code lines per file. PHP is the largest programming language at 30.9% of counted code; data and prose formats such as JSON or YAML hold a larger share.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JSON | 1941 | 391013 | 391007 | 0 | 6 |
| PHP | 4530 | 541621 | 314912 | 159750 | 66959 |
| JavaScript | 1886 | 253282 | 251090 | 1692 | 500 |
| TypeScript | 583 | 49400 | 33779 | 8761 | 6860 |
| XML | 39 | 11282 | 10929 | 218 | 135 |
| Vue | 373 | 9465 | 6620 | 1621 | 1224 |
| Sass | 30 | 6007 | 4769 | 543 | 695 |
| SVG | 357 | 3917 | 3690 | 5 | 222 |
| Shell | 4 | 812 | 569 | 132 | 111 |
| CSS | 35 | 815 | 467 | 280 | 68 |
| TOML | 4 | 544 | 456 | 0 | 88 |
| Nix | 1 | 111 | 92 | 12 | 7 |
Top programming language: PHP 30.9%. Generated on .
nextcloud/server: 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.
nextcloud/server has 1,018,432 lines of code, plus 175,429 comment lines and 78,130 blank lines, for 1,271,991 total lines at commit e278094a4c20 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit e278094a4c20, 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 e278094a4c20 on November 16, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for nextcloud/server on this page — 1,018,432 code lines across 17 languages, counted by tokei.