Repository Analysis

TheJoeFin/Text-Grab

Use OCR in Windows quickly and easily with Text Grab. With optional background process and notifications.

5.2 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of TheJoeFin/Text-Grab, a C# project with 4,817 GitHub stars. SynthScan v2.0 examined 74,210 lines of code across 230 source files, recording 145 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 5.2 places this repository in the Low AI signal 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).

5.2
Adjusted Score
5.2
Raw Score
100%
Time Factor
2026-07-13
Last Push
4.8K
Stars
C#
Language
74.2K
Lines of Code
230
Files
145
Pattern Hits
2026-07-14
Scan Date
0.07
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 14HIGH 2MEDIUM 31LOW 98

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 145 distinct pattern matches across 9 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.

Hallucination Indicators14 hits · 170 pts
SeverityFileLineSnippetContext
CRITICALText-Grab/TextGrabNotificationActivator.cs14 System.Windows.Application.Current.Dispatcher.Invoke(delegateCODE
CRITICALText-Grab/Utilities/NotifyIconUtilities.cs92 System.Windows.Application.Current.Dispatcher.Invoke(new Action(() =>CODE
CRITICALText-Grab/Utilities/NotifyIconUtilities.cs98 System.Windows.Application.Current.Dispatcher.Invoke(new Action(() =>CODE
CRITICALText-Grab/Utilities/NotifyIconUtilities.cs105 System.Windows.Application.Current.Dispatcher.Invoke(new Action(() =>CODE
CRITICALText-Grab/Utilities/NotifyIconUtilities.cs112 System.Windows.Application.Current.Dispatcher.Invoke(new Action(() =>CODE
CRITICALText-Grab/Utilities/NotifyIconUtilities.cs120 System.Windows.Application.Current.Dispatcher.Invoke(new Action(() =>CODE
CRITICALText-Grab/Utilities/NotifyIconUtilities.cs126 System.Windows.Application.Current.Dispatcher.Invoke(new Action(() =>CODE
CRITICALText-Grab/Utilities/NotifyIconUtilities.cs142 System.Windows.Application.Current.Dispatcher.Invoke(new Action(() =>CODE
CRITICALText-Grab/Utilities/NotifyIconUtilities.cs148 System.Windows.Application.Current.Dispatcher.Invoke(new Action(() =>CODE
CRITICALText-Grab/Views/EditTextWindow.xaml.cs2536 System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => { AddCopiedTextToTextBox(text); })CODE
CRITICALText-Grab/Views/EditTextWindow.xaml.cs3733 await System.Windows.Application.Current.Dispatcher.BeginInvoke(() =>CODE
CRITICALText-Grab/Views/EditTextWindow.xaml.cs4178 System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => { AddCopiedTextToTextBox(textFromCCODE
CRITICALText-Grab/Views/EditTextWindow.xaml.cs4194 System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => { AddCopiedTextToTextBox(text); })CODE
CRITICALText-Grab/Views/EditTextWindow.xaml.cs4218 System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => { AddCopiedTextToTextBox(text)CODE
Decorative Section Separators30 hits · 90 pts
SeverityFileLineSnippetContext
MEDIUMTests/GrabTemplateExecutorTests.cs8 // ── ApplyOutputTemplate – basic substitution ──────────────────────────────COMMENT
MEDIUMTests/GrabTemplateExecutorTests.cs47 // ── Modifiers ──────────────────────────────────────────────────────────────COMMENT
MEDIUMTests/GrabTemplateExecutorTests.cs81 // ── Escape sequences ──────────────────────────────────────────────────────COMMENT
MEDIUMTests/GrabTemplateExecutorTests.cs116 // ── ValidateOutputTemplate ────────────────────────────────────────────────COMMENT
MEDIUMTests/GrabTemplateExecutorTests.cs148 // ── Pattern placeholder – ApplyPatternPlaceholders ────────────────────────COMMENT
MEDIUMTests/GrabTemplateExecutorTests.cs340 // ── ExtractMatchesByMode ──────────────────────────────────────────────────COMMENT
MEDIUMTests/GrabTemplateExecutorTests.cs372 // ── Hybrid template (regions + patterns) ──────────────────────────────────COMMENT
MEDIUMTests/GrabTemplateExecutorTests.cs400 // ── GrabTemplate model ────────────────────────────────────────────────────COMMENT
MEDIUMTests/GrabTemplateExecutorTests.cs462 // ── ApplyTextOnlyTemplate ─────────────────────────────────────────────────COMMENT
MEDIUMTests/GrabTemplateExecutorTests.cs512 // ── ValidateOutputTemplate with patterns ──────────────────────────────────COMMENT
MEDIUMTests/ProtocolUtilitiesTests.cs120 // ── TryGetSafeProtocolFilePath ────────────────────────────────────────────COMMENT
MEDIUMText-Grab/Utilities/GrabTemplateManager.cs46 // ── File path ─────────────────────────────────────────────────────────────COMMENT
MEDIUMText-Grab/Utilities/GrabTemplateManager.cs126 // ── Read ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMText-Grab/Utilities/GrabTemplateManager.cs163 // ── Write ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMText-Grab/Utilities/GrabTemplateManager.cs230 // ── ButtonInfo bridge ─────────────────────────────────────────────────────COMMENT
MEDIUMText-Grab/Utilities/GrabTemplateExecutor.cs51 // ── Public API ────────────────────────────────────────────────────────────COMMENT
MEDIUMText-Grab/Utilities/GrabTemplateExecutor.cs284 // ── Pattern placeholder processing ──────────────────────────────────────COMMENT
MEDIUMText-Grab/Utilities/GrabTemplateExecutor.cs456 // ── Private helpers ───────────────────────────────────────────────────────COMMENT
MEDIUMText-Grab/Services/CalculationService.UnitMath.cs52 // ══════════════════════════════════════════════════════════════COMMENT
MEDIUMText-Grab/Services/CalculationService.UnitMath.cs54 // ══════════════════════════════════════════════════════════════COMMENT
MEDIUMText-Grab/Services/CalculationService.UnitMath.cs83 // ══════════════════════════════════════════════════════════════COMMENT
MEDIUMText-Grab/Services/CalculationService.UnitMath.cs85 // ══════════════════════════════════════════════════════════════COMMENT
MEDIUMText-Grab/Services/CalculationService.UnitMath.cs114 // ══════════════════════════════════════════════════════════════COMMENT
MEDIUMText-Grab/Services/CalculationService.UnitMath.cs116 // ══════════════════════════════════════════════════════════════COMMENT
MEDIUMText-Grab/Services/CalculationService.UnitMath.cs127 // ══════════════════════════════════════════════════════════════COMMENT
MEDIUMText-Grab/Services/CalculationService.UnitMath.cs129 // ══════════════════════════════════════════════════════════════COMMENT
MEDIUMText-Grab/Services/CalculationService.UnitMath.cs162 // ══════════════════════════════════════════════════════════════COMMENT
MEDIUMText-Grab/Services/CalculationService.UnitMath.cs164 // ══════════════════════════════════════════════════════════════COMMENT
MEDIUMText-Grab/Services/CalculationService.UnitMath.cs186 // ══════════════════════════════════════════════════════════════COMMENT
MEDIUMText-Grab/Services/CalculationService.UnitMath.cs188 // ══════════════════════════════════════════════════════════════COMMENT
Over-Commented Block76 hits · 64 pts
SeverityFileLineSnippetContext
LOWText-Grab/App.xaml.cs161 // for now this is best but... not idealCOMMENT
LOWText-Grab/App.xaml.cs181 //Dictionary<string, SolidColorBrush> brushes = new()COMMENT
LOWText-Grab/OSInterop.cs221 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs241 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs261 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs281 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs301 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs321 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs341 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs361 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs381 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs401 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs421 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs441 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs461 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs481 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs501 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs521 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs541 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs561 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs581 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs601 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs621 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs641 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs661 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs681 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs701 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs721 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs741 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs761 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs781 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs801 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs821 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs841 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs861 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs881 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs901 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs921 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs941 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs961 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs981 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs1001 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs1021 /// <summary>COMMENT
LOWText-Grab/OSInterop.cs1041 EXSEL = 0xF8,COMMENT
LOWText-Grab/OSInterop.cs1261 /// <summary>COMMENT
LOWText-Grab/Models/StoredRegex.cs21 /// The actual regex patternCOMMENT
LOWText-Grab/Models/GrabTemplate.cs1using System;COMMENT
LOWText-Grab/Models/GrabTemplate.cs21/// {p:Name:2} — 2nd match (1-based)COMMENT
LOWText-Grab/Models/GrabTemplate.cs41 /// <summary>Date this template was created.</summary>COMMENT
LOWText-Grab/Models/GrabTemplate.cs61 public double ReferenceImageHeight { get; set; } = 600;COMMENT
LOWText-Grab/Models/PostGrabContext.cs1using System.Windows;COMMENT
LOWText-Grab/Models/TemplatePatternMatch.cs1using System;COMMENT
LOWText-Grab/Models/TemplatePatternMatch.cs21 /// Used for durable resolution even if the pattern is renamed.COMMENT
LOWText-Grab/Models/TemplateRegion.cs1using System.Windows;COMMENT
LOWText-Grab/Models/ExtractedPattern.cs21 private readonly Dictionary<int, string> _patternsByLevel = [];COMMENT
LOWText-Grab/Utilities/ProtocolUtilities.cs1using Microsoft.Win32;COMMENT
LOWText-Grab/Utilities/ProtocolUtilities.cs81 /// <item>Canonicalized with <see cref="Path.GetFullPath(string)"/> so traversalCOMMENT
LOWText-Grab/Utilities/WindowsAiUtilities.cs441 /// Translates text to a target language using Windows AI LanguageModel.COMMENT
LOWText-Grab/Utilities/RegistryMonitor.cs1using Microsoft.Win32;COMMENT
LOWText-Grab/Utilities/RegistryMonitor.cs21/// </para>COMMENT
16 more matches not shown…
Verbosity Indicators10 hits · 22 pts
SeverityFileLineSnippetContext
LOWTests/SettingsImportExportTests.cs62 // Step 1: Export current settings to get baselineCOMMENT
LOWTests/SettingsImportExportTests.cs65 // Step 2: Extract and read the original JSONCOMMENT
LOWTests/SettingsImportExportTests.cs71 // Step 3: Deserialize to dictionary to get all key-value pairsCOMMENT
LOWTests/SettingsImportExportTests.cs76 // Step 4: Modify one value in the JSON to simulate a changeCOMMENT
LOWTests/SettingsImportExportTests.cs98 // Step 5: Serialize modified settings and save to a new zipCOMMENT
LOWTests/SettingsImportExportTests.cs108 // Step 6: Import the modified settingsCOMMENT
LOWTests/SettingsImportExportTests.cs111 // Step 7: Export again to get the imported settingsCOMMENT
LOWTests/SettingsImportExportTests.cs114 // Step 8: Extract and compareCOMMENT
LOWTests/SettingsImportExportTests.cs123 // Step 9: Compare element by element - the modified value should match what we setCOMMENT
LOWTests/SettingsImportExportTests.cs142 // Step 10: Restore original settingsCOMMENT
Structural Annotation Overuse10 hits · 22 pts
SeverityFileLineSnippetContext
LOWTests/SettingsImportExportTests.cs62 // Step 1: Export current settings to get baselineCOMMENT
LOWTests/SettingsImportExportTests.cs65 // Step 2: Extract and read the original JSONCOMMENT
LOWTests/SettingsImportExportTests.cs71 // Step 3: Deserialize to dictionary to get all key-value pairsCOMMENT
LOWTests/SettingsImportExportTests.cs76 // Step 4: Modify one value in the JSON to simulate a changeCOMMENT
LOWTests/SettingsImportExportTests.cs98 // Step 5: Serialize modified settings and save to a new zipCOMMENT
LOWTests/SettingsImportExportTests.cs108 // Step 6: Import the modified settingsCOMMENT
LOWTests/SettingsImportExportTests.cs111 // Step 7: Export again to get the imported settingsCOMMENT
LOWTests/SettingsImportExportTests.cs114 // Step 8: Extract and compareCOMMENT
LOWTests/SettingsImportExportTests.cs123 // Step 9: Compare element by element - the modified value should match what we setCOMMENT
LOWTests/SettingsImportExportTests.cs142 // Step 10: Restore original settingsCOMMENT
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHText-Grab/Utilities/WindowsAiUtilities.cs552 /// Cleans the AI-generated regex result by removing markdown formatting, code blocks, and explanations.COMMENT
HIGHText-Grab/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMText-Grab/Utilities/ClipboardUtilities.cs121 // Maybe revist and make more robust.COMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWTests/GrabTemplateExecutorTests.cs378 Dictionary<int, string> regions = new() { [1] = "John Doe" };CODE
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippetContext
LOWTests/StringMethodTests.cs309 string inputString = @"Don't Forget to doCODE