nlohmann/json has 89,569 source lines of code out of 129,774 total lines across 140 files, counted with tokei from the develop ref at commit abbc29963a3f on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-15 (commit abbc29963a3f), nlohmann/json contains 129,774 total lines: 89,569 code, 27,880 comments, 12,325 blank, across 140 files in 15 languages (top language: C++ Header 96.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving nlohmann/json to commit abbc29963a3f, 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.
This is a medium-sized codebase by counted code lines. Code represents 69.0% of all lines, comments represent 21.5%, and the repository averages 640 code lines per file. C++ Header accounts for 96.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ Header | 85 | 121955 | 86334 | 24610 | 11011 |
| CMake | 9 | 2237 | 1588 | 409 | 240 |
| Python | 5 | 1084 | 790 | 123 | 171 |
| Meson | 2 | 187 | 169 | 8 | 10 |
| Makefile | 1 | 266 | 145 | 71 | 50 |
| Jinja2 | 1 | 138 | 125 | 5 | 8 |
| Bazel | 2 | 125 | 119 | 0 | 6 |
| C++ | 2 | 139 | 102 | 21 | 16 |
| Autoconf | 4 | 84 | 61 | 13 | 10 |
| TOML | 1 | 58 | 49 | 0 | 9 |
| C++ Module | 1 | 73 | 44 | 19 | 10 |
| JSON | 3 | 25 | 25 | 0 | 0 |
Top language: C++ Header 96.4%. Generated on .
nlohmann/json: 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.
nlohmann/json has 89,569 lines of code, plus 27,880 comment lines and 12,325 blank lines, for 129,774 total lines at commit abbc29963a3f on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit abbc29963a3f, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from develop at commit abbc29963a3f on November 15, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for nlohmann/json on this page — 89,569 code lines across 15 languages, counted by tokei.