# SDUOJ/sduoj-server SLOC report

> As of 2026-11-23 (commit 4d55e767d731), SDUOJ/sduoj-server contains 20,186 total lines: 12,453 code, 4,457 comments, 3,276 blank, across 349 files in 10 languages (top language: Java 89.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

Source: [SDUOJ/sduoj-server on GitHub](https://github.com/SDUOJ/sduoj-server) · counted commit [4d55e767d731](https://github.com/SDUOJ/sduoj-server/tree/4d55e767d7311e7c0ed7288f32ee1cc1a5e4acfa)

SDUOJ/sduoj-server has 12,453 source lines of code out of 20,186 total lines across 349 files, counted with tokei from the stable ref at commit 4d55e767d731 on November 23, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving SDUOJ/sduoj-server to commit 4d55e767d731, 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

SDUOJ/sduoj-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 medium-sized codebase by counted code lines. Code represents 61.7% of all lines, comments represent 22.1%, and the repository averages 36 code lines per file. Java accounts for 89.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 306 | 18,279 | 11,082 | 4,125 | 3,072 |
| XML | 5 | 650 | 552 | 74 | 24 |
| Kotlin | 24 | 607 | 436 | 73 | 98 |
| YAML | 8 | 202 | 194 | 0 | 8 |
| Shell | 1 | 234 | 100 | 109 | 25 |
| Batch | 1 | 89 | 68 | 0 | 21 |
| Dockerfile | 1 | 31 | 21 | 1 | 9 |
| Markdown | 1 | 77 | 0 | 62 | 15 |
| Plain Text | 1 | 13 | 0 | 10 | 3 |
| SQL | 1 | 4 | 0 | 3 | 1 |

Top language: Java 89.0%. Generated on November 23, 2026. Canonical report: https://octocounts.com/github/SDUOJ/sduoj-server

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/SDUOJ/sduoj-server/commit/4d55e767d7311e7c0ed7288f32ee1cc1a5e4acfa?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=60ea3810a44c66eb2f07057178b51cdb7e21d8112f9b51889cd929a1fd183baf).

## Report FAQ

### How many lines of code does SDUOJ/sduoj-server have?

SDUOJ/sduoj-server has 12,453 lines of code, plus 4,457 comment lines and 3,276 blank lines, for 20,186 total lines at commit 4d55e767d731 on November 23, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the SDUOJ/sduoj-server line count measured?

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

### What commit was counted for SDUOJ/sduoj-server?

This OctoCounts report was generated from stable at commit 4d55e767d731 on November 23, 2026.

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