nlohmann/json SLOC report

As of 2026-09-08 (commit 7b2d73cf2e44), nlohmann/json contains 63,626 total lines: 40,672 code, 15,310 comments, 7,644 blank, across 94 files in 14 languages (top: C++ Header 94.2%). Counted with tokei via OctoCounts.

As of 2026-09-08 (commit 7b2d73cf2e44), nlohmann/json contains 63,626 total lines: 40,672 code, 15,310 comments, 7,644 blank, across 94 files in 14 languages (top: C++ Header 94.2%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving nlohmann/json to commit 7b2d73cf2e44, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

Repository size insights

This is a medium-sized codebase by counted code lines. Code represents 63.9% of all lines, comments represent 24.1%, and the repository averages 433 code lines per file. C++ Header accounts for 94.2% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++ Header49542573833096486279
CMake818301339284207
Python479156899124
Makefile12661486256
Bazel2878106
C++27457611
Jinja21403604
Autoconf3423345
C++ Module15226179
Meson1242004
Swift1221822
JSON2161600

Top language (C++ Header 94.2%). Generated at 2026-09-08T03:41:56.811200468+00:00.

Report FAQ

How many lines of code does nlohmann/json have?

nlohmann/json has 63,626 total lines, including 40,672 code lines, 15,310 comment lines, and 7,644 blank lines.

How was the nlohmann/json line count measured?

OctoCounts resolved the public GitHub repository to commit 7b2d73cf2e44, 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 7b2d73cf2e443adbe7903754f912ed95b42504f1 at commit 7b2d73cf2e44 on 2026-09-08T03:41:56.811200468+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: