Use OCR in Windows quickly and easily with Text Grab. With optional background process and notifications.
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).
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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | Text-Grab/TextGrabNotificationActivator.cs | 14 | System.Windows.Application.Current.Dispatcher.Invoke(delegate | CODE |
| CRITICAL⚡ | Text-Grab/Utilities/NotifyIconUtilities.cs | 92 | System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => | CODE |
| CRITICAL⚡ | Text-Grab/Utilities/NotifyIconUtilities.cs | 98 | System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => | CODE |
| CRITICAL⚡ | Text-Grab/Utilities/NotifyIconUtilities.cs | 105 | System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => | CODE |
| CRITICAL⚡ | Text-Grab/Utilities/NotifyIconUtilities.cs | 112 | System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => | CODE |
| CRITICAL⚡ | Text-Grab/Utilities/NotifyIconUtilities.cs | 120 | System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => | CODE |
| CRITICAL⚡ | Text-Grab/Utilities/NotifyIconUtilities.cs | 126 | System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => | CODE |
| CRITICAL | Text-Grab/Utilities/NotifyIconUtilities.cs | 142 | System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => | CODE |
| CRITICAL | Text-Grab/Utilities/NotifyIconUtilities.cs | 148 | System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => | CODE |
| CRITICAL | Text-Grab/Views/EditTextWindow.xaml.cs | 2536 | System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => { AddCopiedTextToTextBox(text); }) | CODE |
| CRITICAL | Text-Grab/Views/EditTextWindow.xaml.cs | 3733 | await System.Windows.Application.Current.Dispatcher.BeginInvoke(() => | CODE |
| CRITICAL | Text-Grab/Views/EditTextWindow.xaml.cs | 4178 | System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => { AddCopiedTextToTextBox(textFromC | CODE |
| CRITICAL | Text-Grab/Views/EditTextWindow.xaml.cs | 4194 | System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => { AddCopiedTextToTextBox(text); }) | CODE |
| CRITICAL | Text-Grab/Views/EditTextWindow.xaml.cs | 4218 | System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => { AddCopiedTextToTextBox(text) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Tests/GrabTemplateExecutorTests.cs | 8 | // ── ApplyOutputTemplate – basic substitution ────────────────────────────── | COMMENT |
| MEDIUM | Tests/GrabTemplateExecutorTests.cs | 47 | // ── Modifiers ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | Tests/GrabTemplateExecutorTests.cs | 81 | // ── Escape sequences ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | Tests/GrabTemplateExecutorTests.cs | 116 | // ── ValidateOutputTemplate ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | Tests/GrabTemplateExecutorTests.cs | 148 | // ── Pattern placeholder – ApplyPatternPlaceholders ──────────────────────── | COMMENT |
| MEDIUM | Tests/GrabTemplateExecutorTests.cs | 340 | // ── ExtractMatchesByMode ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | Tests/GrabTemplateExecutorTests.cs | 372 | // ── Hybrid template (regions + patterns) ────────────────────────────────── | COMMENT |
| MEDIUM | Tests/GrabTemplateExecutorTests.cs | 400 | // ── GrabTemplate model ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | Tests/GrabTemplateExecutorTests.cs | 462 | // ── ApplyTextOnlyTemplate ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | Tests/GrabTemplateExecutorTests.cs | 512 | // ── ValidateOutputTemplate with patterns ────────────────────────────────── | COMMENT |
| MEDIUM | Tests/ProtocolUtilitiesTests.cs | 120 | // ── TryGetSafeProtocolFilePath ──────────────────────────────────────────── | COMMENT |
| MEDIUM | Text-Grab/Utilities/GrabTemplateManager.cs | 46 | // ── File path ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | Text-Grab/Utilities/GrabTemplateManager.cs | 126 | // ── Read ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | Text-Grab/Utilities/GrabTemplateManager.cs | 163 | // ── Write ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | Text-Grab/Utilities/GrabTemplateManager.cs | 230 | // ── ButtonInfo bridge ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | Text-Grab/Utilities/GrabTemplateExecutor.cs | 51 | // ── Public API ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | Text-Grab/Utilities/GrabTemplateExecutor.cs | 284 | // ── Pattern placeholder processing ────────────────────────────────────── | COMMENT |
| MEDIUM | Text-Grab/Utilities/GrabTemplateExecutor.cs | 456 | // ── Private helpers ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | Text-Grab/Services/CalculationService.UnitMath.cs | 52 | // ══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | Text-Grab/Services/CalculationService.UnitMath.cs | 54 | // ══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | Text-Grab/Services/CalculationService.UnitMath.cs | 83 | // ══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | Text-Grab/Services/CalculationService.UnitMath.cs | 85 | // ══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | Text-Grab/Services/CalculationService.UnitMath.cs | 114 | // ══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | Text-Grab/Services/CalculationService.UnitMath.cs | 116 | // ══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | Text-Grab/Services/CalculationService.UnitMath.cs | 127 | // ══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | Text-Grab/Services/CalculationService.UnitMath.cs | 129 | // ══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | Text-Grab/Services/CalculationService.UnitMath.cs | 162 | // ══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | Text-Grab/Services/CalculationService.UnitMath.cs | 164 | // ══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | Text-Grab/Services/CalculationService.UnitMath.cs | 186 | // ══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | Text-Grab/Services/CalculationService.UnitMath.cs | 188 | // ══════════════════════════════════════════════════════════════ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Text-Grab/App.xaml.cs | 161 | // for now this is best but... not ideal | COMMENT |
| LOW | Text-Grab/App.xaml.cs | 181 | //Dictionary<string, SolidColorBrush> brushes = new() | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 221 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 241 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 261 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 281 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 301 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 321 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 341 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 361 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 381 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 401 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 421 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 441 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 461 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 481 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 501 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 521 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 541 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 561 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 581 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 601 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 621 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 641 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 661 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 681 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 701 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 721 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 741 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 761 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 781 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 801 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 821 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 841 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 861 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 881 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 901 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 921 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 941 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 961 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 981 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 1001 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 1021 | /// <summary> | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 1041 | EXSEL = 0xF8, | COMMENT |
| LOW | Text-Grab/OSInterop.cs | 1261 | /// <summary> | COMMENT |
| LOW | Text-Grab/Models/StoredRegex.cs | 21 | /// The actual regex pattern | COMMENT |
| LOW | Text-Grab/Models/GrabTemplate.cs | 1 | using System; | COMMENT |
| LOW | Text-Grab/Models/GrabTemplate.cs | 21 | /// {p:Name:2} — 2nd match (1-based) | COMMENT |
| LOW | Text-Grab/Models/GrabTemplate.cs | 41 | /// <summary>Date this template was created.</summary> | COMMENT |
| LOW | Text-Grab/Models/GrabTemplate.cs | 61 | public double ReferenceImageHeight { get; set; } = 600; | COMMENT |
| LOW | Text-Grab/Models/PostGrabContext.cs | 1 | using System.Windows; | COMMENT |
| LOW | Text-Grab/Models/TemplatePatternMatch.cs | 1 | using System; | COMMENT |
| LOW | Text-Grab/Models/TemplatePatternMatch.cs | 21 | /// Used for durable resolution even if the pattern is renamed. | COMMENT |
| LOW | Text-Grab/Models/TemplateRegion.cs | 1 | using System.Windows; | COMMENT |
| LOW | Text-Grab/Models/ExtractedPattern.cs | 21 | private readonly Dictionary<int, string> _patternsByLevel = []; | COMMENT |
| LOW | Text-Grab/Utilities/ProtocolUtilities.cs | 1 | using Microsoft.Win32; | COMMENT |
| LOW | Text-Grab/Utilities/ProtocolUtilities.cs | 81 | /// <item>Canonicalized with <see cref="Path.GetFullPath(string)"/> so traversal | COMMENT |
| LOW | Text-Grab/Utilities/WindowsAiUtilities.cs | 441 | /// Translates text to a target language using Windows AI LanguageModel. | COMMENT |
| LOW | Text-Grab/Utilities/RegistryMonitor.cs | 1 | using Microsoft.Win32; | COMMENT |
| LOW | Text-Grab/Utilities/RegistryMonitor.cs | 21 | /// </para> | COMMENT |
| 16 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | Tests/SettingsImportExportTests.cs | 62 | // Step 1: Export current settings to get baseline | COMMENT |
| LOW⚡ | Tests/SettingsImportExportTests.cs | 65 | // Step 2: Extract and read the original JSON | COMMENT |
| LOW⚡ | Tests/SettingsImportExportTests.cs | 71 | // Step 3: Deserialize to dictionary to get all key-value pairs | COMMENT |
| LOW⚡ | Tests/SettingsImportExportTests.cs | 76 | // Step 4: Modify one value in the JSON to simulate a change | COMMENT |
| LOW⚡ | Tests/SettingsImportExportTests.cs | 98 | // Step 5: Serialize modified settings and save to a new zip | COMMENT |
| LOW⚡ | Tests/SettingsImportExportTests.cs | 108 | // Step 6: Import the modified settings | COMMENT |
| LOW⚡ | Tests/SettingsImportExportTests.cs | 111 | // Step 7: Export again to get the imported settings | COMMENT |
| LOW⚡ | Tests/SettingsImportExportTests.cs | 114 | // Step 8: Extract and compare | COMMENT |
| LOW⚡ | Tests/SettingsImportExportTests.cs | 123 | // Step 9: Compare element by element - the modified value should match what we set | COMMENT |
| LOW | Tests/SettingsImportExportTests.cs | 142 | // Step 10: Restore original settings | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | Tests/SettingsImportExportTests.cs | 62 | // Step 1: Export current settings to get baseline | COMMENT |
| LOW⚡ | Tests/SettingsImportExportTests.cs | 65 | // Step 2: Extract and read the original JSON | COMMENT |
| LOW⚡ | Tests/SettingsImportExportTests.cs | 71 | // Step 3: Deserialize to dictionary to get all key-value pairs | COMMENT |
| LOW⚡ | Tests/SettingsImportExportTests.cs | 76 | // Step 4: Modify one value in the JSON to simulate a change | COMMENT |
| LOW⚡ | Tests/SettingsImportExportTests.cs | 98 | // Step 5: Serialize modified settings and save to a new zip | COMMENT |
| LOW⚡ | Tests/SettingsImportExportTests.cs | 108 | // Step 6: Import the modified settings | COMMENT |
| LOW⚡ | Tests/SettingsImportExportTests.cs | 111 | // Step 7: Export again to get the imported settings | COMMENT |
| LOW⚡ | Tests/SettingsImportExportTests.cs | 114 | // Step 8: Extract and compare | COMMENT |
| LOW⚡ | Tests/SettingsImportExportTests.cs | 123 | // Step 9: Compare element by element - the modified value should match what we set | COMMENT |
| LOW | Tests/SettingsImportExportTests.cs | 142 | // Step 10: Restore original settings | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | Text-Grab/Utilities/WindowsAiUtilities.cs | 552 | /// Cleans the AI-generated regex result by removing markdown formatting, code blocks, and explanations. | COMMENT |
| HIGH | Text-Grab/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Text-Grab/Utilities/ClipboardUtilities.cs | 121 | // Maybe revist and make more robust. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tests/GrabTemplateExecutorTests.cs | 378 | Dictionary<int, string> regions = new() { [1] = "John Doe" }; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tests/StringMethodTests.cs | 309 | string inputString = @"Don't Forget to do | CODE |