# theonedev/onedev SLOC report

> theonedev/onedev: 638,837 code lines at commit b62d3d839aac, counted with tokei-15.0.0 on 2026-11-16. Saved result 1d0ef42e2c5400e0b08957643b3b062ef002288e7f5a105be2bfe4cc3b0fec4e.

theonedev/onedev has 638,837 source lines of code out of 748,064 total lines across 5,404 files, counted with tokei from the main ref at commit b62d3d839aac on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving theonedev/onedev to commit b62d3d839aac, 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,779 | 454,865 | 370,635 | 9,706 | 74,524 |
| JavaScript | 402 | 211,420 | 194,185 | 7,519 | 9,716 |
| CSS | 268 | 33,435 | 29,967 | 720 | 2,748 |
| JSON | 5 | 22,351 | 22,351 | 0 | 0 |
| HTML | 567 | 10,663 | 10,577 | 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,242 | 0 | 848 | 394 |
| Plain Text | 15 | 2,423 | 0 | 2,101 | 322 |

Top language: Java 58.0%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/theonedev/onedev/commit/b62d3d839aacfaf0a0b3ebc4750661d192d315b0?reportId=1d0ef42e2c5400e0b08957643b3b062ef002288e7f5a105be2bfe4cc3b0fec4e&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/b62d3d839aacfaf0a0b3ebc4750661d192d315b0?reportId=1d0ef42e2c5400e0b08957643b3b062ef002288e7f5a105be2bfe4cc3b0fec4e&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,837 lines of code, plus 21,180 comment lines and 88,047 blank lines, for 748,064 total lines at commit b62d3d839aac on November 16, 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 b62d3d839aac, 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 b62d3d839aac on November 16, 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,616 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,128 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)
