# theonedev/onedev SLOC report

> theonedev/onedev: 638,657 code lines at commit e0d388233842, counted with tokei-15.0.0 on 2026-11-09. Saved result 804c0570cef24855e01fb8739fe13df8baa073834c9cd68a6098842c997318bf.

Source: [theonedev/onedev on GitHub](https://github.com/theonedev/onedev) · counted commit [e0d388233842](https://github.com/theonedev/onedev/tree/e0d388233842f6b50bcd4dcc45487de88f6d4b84)

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

OctoCounts produced this report by resolving theonedev/onedev to commit e0d388233842, 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,782 | 454,923 | 370,639 | 9,712 | 74,572 |
| JavaScript | 402 | 211,247 | 194,025 | 7,512 | 9,710 |
| CSS | 268 | 33,428 | 29,962 | 719 | 2,747 |
| JSON | 5 | 22,351 | 22,351 | 0 | 0 |
| HTML | 567 | 10,644 | 10,558 | 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 9, 2026. Canonical report: https://octocounts.com/github/theonedev/onedev/commit/e0d388233842f6b50bcd4dcc45487de88f6d4b84?reportId=804c0570cef24855e01fb8739fe13df8baa073834c9cd68a6098842c997318bf&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/e0d388233842f6b50bcd4dcc45487de88f6d4b84?reportId=804c0570cef24855e01fb8739fe13df8baa073834c9cd68a6098842c997318bf&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,657 lines of code, plus 21,169 comment lines and 88,085 blank lines, for 747,911 total lines at commit e0d388233842 on November 9, 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 e0d388233842, 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 e0d388233842 on November 9, 2026.

## Similar repository reports

- [PowerNukkitX/PowerNukkitX](https://octocounts.com/github/PowerNukkitX/PowerNukkitX) — Java, 652,804 code lines
- [operaton/operaton](https://octocounts.com/github/operaton/operaton) — Java, 653,346 code lines
- [Lolfosjo/PowerNukkitX](https://octocounts.com/github/Lolfosjo/PowerNukkitX) — Java, 604,600 code lines
- [apache/hbase](https://octocounts.com/github/apache/hbase) — Java, 599,002 code lines
- [openl-tablets/openl-tablets](https://octocounts.com/github/openl-tablets/openl-tablets) — Java, 596,683 code lines
- [keycloak/keycloak](https://octocounts.com/github/keycloak/keycloak) — Java, 595,180 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)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [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)
