# theonedev/onedev SLOC report

> theonedev/onedev: 638,534 code lines at commit d5c3d457333e, counted with tokei-15.0.0 on 2026-11-12. Saved result ab60b777cd4481280f8a4baaccc4d8d0979add222d2ba9bcb12715a483095ae1.

theonedev/onedev has 638,534 source lines of code out of 747,724 total lines across 5,408 files, counted with tokei from the main ref at commit d5c3d457333e on November 12, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving theonedev/onedev to commit d5c3d457333e, 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

theonedev/onedev: 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 large codebase by counted code lines. Code represents 85.4% of all lines, comments represent 2.8%, and the repository averages 118 code lines per file. Java accounts for 58.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 3,783 | 454,735 | 370,515 | 9,698 | 74,522 |
| JavaScript | 402 | 211,258 | 194,036 | 7,512 | 9,710 |
| CSS | 268 | 33,414 | 29,948 | 719 | 2,747 |
| JSON | 5 | 22,351 | 22,351 | 0 | 0 |
| HTML | 567 | 10,648 | 10,562 | 14 | 72 |
| SVG | 215 | 4,175 | 4,173 | 0 | 2 |
| XML | 75 | 3,424 | 3,391 | 5 | 28 |
| Shell | 13 | 1,563 | 1,374 | 68 | 121 |
| Pan | 30 | 850 | 804 | 3 | 43 |
| YAML | 14 | 940 | 712 | 193 | 35 |
| Batch | 9 | 579 | 553 | 0 | 26 |
| Python | 1 | 108 | 94 | 2 | 12 |
| BASH | 1 | 21 | 17 | 1 | 3 |
| Dockerfile | 1 | 5 | 4 | 0 | 1 |
| Markdown | 9 | 1,230 | 0 | 839 | 391 |
| Plain Text | 15 | 2,423 | 0 | 2,101 | 322 |

Top language: Java 58.0%. Generated on November 12, 2026. Canonical report: https://octocounts.com/github/theonedev/onedev/commit/d5c3d457333e9ddb2bfde76fab46a55d611631f0?reportId=ab60b777cd4481280f8a4baaccc4d8d0979add222d2ba9bcb12715a483095ae1&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/theonedev/onedev/commit/d5c3d457333e9ddb2bfde76fab46a55d611631f0?reportId=ab60b777cd4481280f8a4baaccc4d8d0979add222d2ba9bcb12715a483095ae1&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 theonedev/onedev have?

theonedev/onedev has 638,534 lines of code, plus 21,155 comment lines and 88,035 blank lines, for 747,724 total lines at commit d5c3d457333e on November 12, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the theonedev/onedev line count measured?

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

### What commit was counted for theonedev/onedev?

This OctoCounts report was generated from main at commit d5c3d457333e on November 12, 2026.

## Similar repository reports

- [PowerNukkitX/PowerNukkitX](https://octocounts.com/github/PowerNukkitX/PowerNukkitX) — Java, 652,543 code lines
- [operaton/operaton](https://octocounts.com/github/operaton/operaton) — Java, 653,884 code lines
- [Lolfosjo/PowerNukkitX](https://octocounts.com/github/Lolfosjo/PowerNukkitX) — Java, 604,600 code lines
- [keycloak/keycloak](https://octocounts.com/github/keycloak/keycloak) — Java, 594,613 code lines
- [TestPQC-SonarQube/keycloak](https://octocounts.com/github/TestPQC-SonarQube/keycloak) — Java, 592,491 code lines
- [openl-tablets/openl-tablets](https://octocounts.com/github/openl-tablets/openl-tablets) — Java, 587,098 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)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [Kubernetes vs Docker Compose](https://octocounts.com/compare/kubernetes-vs-docker-compose)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [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)
