# Mogara/QSanguosha SLOC report

> Mogara/QSanguosha: 193,901 code lines at commit 85baa7489157, counted with tokei-15.0.0 on 2026-10-31. Saved result 87d79a71130bfbf56e632f8337efbe1a332dfdf73f64e6c44f8da474cde0c76a.

Mogara/QSanguosha has 193,901 source lines of code out of 289,892 total lines across 853 files, counted with tokei from the master ref at commit 85baa7489157 on October 31, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving Mogara/QSanguosha to commit 85baa7489157, 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

Mogara/QSanguosha: 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 66.9% of all lines, comments represent 19.7%, and the repository averages 227 code lines per file. C++ accounts for 44.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 231 | 114,281 | 86,643 | 11,838 | 15,800 |
| C Header | 425 | 87,786 | 36,513 | 38,096 | 13,177 |
| C | 70 | 35,732 | 27,365 | 3,381 | 4,986 |
| Lua | 60 | 26,766 | 21,424 | 2,274 | 3,068 |
| Visual Studio Project | 10 | 10,497 | 10,497 | 0 | 0 |
| TypeScript | 1 | 4,238 | 4,238 | 0 | 0 |
| SWIG | 9 | 4,515 | 3,303 | 295 | 917 |
| JSON | 10 | 1,146 | 1,073 | 0 | 73 |
| CSS | 2 | 751 | 653 | 10 | 88 |
| Prolog | 1 | 566 | 533 | 0 | 33 |
| C++ Header | 3 | 627 | 423 | 102 | 102 |
| HTML | 4 | 392 | 390 | 0 | 2 |
| GNU Style Assembly | 2 | 503 | 270 | 145 | 88 |
| Visual Studio Solution | 3 | 162 | 159 | 0 | 3 |
| QML | 1 | 151 | 122 | 19 | 10 |
| JavaScript | 1 | 137 | 94 | 29 | 14 |
| Makefile | 1 | 99 | 70 | 11 | 18 |
| XML | 3 | 69 | 50 | 10 | 9 |
| Protocol Buffers | 1 | 207 | 41 | 127 | 39 |
| SQL | 1 | 17 | 17 | 0 | 0 |
| Shell | 3 | 110 | 17 | 87 | 6 |
| Batch | 2 | 8 | 6 | 0 | 2 |
| Markdown | 2 | 301 | 0 | 232 | 69 |
| Plain Text | 7 | 831 | 0 | 564 | 267 |

Top language: C++ 44.7%. Generated on October 31, 2026. Canonical report: https://octocounts.com/github/Mogara/QSanguosha/commit/85baa7489157c023bb2528a40ce4ef4e12863387?reportId=87d79a71130bfbf56e632f8337efbe1a332dfdf73f64e6c44f8da474cde0c76a&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/Mogara/QSanguosha/commit/85baa7489157c023bb2528a40ce4ef4e12863387?reportId=87d79a71130bfbf56e632f8337efbe1a332dfdf73f64e6c44f8da474cde0c76a&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 Mogara/QSanguosha have?

Mogara/QSanguosha has 193,901 lines of code, plus 57,220 comment lines and 38,771 blank lines, for 289,892 total lines at commit 85baa7489157 on October 31, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the Mogara/QSanguosha line count measured?

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

### What commit was counted for Mogara/QSanguosha?

This OctoCounts report was generated from master at commit 85baa7489157 on October 31, 2026.

## Similar repository reports

- [community-shaders/skyrim-community-shaders](https://octocounts.com/github/community-shaders/skyrim-community-shaders) — C++, 195,128 code lines
- [tsdgeos/poppler_mirror](https://octocounts.com/github/tsdgeos/poppler_mirror) — C++, 196,140 code lines
- [openscad/openscad](https://octocounts.com/github/openscad/openscad) — C++, 196,308 code lines
- [WacKEDmaN/CPCSyntaxError](https://octocounts.com/github/WacKEDmaN/CPCSyntaxError) — C++, 196,494 code lines
- [facebookresearch/faiss](https://octocounts.com/github/facebookresearch/faiss) — C++, 190,787 code lines
- [SaschaWillems/Vulkan](https://octocounts.com/github/SaschaWillems/Vulkan) — C++, 189,073 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [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)
