Prism is a framework for building loosely coupled, maintainable, and testable XAML applications in WPF, Xamarin Forms, and Uno / Win UI Applications..
This report presents the forensic synthetic code analysis of PrismLibrary/Prism, a C# project with 6,827 GitHub stars. SynthScan v2.0 examined 83,737 lines of code across 975 source files, recording 412 pattern matches distributed across 5 syntactic categories. The overall adjusted score of 6.3 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 412 distinct pattern matches across 5 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …sm.Maui.Tests/Fixtures/PageNavigationServiceFixture.cs | 621 | //public async Task NavigateAsync_From_NavigationPage_With_ChildPage_And_ReplaseRootPage() | COMMENT |
| LOW | …sm.Maui.Tests/Fixtures/PageNavigationServiceFixture.cs | 641 | // Assert.Equal(0, navigationPage.Navigation.ModalStack.Count); | COMMENT |
| LOW | …sm.Maui.Tests/Fixtures/PageNavigationServiceFixture.cs | 661 | // Assert.Equal(PageNavigationEvent.OnNavigatedFrom, record.Event); | COMMENT |
| LOW | …sm.Maui.Tests/Fixtures/PageNavigationServiceFixture.cs | 681 | // Assert.Equal(PageNavigationEvent.Destroy, record.Event); | COMMENT |
| LOW | …sm.Maui.Tests/Fixtures/PageNavigationServiceFixture.cs | 701 | // ((IPageAware)navigationService).Page = contentPageMock; | COMMENT |
| LOW | …sm.Maui.Tests/Fixtures/PageNavigationServiceFixture.cs | 721 | // record = recorder.TakeFirst(); | 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 | 41 | .CreateWindow(navigationService => navigationService.CreateBuilder() | 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 | namespace Prism.Navigation; | COMMENT |
| LOW | …Prism.Core/Navigation/INavigationParametersInternal.cs | 21 | 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 | 101 | COMMENT | |
| LOW | src/Prism.Core/Navigation/NavigationException.cs | 121 | : this(message, navigationKey, null, innerException) | COMMENT |
| LOW | src/Prism.Core/Navigation/NavigationException.cs | 141 | /// </summary> | 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 |
| 333 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 | 29 | //Microsoft.Maui.Controls.Compatibility.Forms.Init(activationState); | COMMENT |
| 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 |