Repository Analysis

MaterialDesignInXAML/MaterialDesignInXamlToolkit

Google's Material Design in XAML & WPF, for C# & VB.Net.

2.9 Likely human-written View on GitHub
2.9
Adjusted Score
2.9
Raw Score
100%
Time Factor
2026-05-29
Last Push
16,170
Stars
C#
Language
102,545
Lines of Code
780
Files
158
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 25MEDIUM 4LOW 129

Pattern Findings

158 matches across 6 categories. Click a row to expand file-level details.

Synthetic Comment Markers17 hits · 128 pts
SeverityFileLineSnippet
HIGH…MaterialDesignThemes.UITests/WPF/Theme/ThemeTests.g.cs3// This code was generated by MaterialDesignToolkit.ResourceGeneration.
HIGH…MaterialDragablzMashUp/Properties/Settings.Designer.cs3// This code was generated by a tool.
HIGH…aterialDragablzMashUp/Properties/Resources.Designer.cs3// This code was generated by a tool.
HIGH…rialDesignThemes.Wpf/ResourceDictionaryExtensions.g.cs3// This code was generated by MaterialDesignToolkit.ResourceGeneration.
HIGHsrc/MaterialDesignThemes.Wpf/ThemeExtensions.g.cs3// This code was generated by MaterialDesignToolkit.ResourceGeneration.
HIGHsrc/MaterialDesignThemes.Wpf/Theme.g.cs3// This code was generated by MaterialDesignToolkit.ResourceGeneration.
HIGH…terialDesignThemes.Wpf/Properties/Settings.Designer.cs3// This code was generated by a tool.
HIGH…erialDesignThemes.Wpf/Properties/Resources.Designer.cs3// This code was generated by a tool.
HIGH…terialDesign3.Demo.Wpf/Properties/Settings.Designer.cs3// This code was generated by a tool.
HIGH…erialDesign3.Demo.Wpf/Properties/Resources.Designer.cs3// This code was generated by a tool.
HIGH…terialDesignColors.Wpf/Properties/Settings.Designer.cs3// This code was generated by a tool.
HIGH…erialDesignColors.Wpf/Properties/Resources.Designer.cs3// This code was generated by a tool.
HIGHsrc/MaterialDesignToolkit.ResourceGeneration/Brushes.cs18 // This code was generated by MaterialDesignToolkit.ResourceGeneration.
HIGHsrc/MainDemo.Wpf/Properties/Settings.Designer.cs3// This code was generated by a tool.
HIGHsrc/MainDemo.Wpf/Properties/Resources.Designer.cs3// This code was generated by a tool.
HIGH…alDesignThemes.MahApps/Properties/Settings.Designer.cs3// This code was generated by a tool.
HIGH…lDesignThemes.MahApps/Properties/Resources.Designer.cs3// This code was generated by a tool.
Over-Commented Block75 hits · 74 pts
SeverityFileLineSnippet
LOWtests/MaterialDesignThemes.Wpf.Tests/DialogHostTests.cs481 //[Test]
LOWtests/MaterialDesignThemes.Wpf.Tests/DialogHostTests.cs501 // {
LOWtests/MaterialDesignThemes.Wpf.Tests/DialogHostTests.cs521 // await tcs.Task;
LOW…c/MahMaterialDragablzMashUp/Properties/AssemblyInfo.cs1using System.Runtime.InteropServices;
LOW…aterialDragablzMashUp/Properties/Resources.Designer.cs1//------------------------------------------------------------------------------
LOWsrc/MaterialDesignThemes.Wpf/TreeViewAssist.cs41 #endregion
LOWsrc/MaterialDesignThemes.Wpf/Screen.cs321 return new Screen((IntPtr)PRIMARY_MONITOR);
LOWsrc/MaterialDesignThemes.Wpf/Screen.cs341 /// </summary>
LOWsrc/MaterialDesignThemes.Wpf/DialogHostEx.cs1namespace MaterialDesignThemes.Wpf;
LOWsrc/MaterialDesignThemes.Wpf/DialogHostEx.cs21 => GetFirstDialogHost(window).ShowInternal(content, null, null, null);
LOWsrc/MaterialDesignThemes.Wpf/DialogHostEx.cs41 /// </summary>
LOWsrc/MaterialDesignThemes.Wpf/DialogHostEx.cs61 /// <returns></returns>
LOWsrc/MaterialDesignThemes.Wpf/DialogHostEx.cs81
LOWsrc/MaterialDesignThemes.Wpf/DialogHostEx.cs101 /// Shows a dialog using the parent/ancestor <see cref="DialogHost"/> of the a given <see cref="DependencyObject"/>.
LOWsrc/MaterialDesignThemes.Wpf/DialogHostEx.cs121 /// <returns></returns>
LOWsrc/MaterialDesignThemes.Wpf/DialogHostEx.cs141 /// <param name="childDependencyObject">Dependency object which should be a visual child of a <see cref="DialogHost"
LOWsrc/MaterialDesignThemes.Wpf/DialogHostEx.cs161 /// <returns></returns>
LOWsrc/MaterialDesignThemes.Wpf/TextFieldAssist.cs21 /// Sets the text box view margin.
LOWsrc/MaterialDesignThemes.Wpf/TextFieldAssist.cs61 /// <returns></returns>
LOWsrc/MaterialDesignThemes.Wpf/IHintProxy.cs1namespace MaterialDesignThemes.Wpf;
LOWsrc/MaterialDesignThemes.Wpf/ISnackbarMessageQueue.cs1namespace MaterialDesignThemes.Wpf;
LOWsrc/MaterialDesignThemes.Wpf/ISnackbarMessageQueue.cs21 /// </summary>
LOWsrc/MaterialDesignThemes.Wpf/ISnackbarMessageQueue.cs41 /// <param name="actionHandler">Call back to be executed if user clicks the action button.</param>
LOWsrc/MaterialDesignThemes.Wpf/ISnackbarMessageQueue.cs61 /// <param name="actionArgument">Argument to pass to <paramref name="actionHandler"/>.</param>
LOW…c/MaterialDesignThemes.Wpf/PrefixSuffixHintBehavior.cs1namespace MaterialDesignThemes.Wpf;
LOWsrc/MaterialDesignThemes.Wpf/TreeListView.cs61 // if (element is TreeListViewItem treeListViewItem)
LOWsrc/MaterialDesignThemes.Wpf/RippleAssist.cs21
LOWsrc/MaterialDesignThemes.Wpf/DialogHost.cs81 public static Task<object?> Show(object content)
LOWsrc/MaterialDesignThemes.Wpf/DialogHost.cs101
LOWsrc/MaterialDesignThemes.Wpf/DialogHost.cs121 => Show(content, null, openedEventHandler, closingEventHandler, closedEventHandler);
LOWsrc/MaterialDesignThemes.Wpf/DialogHost.cs141
LOWsrc/MaterialDesignThemes.Wpf/DialogHost.cs161 => Show(content, dialogIdentifier, openedEventHandler, closingEventHandler, null);
LOWsrc/MaterialDesignThemes.Wpf/PopupBox.cs21 /// <summary>
LOWsrc/MaterialDesignThemes.Wpf/PopupBox.cs41 /// <summary>
LOWsrc/MaterialDesignThemes.Wpf/PopupBox.cs61}
LOWsrc/MaterialDesignThemes.Wpf/PrefixSuffixVisibility.cs1namespace MaterialDesignThemes.Wpf;
LOW…c/MaterialDesignThemes.Wpf/SnackbarMessageQueueItem.cs21
LOW…MaterialDesignThemes.Wpf/Internal/Shims/NotNullWhen.cs1
LOW…MaterialDesignThemes.Wpf/Internal/Shims/NotNullWhen.cs21 ReturnValue = returnValue;
LOW…nverters/FloatingHintInitialVerticalOffsetConverter.cs1using System.Globalization;
LOW…erialDesignThemes.Wpf/Properties/Resources.Designer.cs1//------------------------------------------------------------------------------
LOWsrc/MaterialDesign3.Motion/AnimationSpec.cs1namespace MaterialDesignThemes.Motion;
LOWsrc/MaterialDesign3.Motion/AnimationEndReason.cs1namespace MaterialDesignThemes.Motion;
LOWsrc/MaterialDesign3.Motion/Easing.cs1namespace MaterialDesignThemes.Motion;
LOWsrc/MaterialDesign3.Motion/SpringConstants.cs1namespace MaterialDesignThemes.Motion;
LOWsrc/MaterialDesign3.Motion/SpringConstants.cs21 public const float StiffnessMediumLow = 400f;
LOWsrc/MaterialDesign3.Motion/AnimationParameters.cs1namespace MaterialDesignThemes.Motion;
LOWsrc/MaterialDesign3.Motion/AnimationParameters.cs21 /// </remarks>
LOWsrc/MaterialDesign3.Motion/SpringMotionSpec.cs1namespace MaterialDesignThemes.Motion;
LOWsrc/MaterialDesign3.Motion/ArcSpline.cs1namespace MaterialDesignThemes.Motion;
LOWsrc/MaterialDesign3.Motion/CubicBezierEasing.cs1namespace MaterialDesignThemes.Motion;
LOWsrc/MaterialDesign3.Motion/CubicBezierEasing.cs21/// </param>
LOWsrc/MaterialDesign3.Motion/RepeatMode.cs1namespace MaterialDesignThemes.Motion;
LOWsrc/MaterialDesign3.Motion/Repeatable.cs1namespace MaterialDesignThemes.Motion;
LOWsrc/MaterialDesign3.Motion/Repeatable.cs21 /// </remarks>
LOWsrc/web/scripts/react.js1301 // In modern browsers (i.e., not IE8 or IE9), the input event is exactly
LOWsrc/MaterialDesign3.Demo.Wpf/Properties/AssemblyInfo.cs1using System.Runtime.InteropServices;
LOW…erialDesign3.Demo.Wpf/Properties/Resources.Designer.cs1//------------------------------------------------------------------------------
LOW…erialDesignColors.Wpf/Properties/Resources.Designer.cs1//------------------------------------------------------------------------------
LOW…erialDesignColors.Wpf/ColorManipulation/ColorAssist.cs1using System.Windows.Media;
15 more matches not shown…
Cross-File Repetition8 hits · 40 pts
SeverityFileLineSnippet
HIGH…esignThemes.UITests/WPF/TabControls/TabControlTests.cs0<tabitem header="tab {i}"> <textblock margin="8" text="tab {i}" /> </tabitem>
HIGH…esignThemes.UITests/WPF/TabControls/TabControlTests.cs0<tabitem header="tab {i}"> <textblock margin="8" text="tab {i}" /> </tabitem>
HIGH…esignThemes.UITests/WPF/TabControls/TabControlTests.cs0<tabitem header="tab {i}"> <textblock margin="8" text="tab {i}" /> </tabitem>
HIGH…esignThemes.UITests/WPF/TabControls/TabControlTests.cs0<tabitem header="tab {i}"> <textblock margin="8" text="tab {i}" /> </tabitem>
HIGH…esignThemes.UITests/WPF/TabControls/TabControlTests.cs0<tabitem header="tab {i}"> <textblock margin="8" text="tab {i}" /> </tabitem>
HIGH…esignThemes.UITests/WPF/TabControls/TabControlTests.cs0<tabitem header="tab {i}"> <textblock margin="8" text="tab {i}" /> </tabitem>
HIGH…esignThemes.UITests/WPF/TabControls/TabControlTests.cs0<tabitem header="tab {i}"> <textblock margin="8" text="tab {i}" /> </tabitem>
HIGH…esignThemes.UITests/WPF/TabControls/TabControlTests.cs0<tabitem header="tab {i}"> <textblock margin="8" text="tab {i}" /> </tabitem>
Hyper-Verbose Identifiers50 hits · 36 pts
SeverityFileLineSnippet
LOWsrc/web/scripts/react.js3496function accumulateDirectDispatchesSingle(event) {
LOWsrc/web/scripts/react.js3502function accumulateTwoPhaseDispatches(events) {
LOWsrc/web/scripts/react.js3506function accumulateEnterLeaveDispatches(leave, enter, fromID, toID) {
LOWsrc/web/scripts/react.js356function isFallbackCompositionStart(topLevelType, nativeEvent) {
LOWsrc/web/scripts/react.js477function getNativeBeforeInputChars(topLevelType, nativeEvent) {
LOWsrc/web/scripts/react.js531function getFallbackBeforeInputChars(topLevelType, nativeEvent) {
LOWsrc/web/scripts/react.js1147function manualDispatchChangeEvent(nativeEvent) {
LOWsrc/web/scripts/react.js1189function getTargetIDForChangeEvent(
LOWsrc/web/scripts/react.js1244function startWatchingForValueChange(target, targetID) {
LOWsrc/web/scripts/react.js1261function stopWatchingForValueChange() {
LOWsrc/web/scripts/react.js1308function handleEventsForInputEventIE(
LOWsrc/web/scripts/react.js1334function getTargetIDForInputEventIE(
LOWsrc/web/scripts/react.js3314function executeDispatchesInOrderStopAtTrueImpl(event) {
LOWsrc/web/scripts/react.js3341function executeDispatchesInOrderStopAtTrue(event) {
LOWsrc/web/scripts/react.js3441function accumulateDirectionalDispatches(domID, upwards, event) {
LOWsrc/web/scripts/react.js3463function accumulateTwoPhaseDispatchesSingle(event) {
LOWsrc/web/scripts/react.js3517function accumulateDirectDispatches(events) {
LOWsrc/web/scripts/react.js4903function mapSingleChildIntoContext(traverseContext, child, name, i) {
LOWsrc/web/scripts/react.js5516function mixStaticSpecIntoComponent(Constructor, statics) {
LOWsrc/web/scripts/react.js5555function mergeIntoWithNoDuplicateKeys(one, two) {
LOWsrc/web/scripts/react.js5586function createMergedResultFunction(one, two) {
LOWsrc/web/scripts/react.js6192function getDeclarationErrorAddendum(component) {
LOWsrc/web/scripts/react.js8456function updateOptionsIfPendingUpdateAndMounted() {
LOWsrc/web/scripts/react.js9111function ReactDefaultBatchingStrategyTransaction() {
LOWsrc/web/scripts/react.js10117function getDeclarationErrorAddendum() {
LOWsrc/web/scripts/react.js10162function getCurrentOwnerDisplayName() {
LOWsrc/web/scripts/react.js10408function checkAndWarnForMutatedProps(element) {
LOWsrc/web/scripts/react.js10621function deregisterNullComponentID(id) {
LOWsrc/web/scripts/react.js10768function TopLevelCallbackBookKeeping(topLevelType, nativeEvent) {
LOWsrc/web/scripts/react.js11941function findDeepestCachedAncestorImpl(ancestorID) {
LOWsrc/web/scripts/react.js11955function findDeepestCachedAncestor(targetID) {
LOWsrc/web/scripts/react.js11997function batchedMountComponentIntoNode(
LOWsrc/web/scripts/react.js13138function getComponentClassForElement(element) {
LOWsrc/web/scripts/react.js13544function createChainableTypeChecker(validate) {
LOWsrc/web/scripts/react.js13567function createPrimitiveTypeChecker(expectedType) {
LOWsrc/web/scripts/react.js13628function createInstanceTypeChecker(expectedClass) {
LOWsrc/web/scripts/react.js13662function createObjectOfTypeChecker(typeChecker) {
LOWsrc/web/scripts/react.js13979function ReactReconcileTransaction() {
LOWsrc/web/scripts/react.js14398function ReactServerRenderingTransaction(renderToStaticMarkup) {
LOWsrc/web/scripts/react.js14485function getInternalInstanceReadyForUpdate(publicInstance, callerName) {
LOWsrc/web/scripts/react.js14817function ReactUpdatesFlushTransaction() {
LOWsrc/web/scripts/react.js15848function SyntheticCompositionEvent(
LOWsrc/web/scripts/react.js17357function escapeTextContentForBrowser(text) {
LOWsrc/web/scripts/react.js17456function flattenSingleChildIntoContext(traverseContext, child, name) {
LOWsrc/web/scripts/react.js18023function getNodeForCharacterOffset(root, offset) {
LOWsrc/web/scripts/react.js18069function getReactRootElementInContainer(container) {
LOWsrc/web/scripts/react.js18145function getUnboundedScrollPosition(scrollable) {
LOWsrc/web/scripts/react.js18290function instantiateReactComponent(node, parentCompositeType) {
LOWsrc/web/scripts/react.js18875function quoteAttributeValueForBrowser(value) {
LOWsrc/web/scripts/react.js19084function shouldUpdateReactComponent(prevElement, nextElement) {
AI Slop Vocabulary4 hits · 10 pts
SeverityFileLineSnippet
MEDIUMsrc/web/scripts/react.js14841 // Essentially calls `this.reconcileTransaction.perform(method, scope, a)`
MEDIUMsrc/web/scripts/react.js18954 // children. Definitely want to avoid this.
MEDIUMsrc/web/scripts/react.min.js12!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof defin
MEDIUMsrc/web/scripts/react.min.js12!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof defin
Fake / Example Data4 hits · 6 pts
SeverityFileLineSnippet
LOWsrc/MainDemo.Wpf/Domain/TabsViewModel.cs14Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dictum eleifend tellus, quis accumsan neque facilisis ac.
LOWsrc/MainDemo.Wpf/Domain/TabsViewModel.cs14Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dictum eleifend tellus, quis accumsan neque facilisis ac.
LOWsrc/MainDemo.Wpf/Domain/TabsViewModel.cs20Sed placerat sapien non quam fringilla fermentum. Nullam ex leo, condimentum sit amet magna vitae, condimentum volutpat
LOWsrc/MainDemo.Wpf/Domain/TabsViewModel.cs20Sed placerat sapien non quam fringilla fermentum. Nullam ex leo, condimentum sit amet magna vitae, condimentum volutpat