AI Slop Code Risk Monitor

MahApps/MahApps.Metro

SlopCodeMonitor badge for MahApps/MahApps.Metro Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

A framework that allows developers to cobble together a better UI for their own WPF applications with minimal effort.

1.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for MahApps/MahApps.Metro, a C# project with 9,836 GitHub stars. SynthScan examined 132,406 lines of code across 762 source files, recording 159 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 1.9 (Low 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.

1.9
Adjusted Signal
1.9
Raw Pattern Score
100%
Time Factor
2026-10-25
Last Push
9.8K
Stars
C#
Language
132.4K
Lines of Code
762
Files
159
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 6.3/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 3.2/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 8.6/100 · LOW

Which changes need focused human review? 159 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 7HIGH 3MEDIUM 0LOW 149

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 159 distinct pattern matches across 4 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.

Over-Commented Block148 hits · 148 pts
SeverityFileLineSnippetContext
LOWsrc/MahApps.Metro/ValueBoxes/BooleanBoxes.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOWsrc/MahApps.Metro/Converters/RadiusType.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOWsrc/MahApps.Metro/Converters/RadiusType.cs21 /// <summary>COMMENT
LOW…MahApps.Metro/Converters/InnerCornerRadiusConverter.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOWsrc/MahApps.Metro/Converters/ColorToNameConverter.cs21 public ColorHelper? ColorHelper { get; set; }COMMENT
LOWsrc/MahApps.Metro/Converters/ColorToNameConverter.cs81 /// The ConvertBack-Method is not available inside a <see cref="MultiBinding"/>. Use a <see cref="Binding"/> witCOMMENT
LOW….Metro/Converters/ButtonsPlacementToColumnConverter.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOWsrc/MahApps.Metro/Converters/ThicknessSideType.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOWsrc/MahApps.Metro/Converters/ThicknessSideType.cs21 /// <summary>COMMENT
LOW…/MahApps.Metro/Lang/MultiSelectionComboBox.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOWsrc/MahApps.Metro/Lang/Automation.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOWsrc/MahApps.Metro/Lang/ColorNames.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOWsrc/MahApps.Metro/Controls/TabItemClosingDeferral.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOWsrc/MahApps.Metro/Controls/MetroTabItem.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOW…/MahApps.Metro/Controls/WindowPlacementFileSettings.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOW…/MahApps.Metro/Controls/WindowPlacementFileSettings.cs21 /// live somewhere the application controls.COMMENT
LOWsrc/MahApps.Metro/Controls/ClipBorder.cs61COMMENT
LOWsrc/MahApps.Metro/Controls/ClipBorder.cs141 // /// <summary>COMMENT
LOWsrc/MahApps.Metro/Controls/ClipBorder.cs201 /// <summary>COMMENT
LOWsrc/MahApps.Metro/Controls/ClipBorder.cs221 {COMMENT
LOWsrc/MahApps.Metro/Controls/ClipBorder.cs461 }COMMENT
LOWsrc/MahApps.Metro/Controls/ClipBorder.cs601COMMENT
LOWsrc/MahApps.Metro/Controls/MetroWindow.cs101 /// <summary>COMMENT
LOWsrc/MahApps.Metro/Controls/MetroWindow.cs1501 if (e.NewValue is FrameworkElement newChild)COMMENT
LOWsrc/MahApps.Metro/Controls/MetroWindow.cs1601 metroContentControl.TransitionCompleted += (_, _) => this.RaiseEvent(new RoutedEventArgs(WindowTransitioCOMMENT
LOWsrc/MahApps.Metro/Controls/MetroWindow.cs1741 /// Shows the system menu of this window at the given point, in physical screen coordinates.COMMENT
LOWsrc/MahApps.Metro/Controls/NumericUpDown.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOWsrc/MahApps.Metro/Controls/ToolBarOverflowListPanel.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOWsrc/MahApps.Metro/Controls/TimeSpanUpDown.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOWsrc/MahApps.Metro/Controls/TimeSpanUpDown.cs21 /// does not change under the caret: <c>00:00:30</c> counts in half minutes wherever the cursorCOMMENT
LOWsrc/MahApps.Metro/Controls/WindowSettings.cs61COMMENT
LOWsrc/MahApps.Metro/Controls/NumericInput.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOWsrc/MahApps.Metro/Controls/TextBoxButtonCollection.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOWsrc/MahApps.Metro/Controls/TabPanelEx.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOW…/MahApps.Metro/Controls/TransitioningContentControl.cs21 {COMMENT
LOW…/MahApps.Metro/Controls/TransitioningContentControl.cs41 Right,COMMENT
LOW…c/MahApps.Metro/Controls/MetroNavigationWindow.xaml.cs221 /// </summary>COMMENT
LOW…c/MahApps.Metro/Controls/MetroNavigationWindow.xaml.cs361 /// </summary>COMMENT
LOW…c/MahApps.Metro/Controls/MetroNavigationWindow.xaml.cs401 /// <summary>COMMENT
LOW…c/MahApps.Metro/Controls/MetroNavigationWindow.xaml.cs421 /// </summary>COMMENT
LOWsrc/MahApps.Metro/Controls/SquareDecorator.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOWsrc/MahApps.Metro/Controls/NavigationIndexPlacement.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOWsrc/MahApps.Metro/Controls/NavigationIndexPlacement.cs21 /// Index on top sideCOMMENT
LOWsrc/MahApps.Metro/Controls/NumericUpDownBase.Generic.cs21 /// </summary>COMMENT
LOWsrc/MahApps.Metro/Controls/NumericUpDownBase.Generic.cs161COMMENT
LOWsrc/MahApps.Metro/Controls/TextBoxButton.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOWsrc/MahApps.Metro/Controls/FlyoutTheme.cs21 /// (see <see cref="ThemeManager.GetInverseTheme"/> for more infos.COMMENT
LOWsrc/MahApps.Metro/Controls/Badged.cs41COMMENT
LOWsrc/MahApps.Metro/Controls/ClipBorder.Utils.cs21 // Smallest double value such that 1.0+DBL_EPSILON != 1.0COMMENT
LOWsrc/MahApps.Metro/Controls/ClipBorder.Utils.cs61 /// <summary>COMMENT
LOWsrc/MahApps.Metro/Controls/ClipBorder.Utils.cs101 /// Compares two points for fuzzy equality. This functionCOMMENT
LOWsrc/MahApps.Metro/Controls/ClipBorder.Utils.cs221COMMENT
LOWsrc/MahApps.Metro/Controls/ClipBorder.Utils.cs301 /// </summary>COMMENT
LOWsrc/MahApps.Metro/Controls/ClipBorder.Utils.cs421 }COMMENT
LOWsrc/MahApps.Metro/Controls/ButtonsPlacement.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOW…/MahApps.Metro/Controls/TrimmedTextTemplateSelector.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOWsrc/MahApps.Metro/Controls/DecimalUpDown.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOW…hApps.Metro/Controls/RangeSelectionChangedEventArgs.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOW…hApps.Metro/Controls/RangeSelectionChangedEventArgs.cs21 /// </summary>COMMENT
LOW…hApps.Metro/Controls/RangeSelectionChangedEventArgs.cs61 /// <summary>COMMENT
88 more matches not shown…
Hallucination Indicators7 hits · 85 pts
SeverityFileLineSnippetContext
CRITICAL⚡src/Mahapps.Metro.Tests/Tests/ContentDialogTests.cs670 MahApps.Metro.Controls.Dialogs.DialogParticipation.SetRegister(this.window!, context);CODE
CRITICAL⚡src/Mahapps.Metro.Tests/Tests/ContentDialogTests.cs675 var showing = MahApps.Metro.Controls.Dialogs.DialogCoordinator.Instance.ShowContentDialogAsync(context, CODE
CRITICAL⚡src/Mahapps.Metro.Tests/Tests/ContentDialogTests.cs684 MahApps.Metro.Controls.Dialogs.DialogParticipation.SetRegister(this.window!, null);CODE
CRITICALsrc/Mahapps.Metro.Tests/Tests/FlipViewSetStyleTests.cs79 Assert.That(System.Windows.Controls.Primitives.LayoutInformation.GetLayoutClip(dot), Is.Null, "nothiCODE
CRITICAL…/Mahapps.Metro.Tests/Tests/ProgressBarSetStyleTests.cs185 System.Windows.Threading.Dispatcher.CurrentDispatcher.Invoke(() => { }, System.Windows.Threading.DispatcCODE
CRITICALsrc/Mahapps.Metro.Tests/Tests/InfoBarTests.cs234 var peer = System.Windows.Automation.Peers.UIElementAutomationPeer.CreatePeerForElement(infoBar);CODE
CRITICALsrc/Mahapps.Metro.Tests/Tests/InfoBarTests.cs251 var peer = System.Windows.Automation.Peers.UIElementAutomationPeer.CreatePeerForElement(infoBar);CODE
Synthetic Comment Markers3 hits · 22 pts
SeverityFileLineSnippetContext
HIGH…/MahApps.Metro/Lang/MultiSelectionComboBox.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsrc/MahApps.Metro/Lang/Automation.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsrc/MahApps.Metro/Lang/ColorNames.Designer.cs3// This code was generated by a tool.COMMENT
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…trols/MultiSelectionComboBox/MultiSelectionComboBox.cs1029 // First we need to check if the string matches completely to the selected items. Therefore we need to displCOMMENT