# nextcloud/server SLOC report

> nextcloud/server: 1,018,432 code lines at commit e278094a4c20, counted with tokei-15.0.0 on 2026-11-16. Saved result 5c2ac105f4d457961c51095beb2ee05c575b22e30389e2a0d0c6eddcc9d919fd.

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.

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.

## 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.

## 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.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JSON | 1,941 | 391,013 | 391,007 | 0 | 6 |
| PHP | 4,530 | 541,621 | 314,912 | 159,750 | 66,959 |
| JavaScript | 1,886 | 253,282 | 251,090 | 1,692 | 500 |
| TypeScript | 583 | 49,400 | 33,779 | 8,761 | 6,860 |
| XML | 39 | 11,282 | 10,929 | 218 | 135 |
| Vue | 373 | 9,465 | 6,620 | 1,621 | 1,224 |
| Sass | 30 | 6,007 | 4,769 | 543 | 695 |
| SVG | 357 | 3,917 | 3,690 | 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 |
| HTML | 2 | 31 | 22 | 9 | 0 |
| Makefile | 1 | 36 | 20 | 6 | 10 |
| YAML | 1 | 16 | 10 | 4 | 2 |
| Markdown | 11 | 490 | 0 | 347 | 143 |
| Plain Text | 33 | 3,149 | 0 | 2,049 | 1,100 |

Top programming language: PHP 30.9%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/nextcloud/server/commit/e278094a4c20e587e3b7e8bd592c18e9bfb40025?reportId=5c2ac105f4d457961c51095beb2ee05c575b22e30389e2a0d0c6eddcc9d919fd&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/nextcloud/server/commit/e278094a4c20e587e3b7e8bd592c18e9bfb40025?reportId=5c2ac105f4d457961c51095beb2ee05c575b22e30389e2a0d0c6eddcc9d919fd&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## 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

- [FortAwesome/Font-Awesome](https://octocounts.com/github/FortAwesome/Font-Awesome) — JSON, 1,008,582 code lines
- [sickn33/agentic-awesome-skills](https://octocounts.com/github/sickn33/agentic-awesome-skills) — JSON, 1,030,234 code lines
- [Eikwang/AUTOavantar](https://octocounts.com/github/Eikwang/AUTOavantar) — JSON, 1,031,172 code lines
- [xiaoxiunique/x-kit](https://octocounts.com/github/xiaoxiunique/x-kit) — JSON, 992,821 code lines
- [nomi-sec/PoC-in-GitHub](https://octocounts.com/github/nomi-sec/PoC-in-GitHub) — JSON, 992,324 code lines
- [ThinkInAIXYZ/deepchat](https://octocounts.com/github/ThinkInAIXYZ/deepchat) — JSON, 991,811 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
