Repository Analysis

sabrogden/Ditto

Ditto is an extension to the Windows Clipboard. You copy something to the Clipboard and Ditto takes what you copied and stores it in a database to retrieve at a later time.

3.1 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of sabrogden/Ditto, a C project with 6,740 GitHub stars. SynthScan v2.0 examined 192,453 lines of code across 514 source files, recording 651 pattern matches distributed across 3 syntactic categories. The overall adjusted score of 3.1 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).

3.1
Adjusted Score
3.1
Raw Score
100%
Time Factor
2026-07-07
Last Push
6.7K
Stars
C
Language
192.5K
Lines of Code
514
Files
651
Pattern Hits
2026-07-14
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

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

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 2LOW 649

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 651 distinct pattern matches across 3 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 Block649 hits · 588 pts
SeverityFileLineSnippetContext
LOWresource.h1//{{NO_DEPENDENCIES}}COMMENT
LOWresource.h21#define IDR_EDIT_WND_FORMAT_200 135COMMENT
LOWresource.h41#define IDD_MOVE_TO_GROUP 156COMMENT
LOWresource.h61#define IDB_COG_16_16 183COMMENT
LOWresource.h81#define IDB_CLOSE_16_16 201COMMENT
LOWresource.h101#define IDB_PNG7 221COMMENT
LOWresource.h121#define IDR_DESC_OPTIONS_MENU 238COMMENT
LOWresource.h141#define IDB_PNG10 273COMMENT
LOWresource.h161#define return_32 292COMMENT
LOWresource.h181#define maximize_28 310COMMENT
LOWresource.h201#define IDB_PNG20 332COMMENT
LOWresource.h221#define system_menu_84 357COMMENT
LOWresource.h241#define minimize_40 378COMMENT
LOWresource.h261#define IDC_SELECT 1003COMMENT
LOWresource.h281#define IDC_EDIT_DESCRIPTION 1017COMMENT
LOWresource.h301#define IDC_NAMED_PASTE 1027COMMENT
LOWresource.h321#define IDC_BUTTON_REFRESH 1040COMMENT
LOWresource.h341#define IDC_PLAY_SOUND_2 1043COMMENT
LOWresource.h361#define IDR_QUICK_PASTE 2005COMMENT
LOWresource.h381#define IDC_REPAIR 2019COMMENT
LOWresource.h401#define IDC_HOTKEY9 2032COMMENT
LOWresource.h421#define IDC_STATIC_DATE 2040COMMENT
LOWresource.h441#define IDC_CHECK_WIN4 2045COMMENT
LOWresource.h461#define IDC_STATIC_8 2059COMMENT
LOWresource.h481#define IDC_COMBO_LANGUAGE 2070COMMENT
LOWresource.h501#define IDC_COPY_2 2089COMMENT
LOWresource.h521#define IDC_COPY_3 2099COMMENT
LOWresource.h541#define IDC_STATIC_CUT_3 2107COMMENT
LOWresource.h561#define IDC_STATIC_SELECTED_SIZE_TEXT 2116COMMENT
LOWresource.h581#define IDC_BUTTON_ADD_SCRIPT 2124COMMENT
LOWresource.h601#define IDC_RADIO_MOUSE 2130COMMENT
LOWresource.h621#define IDC_BUTTON3 2144COMMENT
LOWresource.h641#define IDC_STATIC_SCRIPT 2163COMMENT
LOWresource.h661#define ID_MENU_PROPERTIES 32776COMMENT
LOWresource.h681#define ID_SORT_DESCENDING 32797COMMENT
LOWresource.h701#define ID_MENU_VIEWGROUPS 32819COMMENT
LOWresource.h721#define ID_MENU_GROUPS_MOVETOGROUP 32840COMMENT
LOWresource.h741#define ID_BUTTON_CLOSE 32864COMMENT
LOWresource.h761#define ID_QUICKOPTIONS_SHOWINTASKBAR 32885COMMENT
LOWresource.h781#define ID_MENU_SAVECURRENTCLIPBOARD 32905COMMENT
LOWresource.h801#define ID_GROUPS_TOGGLELASTGROUP 32925COMMENT
LOWresource.h821#define ID_SPECIALPASTE_PASTE32945 32945COMMENT
LOWresource.h841#define ID_FIRST_OPTIONS 32965COMMENT
LOWresource.h861#define BUTTON_FONT 32985COMMENT
LOWresource.h881//COMMENT
LOWICU_Loader/pch.h1// pch.h: This is a precompiled header file.COMMENT
LOWICU_Loader/targetver.h1#pragma onceCOMMENT
LOWICU_Loader/sqlite3.h41extern "C" {COMMENT
LOWICU_Loader/sqlite3.h421#define SQLITE_OK 0 /* Successful result */COMMENT
LOWICU_Loader/sqlite3.h441#define SQLITE_CONSTRAINT 19 /* Abort due to constraint violation */COMMENT
LOWICU_Loader/sqlite3.h481#define SQLITE_IOERR_FSTAT (SQLITE_IOERR | (7<<8))COMMENT
LOWICU_Loader/sqlite3.h501#define SQLITE_IOERR_VNODE (SQLITE_IOERR | (27<<8))COMMENT
LOWICU_Loader/sqlite3.h521#define SQLITE_READONLY_RECOVERY (SQLITE_READONLY | (1<<8))COMMENT
LOWICU_Loader/sqlite3.h541#define SQLITE_WARNING_AUTOINDEX (SQLITE_WARNING | (1<<8))COMMENT
LOWICU_Loader/sqlite3.h561#define SQLITE_OPEN_MAIN_DB 0x00000100 /* VFS only */COMMENT
LOWICU_Loader/sqlite3.h621#define SQLITE_IOCAP_ATOMIC64K 0x00000100COMMENT
LOWICU_Loader/sqlite3.h1141#define SQLITE_FCNTL_OVERWRITE 11COMMENT
LOWICU_Loader/sqlite3.h1161#define SQLITE_FCNTL_COMMIT_ATOMIC_WRITE 32COMMENT
LOWICU_Loader/sqlite3.h2021** [sqlite3_int64] parameter which is the default maximum size for an in-memoryCOMMENT
LOWICU_Loader/sqlite3.h2041/* previously SQLITE_CONFIG_CHUNKALLOC 12 which is now unused. */ COMMENT
589 more matches not shown…
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMsrc/chaiscript/chaiscript.hpp18/// seamless integration with C++ on all levels, including shared_ptr objects, functors and exceptions.COMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMsrc/NTray.cpp142 5. Demo app now initially creates the first icon as hidden for demonstration purposes.CODE