Prism is a framework for building loosely coupled, maintainable, and testable XAML applications in WPF, Xamarin Forms, and Uno / Win UI Applications..
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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 410 finding(s).
Are imports declared and package/API names verified? 5 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 415 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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …sm.Maui.Tests/Fixtures/PageNavigationServiceFixture.cs | 621 | //[Fact] | COMMENT |
| LOW | …sm.Maui.Tests/Fixtures/PageNavigationServiceFixture.cs | 641 | COMMENT | |
| LOW | …sm.Maui.Tests/Fixtures/PageNavigationServiceFixture.cs | 661 | // Assert.Equal(secondContentPageMockViewModel, record.Sender); | COMMENT |
| LOW | …sm.Maui.Tests/Fixtures/PageNavigationServiceFixture.cs | 681 | // Assert.Equal(secondContentPageMock, record.Sender); | COMMENT |
| LOW | …sm.Maui.Tests/Fixtures/PageNavigationServiceFixture.cs | 701 | // // Navigate to Page2 | COMMENT |
| LOW | …sm.Maui.Tests/Fixtures/PageNavigationServiceFixture.cs | 721 | COMMENT | |
| LOW | …ts/Fixtures/Behaviors/EventToCommandBehaviorFixture.cs | 181 | collectionView.Behaviors.Add(behavior); | COMMENT |
| LOW | …ts/Modularity/DirectoryModuleCatalogFixture.Desktop.cs | 121 | // = new Uri(moduleRef); | COMMENT |
| LOW | …ts/Modularity/DirectoryModuleCatalogFixture.Desktop.cs | 141 | // { | COMMENT |
| LOW | …ts/Modularity/DirectoryModuleCatalogFixture.Desktop.cs | 161 | // try | COMMENT |
| LOW | …Prism.Avalonia.Tests/Regions/ViewsCollectionFixture.cs | 281 | //// originalCollection.Add(new ItemMetadata("b")); | COMMENT |
| LOW | …ts/Modularity/DirectoryModuleCatalogFixture.Desktop.cs | 121 | // = new Uri(moduleRef); | COMMENT |
| LOW | …ts/Modularity/DirectoryModuleCatalogFixture.Desktop.cs | 141 | // { | COMMENT |
| LOW | …ts/Modularity/DirectoryModuleCatalogFixture.Desktop.cs | 161 | // try | COMMENT |
| LOW | .github/lock.yml | 21 | COMMENT | |
| LOW | e2e/Maui/PrismMauiDemo/MauiProgram.cs | 61 | .NavigateAsync(HandleNavigationError)) | COMMENT |
| LOW | e2e/Wpf/HelloWorld/ViewModels/MainWindowViewModel.cs | 41 | private void ShowDialog() | COMMENT |
| LOW | e2e/Wpf/HelloWorld/ViewModels/MainWindowViewModel.cs | 61 | // if (r.Result == ButtonResult.None) | COMMENT |
| LOW | e2e/Wpf/HelloWorld/Properties/Resources.Designer.cs | 1 | //------------------------------------------------------------------------------ | COMMENT |
| LOW | src/Prism.Core/IActiveAware.cs | 1 | using System; | COMMENT |
| LOW | …Prism.Core/Navigation/INavigationParametersInternal.cs | 1 | using System.Diagnostics.CodeAnalysis; | COMMENT |
| LOW | …Prism.Core/Navigation/INavigationParametersInternal.cs | 21 | /// <returns><c>true</c> if key exists; else returns <c>false</c>.</returns> | COMMENT |
| LOW | src/Prism.Core/Navigation/INavigationResult.cs | 21 | COMMENT | |
| LOW | src/Prism.Core/Navigation/NavigationException.cs | 21 | /// The <see cref="NavigationException"/> Message returned when GoBackAsync can only be called when the calling Page | COMMENT |
| LOW | src/Prism.Core/Navigation/NavigationException.cs | 41 | /// The <see cref="NavigationException"/> Message returned when no Page has been registered with the provided key. | COMMENT |
| LOW | src/Prism.Core/Navigation/NavigationException.cs | 61 | /// The <see cref="NavigationException"/> Message returned when a dependency issue occurred while resolving the View | COMMENT |
| LOW | src/Prism.Core/Navigation/NavigationException.cs | 121 | COMMENT | |
| LOW | src/Prism.Core/Navigation/NavigationException.cs | 141 | /// <param name="innerException">The exception that is the cause of the current exception, or a null reference | COMMENT |
| LOW | …sm.Core/Navigation/Regions/IRegionNavigationJournal.cs | 1 | namespace Prism.Navigation.Regions | COMMENT |
| LOW | …sm.Core/Navigation/Regions/IRegionNavigationJournal.cs | 21 | /// </value> | COMMENT |
| LOW | …sm.Core/Navigation/Regions/IRegionNavigationJournal.cs | 41 | /// </summary> | COMMENT |
| LOW | src/Prism.Core/Navigation/Regions/IRegionAdapter.cs | 1 | namespace Prism.Navigation.Regions | COMMENT |
| LOW | …/Navigation/Regions/RegionNavigationFailedEventArgs.cs | 21 | /// </summary> | COMMENT |
| LOW | …/Navigation/Regions/RegionNavigationFailedEventArgs.cs | 41 | COMMENT | |
| LOW | …c/Prism.Core/Navigation/Regions/IRegionViewRegistry.cs | 21 | /// <summary> | COMMENT |
| LOW | …c/Prism.Core/Navigation/Regions/IRegionViewRegistry.cs | 41 | /// </summary> | COMMENT |
| LOW | src/Prism.Core/Navigation/Regions/IRegion.cs | 1 | using System; | COMMENT |
| LOW | src/Prism.Core/Navigation/Regions/IRegion.cs | 21 | IViewsCollection ActiveViews { get; } | COMMENT |
| LOW | src/Prism.Core/Navigation/Regions/IRegion.cs | 41 | ///<overloads>Adds a new view to the region.</overloads> | COMMENT |
| LOW | src/Prism.Core/Navigation/Regions/IRegion.cs | 61 | /// <param name="viewName">The name of the view. This can be used to retrieve it later by calling <see cref="Get | COMMENT |
| LOW | src/Prism.Core/Navigation/Regions/IRegion.cs | 81 | /// Removes all views from the region. | COMMENT |
| LOW | src/Prism.Core/Navigation/Regions/IRegion.cs | 101 | /// <returns>Returns the named view or <see langword="null"/> if the view with <paramref name="viewName"/> does | COMMENT |
| LOW | src/Prism.Core/Navigation/Regions/IRegionCollection.cs | 21 | /// </summary> | COMMENT |
| LOW | src/Prism.Core/Navigation/Regions/IRegionCollection.cs | 41 | /// </summary> | COMMENT |
| LOW | …sm.Core/Navigation/Regions/IRegionNavigationService.cs | 1 | using System; | COMMENT |
| LOW | …m.Core/Navigation/Regions/IRegionBehaviorCollection.cs | 1 | using System.Collections.Generic; | COMMENT |
| LOW | …m.Core/Navigation/Regions/IRegionBehaviorCollection.cs | 21 | /// Checks if a <see cref="IRegionBehavior"/> with the specified key is already present. | COMMENT |
| LOW | …sm.Core/Navigation/Regions/RegionBehaviorCollection.cs | 21 | this.region = region; | COMMENT |
| LOW | …sm.Core/Navigation/Regions/RegionBehaviorCollection.cs | 61 | /// <returns></returns> | COMMENT |
| LOW | …sm.Core/Navigation/Regions/IRegionManagerExtensions.cs | 1 | using System; | COMMENT |
| LOW | …sm.Core/Navigation/Regions/IRegionManagerExtensions.cs | 21 | regionManager.RegisterViewWithRegion(regionName, _ => getContentDelegate()); | COMMENT |
| LOW | …sm.Core/Navigation/Regions/IRegionManagerExtensions.cs | 41 | public static void RequestNavigate(this IRegionManager regionManager, string regionName, Uri source) => | COMMENT |
| LOW | …sm.Core/Navigation/Regions/IRegionManagerExtensions.cs | 61 | public static void RequestNavigate(this IRegionManager regionManager, string regionName, string source, Action<N | COMMENT |
| LOW | …sm.Core/Navigation/Regions/IRegionManagerExtensions.cs | 81 | public static void RequestNavigate(this IRegionManager regionManager, string regionName, string target, Action<N | COMMENT |
| LOW | …e/Navigation/Regions/IRegionNavigationContentLoader.cs | 1 | using System; | COMMENT |
| LOW | …rism.Core/Navigation/Regions/IRegionBehaviorFactory.cs | 1 | using System; | COMMENT |
| LOW | …rism.Core/Navigation/Regions/IRegionBehaviorFactory.cs | 21 | /// </summary> | COMMENT |
| LOW | src/Prism.Core/Navigation/Regions/IRegionAware.cs | 1 | namespace Prism.Navigation.Regions | COMMENT |
| LOW | …ore/Navigation/Regions/RegionViewRegistryExtensions.cs | 21 | /// <summary> | COMMENT |
| LOW | src/Prism.Core/Navigation/Regions/IRegionManager.cs | 21 | IRegionManager CreateRegionManager(); | COMMENT |
| 335 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | e2e/Wpf/HelloWorld/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | e2e/Wpf/HelloWorld/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | src/Prism.Core/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | src/Maui/Prism.Maui/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | src/Prism.Events/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | src/Wpf/Prism.Wpf/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | src/Wpf/Prism.Wpf/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …/Wpf/Prism.DryIoc.Wpf/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | src/Wpf/Prism.Unity.Wpf/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …c/Wpf/Prism.Unity.Wpf/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | src/Uno/Prism.Uno/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …valonia/Prism.Avalonia/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …alonia/Prism.Avalonia/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …Prism.DryIoc.Avalonia/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …sm.Maui.Tests/Fixtures/PageNavigationServiceFixture.cs | 30 | //Microsoft.Maui.Controls.Compatibility.Forms.Init(activationState); | COMMENT |
| CRITICAL | ….Tests/Fixtures/Navigation/NavigationUriPathFixture.cs | 30 | var model = new Prism.Maui.Tests.Navigation.Mocks.ViewModels.NavigationPathPageMockViewModel(service.Object); | CODE |
| CRITICAL | src/Maui/Prism.Maui/Controls/PrismNavigationPage.cs | 36 | var presentationStyle = Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.Page.GetModalPresentationStyle | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/Prism.Maui/Services/PageDialogs/IPageDialogService.cs | 116 | /// <param name="placeholder">Placeholder text to display in the prompt</param> | COMMENT |
| LOW | …i/Prism.Maui/Services/PageDialogs/PageDialogService.cs | 172 | /// <param name="placeholder">Placeholder text to display in the prompt</param> | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/Maui/Prism.Maui/PrismAppBuilder.cs | 65 | //this means we need to check if the PageNavigationService is handling the navigation and if it is, | COMMENT |