# nextcloud/server SLOC report

> As of 2026-10-24 (commit e4abe580df6b), nextcloud/server contains 1,259,882 total lines: 1,009,041 code, 173,979 comments, 76,862 blank, across 9,767 files in 17 languages (top: JSON 38.6%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

nextcloud/server has 1,009,041 source lines of code out of 1,259,882 total lines across 9,767 files, counted from the master ref at commit e4abe580df6b by the OctoCounts tokei engine on 2026-10-24. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving nextcloud/server to commit e4abe580df6b, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

## 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 103 code lines per file. JSON accounts for 38.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JSON | 1,942 | 389,322 | 389,316 | 0 | 6 |
| PHP | 4,501 | 536,226 | 311,180 | 158,622 | 66,424 |
| JavaScript | 1,906 | 254,217 | 251,325 | 2,220 | 672 |
| TypeScript | 526 | 43,427 | 29,563 | 7,906 | 5,958 |
| XML | 39 | 11,281 | 10,928 | 218 | 135 |
| Vue | 374 | 9,481 | 6,634 | 1,626 | 1,221 |
| 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 |

Top language (JSON 38.6%). Generated at 2026-10-24T12:03:49.386801305+00:00. Canonical report: https://octocounts.com/github/nextcloud/server

## Reproduce this report

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

## Report FAQ

### How many lines of code does nextcloud/server have?

nextcloud/server has 1,259,882 total lines, including 1,009,041 code lines, 173,979 comment lines, and 76,862 blank lines.

### How was the nextcloud/server line count measured?

OctoCounts resolved the public GitHub repository to commit e4abe580df6b, 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 e4abe580df6b on 2026-10-24T12:03:49.386801305+00:00.

## Similar repository reports

- [ThinkInAIXYZ/deepchat](https://octocounts.com/github/ThinkInAIXYZ/deepchat) — JSON, 993,508 code lines
- [rdmtz/medical-wordbank](https://octocounts.com/github/rdmtz/medical-wordbank) — JSON, 964,380 code lines
- [embeddings-benchmark/mteb](https://octocounts.com/github/embeddings-benchmark/mteb) — JSON, 963,778 code lines
- [nomi-sec/PoC-in-GitHub](https://octocounts.com/github/nomi-sec/PoC-in-GitHub) — JSON, 950,413 code lines
- [SanAntonio021/agents-skills](https://octocounts.com/github/SanAntonio021/agents-skills) — JSON, 1,086,796 code lines
- [wintrymichi/magliasinaNG](https://octocounts.com/github/wintrymichi/magliasinaNG) — JSON, 1,096,117 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)
- [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)
