nextcloud/server

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.

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.

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
JSON194139101339100706
PHP453054162131491215975066959
JavaScript18862532822510901692500
TypeScript583494003377987616860
XML391128210929218135
Vue3739465662016211224
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,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.

How was the nextcloud/server line count measured?

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.

What commit was counted for nextcloud/server?

This OctoCounts report was generated from master at commit e278094a4c20 on November 16, 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,432 code lines across 17 languages, counted by tokei.