Repository Analysis

open-source-parsers/jsoncpp

A C++ library for interacting with JSON.

4.4 Likely human-written View on GitHub

Analysis Overview

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).

4.4
Adjusted Score
4.4
Raw Score
100%
Time Factor
2026-07-29
Last Push
8.9K
Stars
C++
Language
16.7K
Lines of Code
176
Files
74
Pattern Hits
2026-08-02
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

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.

CRITICAL 0HIGH 0MEDIUM 0LOW 74

Directory Score Breakdown

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.

Pattern Findings

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.

Over-Commented Block48 hits · 48 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt1# vim: et ts=4 sts=4 sw=4 tw=0COMMENT
LOWgcovr.cfg1# Newer versions of gcovr have strict function merging by default, whichCOMMENT
LOWtest/data/legacy_test_real_08.json1// Out of 32-bit integer range, switch to double in 32-bit mode. Length theCOMMENT
LOWtest/data/legacy_test_real_09.json1// Out of 64-bit integer range, switch to double in all modes. Length the sameCOMMENT
LOWtest/data/legacy_test_real_10.json1// Out of 32-bit signed integer range, switch to double in all modes. LengthCOMMENT
LOWtest/data/legacy_test_real_11.json1// Out of 64-bit signed integer range, switch to double in all modes. LengthCOMMENT
LOWinclude/json/reader.h1// Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp AuthorsCOMMENT
LOWinclude/json/version.h1#ifndef JSON_VERSION_H_INCLUDEDCOMMENT
LOWinclude/json/version.h21#if !defined(JSONCPP_USE_SECURE_MEMORY)COMMENT
LOWinclude/json/assertions.h1// Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp AuthorsCOMMENT
LOWinclude/json/config.h1// Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp AuthorsCOMMENT
LOWinclude/json/config.h21#endifCOMMENT
LOWinclude/json/config.h41COMMENT
LOWinclude/json/config.h61extern JSON_API int msvc_pre1900_c99_snprintf(char* outBuf, size_t size,COMMENT
LOWinclude/json/config.h81#elif defined(__GNUC__) // not clang (gcc comes later since clang emulates gcc)COMMENT
LOWinclude/json/value.h1// Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp AuthorsCOMMENT
LOWinclude/json/value.h21#endifCOMMENT
LOWinclude/json/value.h41COMMENT
LOWinclude/json/value.h461 /// \post type() is unchangedCOMMENT
LOWinclude/json/value.h481 ///@{COMMENT
LOWinclude/json/value.h641 /// \param key may contain embedded nulls.COMMENT
LOWinclude/json/value.h881 return other.computeDistance(*this);COMMENT
LOWinclude/json/allocator.h1// Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp AuthorsCOMMENT
LOWinclude/json/json.h1// Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp AuthorsCOMMENT
LOWinclude/json/writer.h1// Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp AuthorsCOMMENT
LOWinclude/json/writer.h361COMMENT
LOWinclude/json/json_features.h1// Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp AuthorsCOMMENT
LOWdevtools/__init__.py1# Copyright 2010 Baptiste Lepilleur and The JsonCpp AuthorsCOMMENT
LOWdevtools/fixeol.py41## includes = '**/*.py **/wscript **/wscript_build',COMMENT
LOWdevtools/fixeol.py61## passCOMMENT
LOWsrc/test_lib_json/jsontest.h1// Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp AuthorsCOMMENT
LOWsrc/test_lib_json/jsontest.cpp1// Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp AuthorsCOMMENT
LOWsrc/test_lib_json/jsontest.cpp21#define NOMCXCOMMENT
LOWsrc/test_lib_json/jsontest.cpp41#define NOCOLORCOMMENT
LOWsrc/test_lib_json/jsontest.cpp61#define NOCLIPBOARDCOMMENT
LOWsrc/test_lib_json/jsontest.cpp341#if defined(_MSC_VER) && defined(_DEBUG)COMMENT
LOWsrc/test_lib_json/fuzz.h1// Copyright 2007-2010 The JsonCpp AuthorsCOMMENT
LOWsrc/test_lib_json/main.cpp1// Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp AuthorsCOMMENT
LOWsrc/test_lib_json/main.cpp21#include <iterator>COMMENT
LOWsrc/test_lib_json/main.cpp41#define kuint32max Json::Value::maxUIntCOMMENT
LOWsrc/test_lib_json/main.cpp4401COMMENT
LOWsrc/jsontestrunner/main.cpp1// Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp AuthorsCOMMENT
LOWsrc/lib_json/json_writer.cpp1// Copyright 2011 Baptiste Lepilleur and The JsonCpp AuthorsCOMMENT
LOWsrc/lib_json/json_reader.cpp1// Copyright 2007-2011 Baptiste Lepilleur and The JsonCpp AuthorsCOMMENT
LOWsrc/lib_json/json_reader.cpp21#include <memory>COMMENT
LOWsrc/lib_json/json_tool.h1// Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp AuthorsCOMMENT
LOWsrc/lib_json/json_value.cpp1// Copyright 2011 Baptiste Lepilleur and The JsonCpp AuthorsCOMMENT
LOWsrc/lib_json/json_value.cpp61// kNull must be word-aligned to avoid crashing on ARM. We use an alignment ofCOMMENT
Unused Imports16 hits · 16 pts
SeverityFileLineSnippetContext
LOWdoxybuild.py3CODE
LOWdoxybuild.py4CODE
LOWtest/rununittests.py6CODE
LOWtest/rununittests.py7CODE
LOWtest/rununittests.py8CODE
LOWtest/rununittests.py9CODE
LOWtest/rununittests.py14CODE
LOWtest/pyjsontestrunner.py9CODE
LOWtest/generate_expected.py6CODE
LOWtest/runjsontests.py6CODE
LOWtest/runjsontests.py7CODE
LOWtest/runjsontests.py13CODE
LOWdevtools/antglob.py8CODE
LOWdevtools/batchbuild.py1CODE
LOWdevtools/fixeol.py6CODE
LOWdevtools/licenseupdater.py3CODE
Deep Nesting7 hits · 7 pts
SeverityFileLineSnippetContext
LOWdoxybuild.py26CODE
LOWtest/pyjsontestrunner.py25CODE
LOWtest/runjsontests.py69CODE
LOWdevtools/antglob.py62CODE
LOWdevtools/batchbuild.py111CODE
LOWdevtools/batchbuild.py177CODE
LOWdevtools/tarball.py12CODE
Hyper-Verbose Identifiers3 hits · 2 pts
SeverityFileLineSnippetContext
LOWdevtools/batchbuild.py89 def _execute_build_subprocess(self, cmd, env, log_path):CODE
LOWdevtools/batchbuild.py111def load_build_variants_from_config(config_path):CODE
LOWdevtools/licenseupdater.py46def update_license_in_source_directories(source_dirs, dry_run, show_diff):STRING