Repository Analysis

icsharpcode/ILSpy

.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!

5.9 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of icsharpcode/ILSpy, a C# project with 25,632 GitHub stars. SynthScan v2.0 examined 383,432 lines of code across 1817 source files, recording 2062 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 5.9 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).

5.9
Adjusted Score
5.9
Raw Score
100%
Time Factor
2026-07-13
Last Push
25.6K
Stars
C#
Language
383.4K
Lines of Code
1.8K
Files
2.1K
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

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.

CRITICAL 20HIGH 3MEDIUM 0LOW 2039

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 2062 distinct pattern matches across 6 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.

Over-Commented Block2035 hits · 2035 pts
SeverityFileLineSnippetContext
LOWICSharpCode.ILSpyCmd/ValidationAttributes.cs1// Copyright (c) 2019 Christoph WilleCOMMENT
LOWICSharpCode.ILSpyCmd/IlspyCmdProgram.cs1// Copyright (c) 2019 Christoph WilleCOMMENT
LOWICSharpCode.ILSpyCmd/IlspyCmdProgram.cs621COMMENT
LOWICSharpCode.ILSpyCmd/BamlAwareWholeProjectDecompiler.cs1// Copyright (c) 2026 AlphaSierraPapa for the SharpDevelop TeamCOMMENT
LOWICSharpCode.ILSpyCmd/ResourceExtensions.cs1// Copyright (c) 2026 AlphaSierraPapa for the SharpDevelop TeamCOMMENT
LOWICSharpCode.ILSpyCmd/TypesParser.cs1// Copyright (c) 2017 Christoph WilleCOMMENT
LOWICSharpCode.ILSpyCmd/DotNetToolUpdateChecker.cs1// Copyright (c) 2023 Christoph WilleCOMMENT
LOWICSharpCode.ILSpyCmd/ProgramExitCodes.cs1// Copyright (c) 2019 Christoph WilleCOMMENT
LOWICSharpCode.ILSpyCmd/Properties/AssemblyInfo.cs1// Copyright (c) 2011 Daniel GrunwaldCOMMENT
LOWILSpy.ReadyToRun/ReadyToRunOptionsViewModel.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOWILSpy.ReadyToRun/ReadyToRunOptionsView.axaml.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOWILSpy.ReadyToRun/ReadyToRunDisassembler.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOWILSpy.ReadyToRun/ReadyToRunLanguage.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOWILSpy.ReadyToRun/ReadyToRunOptions.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOWILSpy.ReadyToRun/Properties/AssemblyInfo.cs1// Copyright (c) 2019 Andrew AuCOMMENT
LOWILSpy.ReadyToRun/Properties/Resources.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOWICSharpCode.ILSpyX/AssemblyListManager.cs1// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop TeamCOMMENT
LOWICSharpCode.ILSpyX/LoadedPackage.cs1// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop TeamCOMMENT
LOWICSharpCode.ILSpyX/ApiVisibility.cs1// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop TeamCOMMENT
LOWICSharpCode.ILSpyX/LanguageVersion.cs1// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop TeamCOMMENT
LOWICSharpCode.ILSpyX/LoadedAssembly.cs1// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop TeamCOMMENT
LOWICSharpCode.ILSpyX/LoadedAssembly.cs41 /// Represents a file loaded into ILSpy.COMMENT
LOWICSharpCode.ILSpyX/LoadedAssembly.cs61 internal static readonly ConditionalWeakTable<MetadataFile, LoadedAssembly> loadedAssemblies = new ConditionalWeakTablCOMMENT
LOWICSharpCode.ILSpyX/LoadedAssembly.cs141 /// An explicit override wins over the detected value.COMMENT
LOWICSharpCode.ILSpyX/LoadedAssembly.cs381 public bool HasLoadError => lazyLoadingTask.IsValueCreated && lazyLoadingTask.Value.IsFaulted;COMMENT
LOWICSharpCode.ILSpyX/LoadedAssemblyExtensions.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOWICSharpCode.ILSpyX/AssemblyList.cs1// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop TeamCOMMENT
LOWICSharpCode.ILSpyX/AssemblyListSnapshot.cs1// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop TeamCOMMENT
LOWICSharpCode.ILSpyX/Settings/ISettingsProvider.cs1// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop TeamCOMMENT
LOWICSharpCode.ILSpyX/Settings/ILSpySettings.cs1// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop TeamCOMMENT
LOWICSharpCode.ILSpyX/Settings/DecompilerSettings.cs1// Copyright (c) 2024 Tom EnglertCOMMENT
LOWICSharpCode.ILSpyX/Settings/SettingsServiceBase.cs1// Copyright (c) 2024 Tom EnglertCOMMENT
LOWICSharpCode.ILSpyX/Settings/MutexProtector.cs1// Copyright (c) 2026 AlphaSierraPapa for the SharpDevelop TeamCOMMENT
LOWICSharpCode.ILSpyX/Analyzers/AnalyzerContext.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOWICSharpCode.ILSpyX/Analyzers/AnalyzerHelpers.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOWICSharpCode.ILSpyX/Analyzers/IAnalyzer.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOWICSharpCode.ILSpyX/Analyzers/IAnalyzer.cs21using ICSharpCode.Decompiler.TypeSystem;COMMENT
LOWICSharpCode.ILSpyX/Analyzers/AnalyzerScope.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOWICSharpCode.ILSpyX/Analyzers/ExportAnalyzerAttribute.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOW….ILSpyX/Analyzers/Builtin/EventOverriddenByAnalyzer.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOW…ILSpyX/Analyzers/Builtin/TypeInstantiatedByAnalyzer.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOW…ILSpyX/Analyzers/Builtin/MethodOverriddenByAnalyzer.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOW…LSpyX/Analyzers/Builtin/MethodVirtualUsedByAnalyzer.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOW…Code.ILSpyX/Analyzers/Builtin/TypeExposedByAnalyzer.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOW…Analyzers/Builtin/MemberImplementsInterfaceAnalyzer.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOW…ILSpyX/Analyzers/Builtin/FindTypeInAttributeDecoder.cs1// Copyright (c) 2022 Siegfried PammerCOMMENT
LOW…arpCode.ILSpyX/Analyzers/Builtin/MethodUsesAnalyzer.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOW…ILSpyX/Analyzers/Builtin/EventImplementedByAnalyzer.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOW…pCode.ILSpyX/Analyzers/Builtin/MethodUsedByAnalyzer.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOW…pyX/Analyzers/Builtin/PropertyImplementedByAnalyzer.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOW…rpCode.ILSpyX/Analyzers/Builtin/FieldAccessAnalyzer.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOW…ILSpyX/Analyzers/Builtin/AttributeAppliedToAnalyzer.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOW…arpCode.ILSpyX/Analyzers/Builtin/TypeUsedByAnalyzer.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOW…arpCode.ILSpyX/Analyzers/Builtin/TypeUsedByAnalyzer.cs61 {COMMENT
LOW…SpyX/Analyzers/Builtin/PropertyOverriddenByAnalyzer.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOW…SpyX/Analyzers/Builtin/TypeExtensionMethodsAnalyzer.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOW…LSpyX/Analyzers/Builtin/MethodImplementedByAnalyzer.cs1// Copyright (c) 2018 Siegfried PammerCOMMENT
LOWICSharpCode.ILSpyX/Util/GuessFileType.cs1// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop TeamCOMMENT
LOWICSharpCode.ILSpyX/TreeView/SharpTreeNode.cs1// Copyright (c) 2020 AlphaSierraPapa for the SharpDevelop TeamCOMMENT
LOWICSharpCode.ILSpyX/TreeView/FlatListTreeNode.cs1// Copyright (c) 2020 AlphaSierraPapa for the SharpDevelop TeamCOMMENT
1975 more matches not shown…
Hallucination Indicators20 hits · 210 pts
SeverityFileLineSnippetContext
CRITICALICSharpCode.ILSpyX/Search/CSharpLexer.cs278 // Debug.WriteLine(ICSharpCode.NRefactory.Parser.CSharp.Tokens.GetTokenString(curToken.kind) + " -- " + curToken.valCOMMENT
CRITICALICSharpCode.ILSpyX/Search/CSharpLexer.cs290 // Debug.WriteLine(ICSharpCode.NRefactory.Parser.CSharp.Tokens.GetTokenString(curToken.kind) + " -- " + curToken.val COMMENT
CRITICALILSpy.AddIn.VS2022/Utils.cs178 viewHost.TextView.TextDataModel.DocumentBuffer.Properties.TryGetProperty(typeof(ITextDocument), out textDocument);CODE
CRITICAL…Code.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs61 var entrypoint = System.Reflection.Metadata.Ecma335.MetadataTokens.MethodDefinitionHandle(module.CorHeader?.EntryPoinCODE
CRITICALICSharpCode.Decompiler.Tests/Output/ILAmbienceTests.cs288 [TestCase(StandardConversionFlags, ".property instance int32 ICSharpCode.Decompiler.Tests.Output.Interface.Item(int32 CODE
CRITICALICSharpCode.Decompiler.Tests/Output/ILAmbienceTests.cs289 [TestCase(ILSpyMainTreeViewMemberFlags, "ICSharpCode.Decompiler.Tests.Output.Interface.Item(int32) : int32")]CODE
CRITICAL…arpCode.Decompiler.Tests/TestCases/Pretty/Issue1080.cs18 ICSharpCode.Decompiler.Tests.TestCases.Pretty.Issue1080.SpaceC.Extensions.Extension(type);CODE
CRITICALILSpy/ViewModels/MetadataTablePageModel.cs209 if (!ICSharpCode.ILSpy.Metadata.Filters.CompiledFilter.Compile(flagsState).Matches(actual))CODE
CRITICALILSpy/TreeNodes/AssemblyTreeNode.cs575 _ => file.Reader.PEHeaders.CoffHeader.Machine.ToString(),CODE
CRITICALILSpy/Metadata/MetadataColumnBuilder.cs335 var schema = ICSharpCode.ILSpy.Metadata.Filters.FlagsSchemaInferer.For(enumType);CODE
CRITICALILSpy/Metadata/MetadataColumnBuilder.cs405 ICSharpCode.ILSpy.Metadata.Filters.FilterStatePersistence.ApplyXml(state, savedXml);CODE
CRITICALILSpy/Metadata/MetadataColumnBuilder.cs411 settings.FilterStates[key] = ICSharpCode.ILSpy.Metadata.Filters.FilterStatePersistence.ToXml(state);CODE
CRITICALILSpy.Tests/EntityReferenceResolveTests.cs63 System.Reflection.Metadata.Ecma335.MetadataTokens.TypeDefinitionHandle(2));CODE
CRITICALILSpy.Tests/Bookmarks/BookmarkAnchoringTests.cs80 fallback.Token.Should().Be((uint)System.Reflection.Metadata.Ecma335.MetadataTokens.GetToken(type.MetadataToken));CODE
CRITICALILSpy.Tests/Bookmarks/BookmarkNavigationViewTests.cs110 view.Editor.TextArea.Caret.Line.Should().Be(targetLine,CODE
CRITICALILSpy.Tests/Bookmarks/BookmarkNavigationViewTests.cs174 activeView.Editor.TextArea.Caret.Line.Should().Be(targetLine,CODE
CRITICALILSpy.Tests/Bookmarks/BookmarkNavigationViewTests.cs227 view.Editor.TextArea.Caret.Line.Should().Be(targetLine,CODE
CRITICALILSpy.Tests/Metadata/MetadataFilterTests.cs172 new(ICSharpCode.ILSpy.Metadata.Filters.FlagsSchemaInferer.For(typeof(SampleFlags)));CODE
CRITICALILSpy.Tests/Editor/ReferenceClickTests.cs100 view.Editor.TextArea.Selection.IsEmpty.Should().BeFalse(CODE
CRITICALILSpy.Tests/Editor/ReferenceClickTests.cs132 view.Editor.TextArea.Selection.IsEmpty.Should().BeTrue(CODE
Synthetic Comment Markers3 hits · 22 pts
SeverityFileLineSnippetContext
HIGHILSpy.ReadyToRun/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGHILSpy.AddIn.VS2022/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGHILSpy/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
LOWICSharpCode.Decompiler/FlowAnalysis/DataFlowVisitor.cs278 /// Derived classes may add to this set of flags to ensure they don't forget to override an interesting method.COMMENT
LOW…SharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs150 /// <remarks>Don't forget to also set CurrentTypeDefinition when setting CurrentMember;COMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…Decompiler.Generators/DecompilerSyntaxTreeGenerator.cs820 paramName = "placeholder";CODE
TODO Padding1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…piler/IL/Instructions/CompoundAssignmentInstruction.cs310 public bool IsLifted => false; // TODO: implement lifted user-defined compound assignmentsCODE