A framework that allows developers to cobble together a better UI for their own WPF applications with minimal effort.
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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 152 finding(s).
Are imports declared and package/API names verified? 7 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 159 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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/MahApps.Metro/ValueBoxes/BooleanBoxes.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | src/MahApps.Metro/Converters/RadiusType.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | src/MahApps.Metro/Converters/RadiusType.cs | 21 | /// <summary> | COMMENT |
| LOW | …MahApps.Metro/Converters/InnerCornerRadiusConverter.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | src/MahApps.Metro/Converters/ColorToNameConverter.cs | 21 | public ColorHelper? ColorHelper { get; set; } | COMMENT |
| LOW | src/MahApps.Metro/Converters/ColorToNameConverter.cs | 81 | /// The ConvertBack-Method is not available inside a <see cref="MultiBinding"/>. Use a <see cref="Binding"/> wit | COMMENT |
| LOW | ….Metro/Converters/ButtonsPlacementToColumnConverter.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | src/MahApps.Metro/Converters/ThicknessSideType.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | src/MahApps.Metro/Converters/ThicknessSideType.cs | 21 | /// <summary> | COMMENT |
| LOW | …/MahApps.Metro/Lang/MultiSelectionComboBox.Designer.cs | 1 | //------------------------------------------------------------------------------ | COMMENT |
| LOW | src/MahApps.Metro/Lang/Automation.Designer.cs | 1 | //------------------------------------------------------------------------------ | COMMENT |
| LOW | src/MahApps.Metro/Lang/ColorNames.Designer.cs | 1 | //------------------------------------------------------------------------------ | COMMENT |
| LOW | src/MahApps.Metro/Controls/TabItemClosingDeferral.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | src/MahApps.Metro/Controls/MetroTabItem.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | …/MahApps.Metro/Controls/WindowPlacementFileSettings.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | …/MahApps.Metro/Controls/WindowPlacementFileSettings.cs | 21 | /// live somewhere the application controls. | COMMENT |
| LOW | src/MahApps.Metro/Controls/ClipBorder.cs | 61 | COMMENT | |
| LOW | src/MahApps.Metro/Controls/ClipBorder.cs | 141 | // /// <summary> | COMMENT |
| LOW | src/MahApps.Metro/Controls/ClipBorder.cs | 201 | /// <summary> | COMMENT |
| LOW | src/MahApps.Metro/Controls/ClipBorder.cs | 221 | { | COMMENT |
| LOW | src/MahApps.Metro/Controls/ClipBorder.cs | 461 | } | COMMENT |
| LOW | src/MahApps.Metro/Controls/ClipBorder.cs | 601 | COMMENT | |
| LOW | src/MahApps.Metro/Controls/MetroWindow.cs | 101 | /// <summary> | COMMENT |
| LOW | src/MahApps.Metro/Controls/MetroWindow.cs | 1501 | if (e.NewValue is FrameworkElement newChild) | COMMENT |
| LOW | src/MahApps.Metro/Controls/MetroWindow.cs | 1601 | metroContentControl.TransitionCompleted += (_, _) => this.RaiseEvent(new RoutedEventArgs(WindowTransitio | COMMENT |
| LOW | src/MahApps.Metro/Controls/MetroWindow.cs | 1741 | /// Shows the system menu of this window at the given point, in physical screen coordinates. | COMMENT |
| LOW | src/MahApps.Metro/Controls/NumericUpDown.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | src/MahApps.Metro/Controls/ToolBarOverflowListPanel.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | src/MahApps.Metro/Controls/TimeSpanUpDown.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | src/MahApps.Metro/Controls/TimeSpanUpDown.cs | 21 | /// does not change under the caret: <c>00:00:30</c> counts in half minutes wherever the cursor | COMMENT |
| LOW | src/MahApps.Metro/Controls/WindowSettings.cs | 61 | COMMENT | |
| LOW | src/MahApps.Metro/Controls/NumericInput.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | src/MahApps.Metro/Controls/TextBoxButtonCollection.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | src/MahApps.Metro/Controls/TabPanelEx.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | …/MahApps.Metro/Controls/TransitioningContentControl.cs | 21 | { | COMMENT |
| LOW | …/MahApps.Metro/Controls/TransitioningContentControl.cs | 41 | Right, | COMMENT |
| LOW | …c/MahApps.Metro/Controls/MetroNavigationWindow.xaml.cs | 221 | /// </summary> | COMMENT |
| LOW | …c/MahApps.Metro/Controls/MetroNavigationWindow.xaml.cs | 361 | /// </summary> | COMMENT |
| LOW | …c/MahApps.Metro/Controls/MetroNavigationWindow.xaml.cs | 401 | /// <summary> | COMMENT |
| LOW | …c/MahApps.Metro/Controls/MetroNavigationWindow.xaml.cs | 421 | /// </summary> | COMMENT |
| LOW | src/MahApps.Metro/Controls/SquareDecorator.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | src/MahApps.Metro/Controls/NavigationIndexPlacement.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | src/MahApps.Metro/Controls/NavigationIndexPlacement.cs | 21 | /// Index on top side | COMMENT |
| LOW | src/MahApps.Metro/Controls/NumericUpDownBase.Generic.cs | 21 | /// </summary> | COMMENT |
| LOW | src/MahApps.Metro/Controls/NumericUpDownBase.Generic.cs | 161 | COMMENT | |
| LOW | src/MahApps.Metro/Controls/TextBoxButton.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | src/MahApps.Metro/Controls/FlyoutTheme.cs | 21 | /// (see <see cref="ThemeManager.GetInverseTheme"/> for more infos. | COMMENT |
| LOW | src/MahApps.Metro/Controls/Badged.cs | 41 | COMMENT | |
| LOW | src/MahApps.Metro/Controls/ClipBorder.Utils.cs | 21 | // Smallest double value such that 1.0+DBL_EPSILON != 1.0 | COMMENT |
| LOW | src/MahApps.Metro/Controls/ClipBorder.Utils.cs | 61 | /// <summary> | COMMENT |
| LOW | src/MahApps.Metro/Controls/ClipBorder.Utils.cs | 101 | /// Compares two points for fuzzy equality. This function | COMMENT |
| LOW | src/MahApps.Metro/Controls/ClipBorder.Utils.cs | 221 | COMMENT | |
| LOW | src/MahApps.Metro/Controls/ClipBorder.Utils.cs | 301 | /// </summary> | COMMENT |
| LOW | src/MahApps.Metro/Controls/ClipBorder.Utils.cs | 421 | } | COMMENT |
| LOW | src/MahApps.Metro/Controls/ButtonsPlacement.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | …/MahApps.Metro/Controls/TrimmedTextTemplateSelector.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | src/MahApps.Metro/Controls/DecimalUpDown.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | …hApps.Metro/Controls/RangeSelectionChangedEventArgs.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | …hApps.Metro/Controls/RangeSelectionChangedEventArgs.cs | 21 | /// </summary> | COMMENT |
| LOW | …hApps.Metro/Controls/RangeSelectionChangedEventArgs.cs | 61 | /// <summary> | COMMENT |
| 88 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | src/Mahapps.Metro.Tests/Tests/ContentDialogTests.cs | 670 | MahApps.Metro.Controls.Dialogs.DialogParticipation.SetRegister(this.window!, context); | CODE |
| CRITICAL⚡ | src/Mahapps.Metro.Tests/Tests/ContentDialogTests.cs | 675 | var showing = MahApps.Metro.Controls.Dialogs.DialogCoordinator.Instance.ShowContentDialogAsync(context, | CODE |
| CRITICAL⚡ | src/Mahapps.Metro.Tests/Tests/ContentDialogTests.cs | 684 | MahApps.Metro.Controls.Dialogs.DialogParticipation.SetRegister(this.window!, null); | CODE |
| CRITICAL | src/Mahapps.Metro.Tests/Tests/FlipViewSetStyleTests.cs | 79 | Assert.That(System.Windows.Controls.Primitives.LayoutInformation.GetLayoutClip(dot), Is.Null, "nothi | CODE |
| CRITICAL | …/Mahapps.Metro.Tests/Tests/ProgressBarSetStyleTests.cs | 185 | System.Windows.Threading.Dispatcher.CurrentDispatcher.Invoke(() => { }, System.Windows.Threading.Dispatc | CODE |
| CRITICAL | src/Mahapps.Metro.Tests/Tests/InfoBarTests.cs | 234 | var peer = System.Windows.Automation.Peers.UIElementAutomationPeer.CreatePeerForElement(infoBar); | CODE |
| CRITICAL | src/Mahapps.Metro.Tests/Tests/InfoBarTests.cs | 251 | var peer = System.Windows.Automation.Peers.UIElementAutomationPeer.CreatePeerForElement(infoBar); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/MahApps.Metro/Lang/MultiSelectionComboBox.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | src/MahApps.Metro/Lang/Automation.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | src/MahApps.Metro/Lang/ColorNames.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …trols/MultiSelectionComboBox/MultiSelectionComboBox.cs | 1029 | // First we need to check if the string matches completely to the selected items. Therefore we need to displ | COMMENT |