AI Slop Code RIsk Monitor

PrismLibrary/Prism

Prism is a framework for building loosely coupled, maintainable, and testable XAML applications in WPF, Xamarin Forms, and Uno / Win UI Applications..

5.7 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for PrismLibrary/Prism, a C# project with 6,856 GitHub stars. SynthScan examined 93,942 lines of code across 1053 source files, recording 415 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 5.7 (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.7
Adjusted Signal
5.7
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
6.9K
Stars
C#
Language
93.9K
Lines of Code
1.1K
Files
415
Pattern Hits
2026-10-12
Scan Date
0.02
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 23.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.0/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 23.9/100 · LOW

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

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 415 distinct pattern matches across 5 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 Block395 hits · 395 pts
SeverityFileLineSnippetContext
LOW…sm.Maui.Tests/Fixtures/PageNavigationServiceFixture.cs621 //[Fact]COMMENT
LOW…sm.Maui.Tests/Fixtures/PageNavigationServiceFixture.cs641COMMENT
LOW…sm.Maui.Tests/Fixtures/PageNavigationServiceFixture.cs661 // Assert.Equal(secondContentPageMockViewModel, record.Sender);COMMENT
LOW…sm.Maui.Tests/Fixtures/PageNavigationServiceFixture.cs681 // Assert.Equal(secondContentPageMock, record.Sender);COMMENT
LOW…sm.Maui.Tests/Fixtures/PageNavigationServiceFixture.cs701 // // Navigate to Page2COMMENT
LOW…sm.Maui.Tests/Fixtures/PageNavigationServiceFixture.cs721COMMENT
LOW…ts/Fixtures/Behaviors/EventToCommandBehaviorFixture.cs181 collectionView.Behaviors.Add(behavior);COMMENT
LOW…ts/Modularity/DirectoryModuleCatalogFixture.Desktop.cs121 // = new Uri(moduleRef);COMMENT
LOW…ts/Modularity/DirectoryModuleCatalogFixture.Desktop.cs141 // {COMMENT
LOW…ts/Modularity/DirectoryModuleCatalogFixture.Desktop.cs161 // tryCOMMENT
LOW…Prism.Avalonia.Tests/Regions/ViewsCollectionFixture.cs281 //// originalCollection.Add(new ItemMetadata("b"));COMMENT
LOW…ts/Modularity/DirectoryModuleCatalogFixture.Desktop.cs121 // = new Uri(moduleRef);COMMENT
LOW…ts/Modularity/DirectoryModuleCatalogFixture.Desktop.cs141 // {COMMENT
LOW…ts/Modularity/DirectoryModuleCatalogFixture.Desktop.cs161 // tryCOMMENT
LOW.github/lock.yml21COMMENT
LOWe2e/Maui/PrismMauiDemo/MauiProgram.cs61 .NavigateAsync(HandleNavigationError))COMMENT
LOWe2e/Wpf/HelloWorld/ViewModels/MainWindowViewModel.cs41 private void ShowDialog()COMMENT
LOWe2e/Wpf/HelloWorld/ViewModels/MainWindowViewModel.cs61 // if (r.Result == ButtonResult.None)COMMENT
LOWe2e/Wpf/HelloWorld/Properties/Resources.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOWsrc/Prism.Core/IActiveAware.cs1using System;COMMENT
LOW…Prism.Core/Navigation/INavigationParametersInternal.cs1using System.Diagnostics.CodeAnalysis;COMMENT
LOW…Prism.Core/Navigation/INavigationParametersInternal.cs21 /// <returns><c>true</c> if key exists; else returns <c>false</c>.</returns>COMMENT
LOWsrc/Prism.Core/Navigation/INavigationResult.cs21COMMENT
LOWsrc/Prism.Core/Navigation/NavigationException.cs21 /// The <see cref="NavigationException"/> Message returned when GoBackAsync can only be called when the calling PageCOMMENT
LOWsrc/Prism.Core/Navigation/NavigationException.cs41 /// The <see cref="NavigationException"/> Message returned when no Page has been registered with the provided key.COMMENT
LOWsrc/Prism.Core/Navigation/NavigationException.cs61 /// The <see cref="NavigationException"/> Message returned when a dependency issue occurred while resolving the ViewCOMMENT
LOWsrc/Prism.Core/Navigation/NavigationException.cs121COMMENT
LOWsrc/Prism.Core/Navigation/NavigationException.cs141 /// <param name="innerException">The exception that is the cause of the current exception, or a null referenceCOMMENT
LOW…sm.Core/Navigation/Regions/IRegionNavigationJournal.cs1namespace Prism.Navigation.RegionsCOMMENT
LOW…sm.Core/Navigation/Regions/IRegionNavigationJournal.cs21 /// </value>COMMENT
LOW…sm.Core/Navigation/Regions/IRegionNavigationJournal.cs41 /// </summary>COMMENT
LOWsrc/Prism.Core/Navigation/Regions/IRegionAdapter.cs1namespace Prism.Navigation.RegionsCOMMENT
LOW…/Navigation/Regions/RegionNavigationFailedEventArgs.cs21 /// </summary>COMMENT
LOW…/Navigation/Regions/RegionNavigationFailedEventArgs.cs41COMMENT
LOW…c/Prism.Core/Navigation/Regions/IRegionViewRegistry.cs21 /// <summary>COMMENT
LOW…c/Prism.Core/Navigation/Regions/IRegionViewRegistry.cs41 /// </summary>COMMENT
LOWsrc/Prism.Core/Navigation/Regions/IRegion.cs1using System;COMMENT
LOWsrc/Prism.Core/Navigation/Regions/IRegion.cs21 IViewsCollection ActiveViews { get; }COMMENT
LOWsrc/Prism.Core/Navigation/Regions/IRegion.cs41 ///<overloads>Adds a new view to the region.</overloads>COMMENT
LOWsrc/Prism.Core/Navigation/Regions/IRegion.cs61 /// <param name="viewName">The name of the view. This can be used to retrieve it later by calling <see cref="GetCOMMENT
LOWsrc/Prism.Core/Navigation/Regions/IRegion.cs81 /// Removes all views from the region.COMMENT
LOWsrc/Prism.Core/Navigation/Regions/IRegion.cs101 /// <returns>Returns the named view or <see langword="null"/> if the view with <paramref name="viewName"/> does COMMENT
LOWsrc/Prism.Core/Navigation/Regions/IRegionCollection.cs21 /// </summary>COMMENT
LOWsrc/Prism.Core/Navigation/Regions/IRegionCollection.cs41 /// </summary>COMMENT
LOW…sm.Core/Navigation/Regions/IRegionNavigationService.cs1using System;COMMENT
LOW…m.Core/Navigation/Regions/IRegionBehaviorCollection.cs1using System.Collections.Generic;COMMENT
LOW…m.Core/Navigation/Regions/IRegionBehaviorCollection.cs21 /// Checks if a <see cref="IRegionBehavior"/> with the specified key is already present.COMMENT
LOW…sm.Core/Navigation/Regions/RegionBehaviorCollection.cs21 this.region = region;COMMENT
LOW…sm.Core/Navigation/Regions/RegionBehaviorCollection.cs61 /// <returns></returns>COMMENT
LOW…sm.Core/Navigation/Regions/IRegionManagerExtensions.cs1using System;COMMENT
LOW…sm.Core/Navigation/Regions/IRegionManagerExtensions.cs21 regionManager.RegisterViewWithRegion(regionName, _ => getContentDelegate());COMMENT
LOW…sm.Core/Navigation/Regions/IRegionManagerExtensions.cs41 public static void RequestNavigate(this IRegionManager regionManager, string regionName, Uri source) =>COMMENT
LOW…sm.Core/Navigation/Regions/IRegionManagerExtensions.cs61 public static void RequestNavigate(this IRegionManager regionManager, string regionName, string source, Action<NCOMMENT
LOW…sm.Core/Navigation/Regions/IRegionManagerExtensions.cs81 public static void RequestNavigate(this IRegionManager regionManager, string regionName, string target, Action<NCOMMENT
LOW…e/Navigation/Regions/IRegionNavigationContentLoader.cs1using System;COMMENT
LOW…rism.Core/Navigation/Regions/IRegionBehaviorFactory.cs1using System;COMMENT
LOW…rism.Core/Navigation/Regions/IRegionBehaviorFactory.cs21 /// </summary>COMMENT
LOWsrc/Prism.Core/Navigation/Regions/IRegionAware.cs1namespace Prism.Navigation.RegionsCOMMENT
LOW…ore/Navigation/Regions/RegionViewRegistryExtensions.cs21 /// <summary>COMMENT
LOWsrc/Prism.Core/Navigation/Regions/IRegionManager.cs21 IRegionManager CreateRegionManager();COMMENT
335 more matches not shown…
Synthetic Comment Markers14 hits · 105 pts
SeverityFileLineSnippetContext
HIGHe2e/Wpf/HelloWorld/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGHe2e/Wpf/HelloWorld/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsrc/Prism.Core/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsrc/Maui/Prism.Maui/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsrc/Prism.Events/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsrc/Wpf/Prism.Wpf/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsrc/Wpf/Prism.Wpf/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…/Wpf/Prism.DryIoc.Wpf/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsrc/Wpf/Prism.Unity.Wpf/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…c/Wpf/Prism.Unity.Wpf/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsrc/Uno/Prism.Uno/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…valonia/Prism.Avalonia/Properties/Settings.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…alonia/Prism.Avalonia/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…Prism.DryIoc.Avalonia/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
Hallucination Indicators3 hits · 35 pts
SeverityFileLineSnippetContext
CRITICAL…sm.Maui.Tests/Fixtures/PageNavigationServiceFixture.cs30 //Microsoft.Maui.Controls.Compatibility.Forms.Init(activationState);COMMENT
CRITICAL….Tests/Fixtures/Navigation/NavigationUriPathFixture.cs30 var model = new Prism.Maui.Tests.Navigation.Mocks.ViewModels.NavigationPathPageMockViewModel(service.Object);CODE
CRITICALsrc/Maui/Prism.Maui/Controls/PrismNavigationPage.cs36 var presentationStyle = Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.Page.GetModalPresentationStyleCODE
Fake / Example Data2 hits · 3 pts
SeverityFileLineSnippetContext
LOW…/Prism.Maui/Services/PageDialogs/IPageDialogService.cs116 /// <param name="placeholder">Placeholder text to display in the prompt</param>COMMENT
LOW…i/Prism.Maui/Services/PageDialogs/PageDialogService.cs172 /// <param name="placeholder">Placeholder text to display in the prompt</param>COMMENT
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/Maui/Prism.Maui/PrismAppBuilder.cs65 //this means we need to check if the PageNavigationService is handling the navigation and if it is, COMMENT