Use OCR in Windows quickly and easily with Text Grab. With optional background process and notifications.
This report summarizes scanner evidence for TheJoeFin/Text-Grab, a C# project with 5,040 GitHub stars. SynthScan examined 87,996 lines of code across 278 source files, recording 168 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 5.0 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 108 finding(s).
Are imports declared and package/API names verified? 15 finding(s).
Are wrappers, guards, and repeated structures necessary? 45 finding(s).
Which changes need focused human review? 168 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 168 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| 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 | 105 | System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => | CODE |
| CRITICAL⚡ | Text-Grab/Utilities/NotifyIconUtilities.cs | 111 | System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => | CODE |
| CRITICAL⚡ | Text-Grab/Utilities/NotifyIconUtilities.cs | 118 | System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => | CODE |
| CRITICAL⚡ | Text-Grab/Utilities/NotifyIconUtilities.cs | 125 | System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => | CODE |
| CRITICAL⚡ | Text-Grab/Utilities/NotifyIconUtilities.cs | 133 | System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => | CODE |
| CRITICAL⚡ | Text-Grab/Utilities/NotifyIconUtilities.cs | 139 | System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => | CODE |
| CRITICAL | Text-Grab/Utilities/NotifyIconUtilities.cs | 155 | System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => | CODE |
| CRITICAL | Text-Grab/Utilities/NotifyIconUtilities.cs | 161 | System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => | CODE |
| CRITICAL | Text-Grab/Views/EditTextWindow.xaml.cs | 2726 | System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => { AddCopiedTextToTextBox(text); }) | CODE |
| CRITICAL | Text-Grab/Views/EditTextWindow.xaml.cs | 4044 | await System.Windows.Application.Current.Dispatcher.BeginInvoke(() => | CODE |
| CRITICAL | Text-Grab/Views/EditTextWindow.xaml.cs | 4489 | System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => { AddCopiedTextToTextBox(textFromC | CODE |
| CRITICAL | Text-Grab/Views/EditTextWindow.xaml.cs | 4505 | System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => { AddCopiedTextToTextBox(text); }) | CODE |
| CRITICAL | Text-Grab/Views/EditTextWindow.xaml.cs | 4529 | System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => { AddCopiedTextToTextBox(text) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Tests/PatternExecutorTests.cs | 15 | // ── PatternItem catalog ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | Tests/PatternExecutorTests.cs | 54 | // ── PatternExecutor – recognizer-backed ─────────────────────────────────── | COMMENT |
| MEDIUM | Tests/PatternExecutorTests.cs | 79 | // ── PatternExecutor – saved-regex-backed ────────────────────────────────── | COMMENT |
| 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/RecognizerExecutorTests.cs | 21 | // ── BuiltInRecognizer catalog ───────────────────────────────────────────── | COMMENT |
| MEDIUM | Tests/RecognizerExecutorTests.cs | 38 | // ── GetMatches / HasMatch ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | Tests/RecognizerExecutorTests.cs | 75 | // ── ApplyRecognizer – modes ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | Tests/RecognizerExecutorTests.cs | 115 | // ── ApplyRecognizer – output kind ───────────────────────────────────────── | COMMENT |
| MEDIUM | Tests/RecognizerExecutorTests.cs | 133 | // ── GrabTemplateExecutor – recognizer placeholders ──────────────────────── | COMMENT |
| MEDIUM | Tests/RecognizerExecutorTests.cs | 165 | // ── GrabTemplateExecutor – parsing ──────────────────────────────────────── | COMMENT |
| MEDIUM | Tests/RecognizerExecutorTests.cs | 192 | // ── FormatResolvedValue – resolution shapes (guards library coupling) ───── | COMMENT |
| MEDIUM | Tests/RecognizerExecutorTests.cs | 279 | // ── ApplyTextOnlyTemplate – recognizer-only ─────────────────────────────── | COMMENT |
| MEDIUM | Tests/ProtocolUtilitiesTests.cs | 120 | // ── TryGetSafeProtocolFilePath ──────────────────────────────────────────── | COMMENT |
| MEDIUM | Text-Grab/Utilities/GrabTemplateManager.cs | 46 | // ── File path ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | Text-Grab/Utilities/GrabTemplateManager.cs | 132 | // ── Read ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | Text-Grab/Utilities/GrabTemplateManager.cs | 169 | // ── Write ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | Text-Grab/Utilities/GrabTemplateManager.cs | 236 | // ── ButtonInfo bridge ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | Text-Grab/Utilities/RecognizerExecutor.cs | 46 | // ── Low-level matching (shared with search features) ──────────────────────── | COMMENT |
| MEDIUM | Text-Grab/Utilities/RecognizerExecutor.cs | 83 | // ── Application (Edit Text Window / templates) ────────────────────────────── | COMMENT |
| MEDIUM | Text-Grab/Utilities/RecognizerExecutor.cs | 109 | // ── Resolution formatting ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | Text-Grab/Utilities/GrabTemplateExecutor.cs | 57 | // ── Public API ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | Text-Grab/Utilities/GrabTemplateExecutor.cs | 302 | // ── Pattern placeholder processing ────────────────────────────────────── | COMMENT |
| MEDIUM | Text-Grab/Utilities/GrabTemplateExecutor.cs | 477 | // ── Recognizer placeholder processing ─────────────────────────────────────── | COMMENT |
| MEDIUM | Text-Grab/Utilities/GrabTemplateExecutor.cs | 550 | // ── 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 | COMMENT | |
| LOW | Text-Grab/App.xaml.cs | 181 | //}; | 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/TemplateRecognizerMatch.cs | 1 | using Text_Grab.Utilities; | COMMENT |
| LOW | Text-Grab/Models/TemplateRecognizerMatch.cs | 21 | { | 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/PatternItem.cs | 21 | /// from text. This type wraps either kind so the UI surfaces (template picker, Edit Text | 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/Models/HistoryInfo.cs | 121 | public string RectAsString { get; set; } = string.Empty; | COMMENT |
| LOW | Text-Grab/Utilities/ProtocolUtilities.cs | 1 | using Microsoft.Win32; | COMMENT |
| 24 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 | 653 | /// 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 | 123 | // 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 |