nlohmann/json SLOC report
As of 2026-08-06 (commit 1c136a66c4f5), nlohmann/json contains 187,982 total lines: 118,186 code, 41,830 comments, 27,966 blank, across 877 files in 26 languages (top: C++ Header 45.9%). Counted with tokei via OctoCounts.
Repository size insights
This is a large codebase by counted code lines. Code represents 62.9% of all lines, comments represent 22.3%, and the repository averages 135 code lines per file. C++ Header accounts for 45.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| C++ Header | 57 | 76828 | 54259 | 13584 | 8985 |
| C++ | 423 | 64886 | 50790 | 5398 | 8698 |
| C Header | 17 | 8619 | 6804 | 721 | 1094 |
| CMake | 43 | 2897 | 2104 | 422 | 371 |
| SVG | 12 | 1943 | 1923 | 8 | 12 |
| Python | 7 | 1149 | 842 | 126 | 181 |
| YAML | 1 | 428 | 411 | 7 | 10 |
| Makefile | 5 | 475 | 284 | 98 | 93 |
| SQL | 1 | 244 | 238 | 3 | 3 |
| Module-Definition | 2 | 165 | 162 | 0 | 3 |
| Bazel | 4 | 93 | 87 | 0 | 6 |
| Autoconf | 5 | 48 | 39 | 4 | 5 |
Top language (C++ Header 45.9%). Generated at 2026-08-06T06:45:35.546587486+00:00.
Report FAQ
How many lines of code does nlohmann/json have?
nlohmann/json has 187,982 total lines, including 118,186 code lines, 41,830 comment lines, and 27,966 blank lines.
How was the nlohmann/json line count measured?
OctoCounts resolved the public GitHub repository to commit 1c136a66c4f5, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for nlohmann/json?
This OctoCounts report was generated from develop at commit 1c136a66c4f5 on 2026-08-06T06:45:35.546587486+00:00.