AI Slop Code RIsk Monitor

TheJoeFin/Text-Grab

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

5.0 Moderate pattern signal View on GitHub

Maintenance and Governance Review

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.

5.0
Adjusted Signal
5.0
Raw Pattern Score
100%
Time Factor
2026-09-22
Last Push
5.0K
Stars
C#
Language
88.0K
Lines of Code
278
Files
168
Pattern Hits
2026-10-12
Scan Date
0.06
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 7.4/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 108 finding(s).

Hallucinated Dependency & Supply Chain Risk 9.3/100 · LOW

Are imports declared and package/API names verified? 15 finding(s).

Agent Over-Engineering Ratio 7.4/100 · LOW

Are wrappers, guards, and repeated structures necessary? 45 finding(s).

PR Review Velocity Impact 20.1/100 · LOW

Which changes need focused human review? 168 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 14HIGH 2MEDIUM 46LOW 106

Directory Score Breakdown

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.

Pattern Findings

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.

Hallucination Indicators14 hits · 170 pts
SeverityFileLineSnippetContext
CRITICALText-Grab/TextGrabNotificationActivator.cs14 System.Windows.Application.Current.Dispatcher.Invoke(delegateCODE
CRITICAL⚡Text-Grab/Utilities/NotifyIconUtilities.cs105 System.Windows.Application.Current.Dispatcher.Invoke(new Action(() =>CODE
CRITICAL⚡Text-Grab/Utilities/NotifyIconUtilities.cs111 System.Windows.Application.Current.Dispatcher.Invoke(new Action(() =>CODE
CRITICAL⚡Text-Grab/Utilities/NotifyIconUtilities.cs118 System.Windows.Application.Current.Dispatcher.Invoke(new Action(() =>CODE
CRITICAL⚡Text-Grab/Utilities/NotifyIconUtilities.cs125 System.Windows.Application.Current.Dispatcher.Invoke(new Action(() =>CODE
CRITICAL⚡Text-Grab/Utilities/NotifyIconUtilities.cs133 System.Windows.Application.Current.Dispatcher.Invoke(new Action(() =>CODE
CRITICAL⚡Text-Grab/Utilities/NotifyIconUtilities.cs139 System.Windows.Application.Current.Dispatcher.Invoke(new Action(() =>CODE
CRITICALText-Grab/Utilities/NotifyIconUtilities.cs155 System.Windows.Application.Current.Dispatcher.Invoke(new Action(() =>CODE
CRITICALText-Grab/Utilities/NotifyIconUtilities.cs161 System.Windows.Application.Current.Dispatcher.Invoke(new Action(() =>CODE
CRITICALText-Grab/Views/EditTextWindow.xaml.cs2726 System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => { AddCopiedTextToTextBox(text); })CODE
CRITICALText-Grab/Views/EditTextWindow.xaml.cs4044 await System.Windows.Application.Current.Dispatcher.BeginInvoke(() =>CODE
CRITICALText-Grab/Views/EditTextWindow.xaml.cs4489 System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => { AddCopiedTextToTextBox(textFromCCODE
CRITICALText-Grab/Views/EditTextWindow.xaml.cs4505 System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => { AddCopiedTextToTextBox(text); })CODE
CRITICALText-Grab/Views/EditTextWindow.xaml.cs4529 System.Windows.Application.Current.Dispatcher.Invoke(new Action(() => { AddCopiedTextToTextBox(text)CODE
Decorative Section Separators45 hits · 135 pts
SeverityFileLineSnippetContext
MEDIUMTests/PatternExecutorTests.cs15 // ── PatternItem catalog ───────────────────────────────────────────────────COMMENT
MEDIUMTests/PatternExecutorTests.cs54 // ── PatternExecutor – recognizer-backed ───────────────────────────────────COMMENT
MEDIUMTests/PatternExecutorTests.cs79 // ── PatternExecutor – saved-regex-backed ──────────────────────────────────COMMENT
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/RecognizerExecutorTests.cs21 // ── BuiltInRecognizer catalog ─────────────────────────────────────────────COMMENT
MEDIUMTests/RecognizerExecutorTests.cs38 // ── GetMatches / HasMatch ─────────────────────────────────────────────────COMMENT
MEDIUMTests/RecognizerExecutorTests.cs75 // ── ApplyRecognizer – modes ───────────────────────────────────────────────COMMENT
MEDIUMTests/RecognizerExecutorTests.cs115 // ── ApplyRecognizer – output kind ─────────────────────────────────────────COMMENT
MEDIUMTests/RecognizerExecutorTests.cs133 // ── GrabTemplateExecutor – recognizer placeholders ────────────────────────COMMENT
MEDIUMTests/RecognizerExecutorTests.cs165 // ── GrabTemplateExecutor – parsing ────────────────────────────────────────COMMENT
MEDIUMTests/RecognizerExecutorTests.cs192 // ── FormatResolvedValue – resolution shapes (guards library coupling) ─────COMMENT
MEDIUMTests/RecognizerExecutorTests.cs279 // ── ApplyTextOnlyTemplate – recognizer-only ───────────────────────────────COMMENT
MEDIUMTests/ProtocolUtilitiesTests.cs120 // ── TryGetSafeProtocolFilePath ────────────────────────────────────────────COMMENT
MEDIUMText-Grab/Utilities/GrabTemplateManager.cs46 // ── File path ─────────────────────────────────────────────────────────────COMMENT
MEDIUMText-Grab/Utilities/GrabTemplateManager.cs132 // ── Read ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMText-Grab/Utilities/GrabTemplateManager.cs169 // ── Write ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMText-Grab/Utilities/GrabTemplateManager.cs236 // ── ButtonInfo bridge ─────────────────────────────────────────────────────COMMENT
MEDIUMText-Grab/Utilities/RecognizerExecutor.cs46 // ── Low-level matching (shared with search features) ────────────────────────COMMENT
MEDIUMText-Grab/Utilities/RecognizerExecutor.cs83 // ── Application (Edit Text Window / templates) ──────────────────────────────COMMENT
MEDIUMText-Grab/Utilities/RecognizerExecutor.cs109 // ── Resolution formatting ───────────────────────────────────────────────────COMMENT
MEDIUMText-Grab/Utilities/GrabTemplateExecutor.cs57 // ── Public API ────────────────────────────────────────────────────────────COMMENT
MEDIUMText-Grab/Utilities/GrabTemplateExecutor.cs302 // ── Pattern placeholder processing ──────────────────────────────────────COMMENT
MEDIUMText-Grab/Utilities/GrabTemplateExecutor.cs477 // ── Recognizer placeholder processing ───────────────────────────────────────COMMENT
MEDIUMText-Grab/Utilities/GrabTemplateExecutor.cs550 // ── 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 Block84 hits · 72 pts
SeverityFileLineSnippetContext
LOWText-Grab/App.xaml.cs161COMMENT
LOWText-Grab/App.xaml.cs181 //};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/TemplateRecognizerMatch.cs1using Text_Grab.Utilities;COMMENT
LOWText-Grab/Models/TemplateRecognizerMatch.cs21{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/PatternItem.cs21/// from text. This type wraps either kind so the UI surfaces (template picker, Edit TextCOMMENT
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/Models/HistoryInfo.cs121 public string RectAsString { get; set; } = string.Empty;COMMENT
LOWText-Grab/Utilities/ProtocolUtilities.cs1using Microsoft.Win32;COMMENT
24 more matches not shown…
Verbosity Indicators10 hits · 22 pts
SeverityFileLineSnippetContext
LOW⚡Tests/SettingsImportExportTests.cs62 // Step 1: Export current settings to get baselineCOMMENT
LOW⚡Tests/SettingsImportExportTests.cs65 // Step 2: Extract and read the original JSONCOMMENT
LOW⚡Tests/SettingsImportExportTests.cs71 // Step 3: Deserialize to dictionary to get all key-value pairsCOMMENT
LOW⚡Tests/SettingsImportExportTests.cs76 // Step 4: Modify one value in the JSON to simulate a changeCOMMENT
LOW⚡Tests/SettingsImportExportTests.cs98 // Step 5: Serialize modified settings and save to a new zipCOMMENT
LOW⚡Tests/SettingsImportExportTests.cs108 // Step 6: Import the modified settingsCOMMENT
LOW⚡Tests/SettingsImportExportTests.cs111 // Step 7: Export again to get the imported settingsCOMMENT
LOW⚡Tests/SettingsImportExportTests.cs114 // Step 8: Extract and compareCOMMENT
LOW⚡Tests/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
LOW⚡Tests/SettingsImportExportTests.cs62 // Step 1: Export current settings to get baselineCOMMENT
LOW⚡Tests/SettingsImportExportTests.cs65 // Step 2: Extract and read the original JSONCOMMENT
LOW⚡Tests/SettingsImportExportTests.cs71 // Step 3: Deserialize to dictionary to get all key-value pairsCOMMENT
LOW⚡Tests/SettingsImportExportTests.cs76 // Step 4: Modify one value in the JSON to simulate a changeCOMMENT
LOW⚡Tests/SettingsImportExportTests.cs98 // Step 5: Serialize modified settings and save to a new zipCOMMENT
LOW⚡Tests/SettingsImportExportTests.cs108 // Step 6: Import the modified settingsCOMMENT
LOW⚡Tests/SettingsImportExportTests.cs111 // Step 7: Export again to get the imported settingsCOMMENT
LOW⚡Tests/SettingsImportExportTests.cs114 // Step 8: Extract and compareCOMMENT
LOW⚡Tests/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.cs653 /// 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.cs123 // 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