nextcloud/server

nextcloud/server has 1,018,717 source lines of code out of 1,272,357 total lines across 9,833 files, counted with tokei from the master ref at commit 486941893e04 on November 17, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-17 (commit 486941893e04), nextcloud/server contains 1,272,357 total lines: 1,018,717 code, 175,460 comments, 78,180 blank, across 9,833 files in 17 languages (top programming language: PHP 30.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-17 (commit 486941893e04), nextcloud/server contains 1,272,357 total lines: 1,018,717 code, 175,460 comments, 78,180 blank, across 9,833 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 486941893e04, 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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
JSON194139105239104606
PHP453054167631495215976066964
JavaScript18862533212511291692500
TypeScript585496433395287826909
XML391128210929218135
Vue3739455661416211220
Sass3060074769543695
SVG357391736905222
Shell4812569132111
CSS3581546728068
TOML4544456088
Nix111192127

Top programming language: PHP 30.9%. Generated on .

Counting rules and retention

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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does nextcloud/server have?

nextcloud/server has 1,018,717 lines of code, plus 175,460 comment lines and 78,180 blank lines, for 1,272,357 total lines at commit 486941893e04 on November 17, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the nextcloud/server line count measured?

OctoCounts resolved the public GitHub repository to commit 486941893e04, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for nextcloud/server?

This OctoCounts report was generated from master at commit 486941893e04 on November 17, 2026.

Similar repository reports

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,717 code lines across 17 languages, counted by tokei.