# Tencent/rapidjson SLOC report

> Tencent/rapidjson: 21,118 code lines at commit 297637bc0a0f, counted with tokei-15.0.0 on 2026-11-03. Saved result 040444660f8077295990922a9e9f30cc653e47405a3918f5323b8606ba8be378.

Tencent/rapidjson has 21,118 source lines of code out of 28,889 total lines across 150 files, counted with tokei from the master ref at commit 297637bc0a0f on November 3, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving Tencent/rapidjson to commit 297637bc0a0f, 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

Tencent/rapidjson: 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 73.1% of all lines, comments represent 15.8%, and the repository averages 141 code lines per file. C Header accounts for 61.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C Header | 39 | 19,207 | 12,984 | 3,781 | 2,442 |
| JSON | 69 | 5,635 | 5,630 | 0 | 5 |
| C++ | 21 | 2,691 | 2,014 | 226 | 451 |
| CMake | 3 | 333 | 260 | 22 | 51 |
| YAML | 1 | 115 | 106 | 4 | 5 |
| Shell | 1 | 128 | 87 | 20 | 21 |
| Autoconf | 3 | 40 | 25 | 6 | 9 |
| INI | 1 | 8 | 7 | 0 | 1 |
| Dockerfile | 1 | 8 | 3 | 2 | 3 |
| JavaScript | 1 | 2 | 2 | 0 | 0 |
| Markdown | 5 | 659 | 0 | 477 | 182 |
| Plain Text | 5 | 63 | 0 | 40 | 23 |

Top language: C Header 61.5%. Generated on November 3, 2026. Canonical report: https://octocounts.com/github/Tencent/rapidjson/commit/297637bc0a0f00dc504dbc1a47ebdaa577f8ae19?reportId=040444660f8077295990922a9e9f30cc653e47405a3918f5323b8606ba8be378&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/Tencent/rapidjson/commit/297637bc0a0f00dc504dbc1a47ebdaa577f8ae19?reportId=040444660f8077295990922a9e9f30cc653e47405a3918f5323b8606ba8be378&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 Tencent/rapidjson have?

Tencent/rapidjson has 21,118 lines of code, plus 4,578 comment lines and 3,193 blank lines, for 28,889 total lines at commit 297637bc0a0f on November 3, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the Tencent/rapidjson line count measured?

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

### What commit was counted for Tencent/rapidjson?

This OctoCounts report was generated from master at commit 297637bc0a0f on November 3, 2026.

## Similar repository reports

- [MafiaHub/MafiaMP](https://octocounts.com/github/MafiaHub/MafiaMP) — C Header, 21,911 code lines
- [gabime/spdlog](https://octocounts.com/github/gabime/spdlog) — C Header, 22,771 code lines
- [vxtandevarmani/Sleep-Obfuscation](https://octocounts.com/github/vxtandevarmani/Sleep-Obfuscation) — C Header, 18,692 code lines
- [Oldcustard/BioForge](https://octocounts.com/github/Oldcustard/BioForge) — C Header, 18,432 code lines
- [charles-lunarg/vk-bootstrap](https://octocounts.com/github/charles-lunarg/vk-bootstrap) — C Header, 24,754 code lines
- [pybind/pybind11](https://octocounts.com/github/pybind/pybind11) — C Header, 24,838 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)
- [nlohmann/json vs RapidJSON](https://octocounts.com/compare/nlohmann-json-vs-rapidjson)
- [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)
