A C++ library for interacting with JSON.
This report presents the forensic synthetic code analysis of open-source-parsers/jsoncpp, a C++ project with 8,879 GitHub stars. SynthScan v2.0 examined 16,668 lines of code across 176 source files, recording 74 pattern matches distributed across 4 syntactic categories. The overall adjusted score of 4.4 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 74 distinct pattern matches across 4 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CMakeLists.txt | 1 | # vim: et ts=4 sts=4 sw=4 tw=0 | COMMENT |
| LOW | gcovr.cfg | 1 | # Newer versions of gcovr have strict function merging by default, which | COMMENT |
| LOW | test/data/legacy_test_real_08.json | 1 | // Out of 32-bit integer range, switch to double in 32-bit mode. Length the | COMMENT |
| LOW | test/data/legacy_test_real_09.json | 1 | // Out of 64-bit integer range, switch to double in all modes. Length the same | COMMENT |
| LOW | test/data/legacy_test_real_10.json | 1 | // Out of 32-bit signed integer range, switch to double in all modes. Length | COMMENT |
| LOW | test/data/legacy_test_real_11.json | 1 | // Out of 64-bit signed integer range, switch to double in all modes. Length | COMMENT |
| LOW | include/json/reader.h | 1 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors | COMMENT |
| LOW | include/json/version.h | 1 | #ifndef JSON_VERSION_H_INCLUDED | COMMENT |
| LOW | include/json/version.h | 21 | #if !defined(JSONCPP_USE_SECURE_MEMORY) | COMMENT |
| LOW | include/json/assertions.h | 1 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors | COMMENT |
| LOW | include/json/config.h | 1 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors | COMMENT |
| LOW | include/json/config.h | 21 | #endif | COMMENT |
| LOW | include/json/config.h | 41 | COMMENT | |
| LOW | include/json/config.h | 61 | extern JSON_API int msvc_pre1900_c99_snprintf(char* outBuf, size_t size, | COMMENT |
| LOW | include/json/config.h | 81 | #elif defined(__GNUC__) // not clang (gcc comes later since clang emulates gcc) | COMMENT |
| LOW | include/json/value.h | 1 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors | COMMENT |
| LOW | include/json/value.h | 21 | #endif | COMMENT |
| LOW | include/json/value.h | 41 | COMMENT | |
| LOW | include/json/value.h | 461 | /// \post type() is unchanged | COMMENT |
| LOW | include/json/value.h | 481 | ///@{ | COMMENT |
| LOW | include/json/value.h | 641 | /// \param key may contain embedded nulls. | COMMENT |
| LOW | include/json/value.h | 881 | return other.computeDistance(*this); | COMMENT |
| LOW | include/json/allocator.h | 1 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors | COMMENT |
| LOW | include/json/json.h | 1 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors | COMMENT |
| LOW | include/json/writer.h | 1 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors | COMMENT |
| LOW | include/json/writer.h | 361 | COMMENT | |
| LOW | include/json/json_features.h | 1 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors | COMMENT |
| LOW | devtools/__init__.py | 1 | # Copyright 2010 Baptiste Lepilleur and The JsonCpp Authors | COMMENT |
| LOW | devtools/fixeol.py | 41 | ## includes = '**/*.py **/wscript **/wscript_build', | COMMENT |
| LOW | devtools/fixeol.py | 61 | ## pass | COMMENT |
| LOW | src/test_lib_json/jsontest.h | 1 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors | COMMENT |
| LOW | src/test_lib_json/jsontest.cpp | 1 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors | COMMENT |
| LOW | src/test_lib_json/jsontest.cpp | 21 | #define NOMCX | COMMENT |
| LOW | src/test_lib_json/jsontest.cpp | 41 | #define NOCOLOR | COMMENT |
| LOW | src/test_lib_json/jsontest.cpp | 61 | #define NOCLIPBOARD | COMMENT |
| LOW | src/test_lib_json/jsontest.cpp | 341 | #if defined(_MSC_VER) && defined(_DEBUG) | COMMENT |
| LOW | src/test_lib_json/fuzz.h | 1 | // Copyright 2007-2010 The JsonCpp Authors | COMMENT |
| LOW | src/test_lib_json/main.cpp | 1 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors | COMMENT |
| LOW | src/test_lib_json/main.cpp | 21 | #include <iterator> | COMMENT |
| LOW | src/test_lib_json/main.cpp | 41 | #define kuint32max Json::Value::maxUInt | COMMENT |
| LOW | src/test_lib_json/main.cpp | 4401 | COMMENT | |
| LOW | src/jsontestrunner/main.cpp | 1 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors | COMMENT |
| LOW | src/lib_json/json_writer.cpp | 1 | // Copyright 2011 Baptiste Lepilleur and The JsonCpp Authors | COMMENT |
| LOW | src/lib_json/json_reader.cpp | 1 | // Copyright 2007-2011 Baptiste Lepilleur and The JsonCpp Authors | COMMENT |
| LOW | src/lib_json/json_reader.cpp | 21 | #include <memory> | COMMENT |
| LOW | src/lib_json/json_tool.h | 1 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors | COMMENT |
| LOW | src/lib_json/json_value.cpp | 1 | // Copyright 2011 Baptiste Lepilleur and The JsonCpp Authors | COMMENT |
| LOW | src/lib_json/json_value.cpp | 61 | // kNull must be word-aligned to avoid crashing on ARM. We use an alignment of | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | doxybuild.py | 3 | CODE | |
| LOW | doxybuild.py | 4 | CODE | |
| LOW | test/rununittests.py | 6 | CODE | |
| LOW | test/rununittests.py | 7 | CODE | |
| LOW | test/rununittests.py | 8 | CODE | |
| LOW | test/rununittests.py | 9 | CODE | |
| LOW | test/rununittests.py | 14 | CODE | |
| LOW | test/pyjsontestrunner.py | 9 | CODE | |
| LOW | test/generate_expected.py | 6 | CODE | |
| LOW | test/runjsontests.py | 6 | CODE | |
| LOW | test/runjsontests.py | 7 | CODE | |
| LOW | test/runjsontests.py | 13 | CODE | |
| LOW | devtools/antglob.py | 8 | CODE | |
| LOW | devtools/batchbuild.py | 1 | CODE | |
| LOW | devtools/fixeol.py | 6 | CODE | |
| LOW | devtools/licenseupdater.py | 3 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | doxybuild.py | 26 | CODE | |
| LOW | test/pyjsontestrunner.py | 25 | CODE | |
| LOW | test/runjsontests.py | 69 | CODE | |
| LOW | devtools/antglob.py | 62 | CODE | |
| LOW | devtools/batchbuild.py | 111 | CODE | |
| LOW | devtools/batchbuild.py | 177 | CODE | |
| LOW | devtools/tarball.py | 12 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | devtools/batchbuild.py | 89 | def _execute_build_subprocess(self, cmd, env, log_path): | CODE |
| LOW | devtools/batchbuild.py | 111 | def load_build_variants_from_config(config_path): | CODE |
| LOW | devtools/licenseupdater.py | 46 | def update_license_in_source_directories(source_dirs, dry_run, show_diff): | STRING |