A modern, cross-platform, 2D Graphics library for .NET
This report presents the forensic synthetic code analysis of SixLabors/ImageSharp, a C# project with 8,037 GitHub stars. SynthScan v2.0 examined 373,906 lines of code across 2189 source files, recording 2959 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 7.0 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).
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.
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 2959 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/ImageSharp.Tests/TestFile.cs | 21 | /// The "Formats" directory, as lazy value | COMMENT |
| LOW | tests/ImageSharp.Tests/TestFile.cs | 41 | COMMENT | |
| LOW | tests/ImageSharp.Tests/TestFile.cs | 61 | COMMENT | |
| LOW | tests/ImageSharp.Tests/TestFile.cs | 81 | public static TestFile Create(string file) | COMMENT |
| LOW | tests/ImageSharp.Tests/TestFile.cs | 101 | public string GetFileNameWithoutExtension(object value) | COMMENT |
| LOW | tests/ImageSharp.Tests/TestFontUtilities.cs | 1 | // Copyright (c) Six Labors. | COMMENT |
| LOW | tests/ImageSharp.Tests/TestFontUtilities.cs | 21 | /// <param name="file"> | COMMENT |
| LOW | …/ImageSharp.Tests/ColorProfiles/Icc/TestIccProfiles.cs | 21 | /// <summary> | COMMENT |
| LOW | …/ImageSharp.Tests/ColorProfiles/Icc/TestIccProfiles.cs | 41 | /// <summary> | COMMENT |
| LOW | …mageSharp.Tests/Formats/Exr/ExrDecoderSecurityTests.cs | 21 | /// EXR-1 — EXR DataWindow Integer Overflow Produces Negative Image Dimensions (DoS) | COMMENT |
| LOW | …mageSharp.Tests/Formats/Exr/ExrDecoderSecurityTests.cs | 41 | COMMENT | |
| LOW | …ageSharp.Tests/Formats/Png/ReferenceImplementations.cs | 1 | // Copyright (c) Six Labors. | COMMENT |
| LOW | …ageSharp.Tests/Formats/Png/ReferenceImplementations.cs | 181 | /// Calculates the average value of two bytes | COMMENT |
| LOW | …mageSharp.Tests/Formats/Jpg/JpegColorConverterTests.cs | 361 | /// <summary> | COMMENT |
| LOW | …mageSharp.Tests/Formats/Jpg/JpegColorConverterTests.cs | 501 | COMMENT | |
| LOW | …tils/ReferenceImplementations.LLM_FloatingPoint_DCT.cs | 1 | // Copyright (c) Six Labors. | COMMENT |
| LOW | …mats/Jpg/Utils/ReferenceImplementations.AccurateDCT.cs | 1 | // Copyright (c) Six Labors. | COMMENT |
| LOW | …g/Utils/ReferenceImplementations.StandardIntegerDCT.cs | 1 | // Copyright (c) Six Labors. | COMMENT |
| LOW | …g/Utils/ReferenceImplementations.StandardIntegerDCT.cs | 21 | /// https://github.com/mozilla/mozjpeg/blob/master/jfdctint.c | COMMENT |
| LOW | …g/Utils/ReferenceImplementations.StandardIntegerDCT.cs | 221 | private const int W3pw5 = W3 + W5; | COMMENT |
| LOW | …Allocators/UniformUnmanagedPoolMemoryAllocatorTests.cs | 281 | UniformUnmanagedMemoryPoolMemoryAllocator allocator = new(512, 1024, 16 * 1024, 1024); | COMMENT |
| LOW | …Allocators/UniformUnmanagedPoolMemoryAllocatorTests.cs | 301 | AllocateGroupAndForget(allocator, lengthInner); | COMMENT |
| LOW | tests/ImageSharp.Tests/Color/RgbaDouble.cs | 1 | // Copyright (c) Six Labors. | COMMENT |
| LOW | tests/ImageSharp.Tests/Color/RgbaDouble.cs | 21 | /// </remarks> | COMMENT |
| LOW | tests/ImageSharp.Tests/Color/RgbaDouble.cs | 61 | this.B = b; | COMMENT |
| LOW | …ts/ImageSharp.Tests/TestUtilities/TestDataGenerator.cs | 1 | // Copyright (c) Six Labors. | COMMENT |
| LOW | …/ImageSharp.Tests/TestUtilities/TestImageExtensions.cs | 41 | COMMENT | |
| LOW | …/ImageSharp.Tests/TestUtilities/TestImageExtensions.cs | 181 | provider, | COMMENT |
| LOW | …/ImageSharp.Tests/TestUtilities/TestImageExtensions.cs | 721 | COMMENT | |
| LOW | …/ImageSharp.Tests/TestUtilities/TestImageExtensions.cs | 861 | /// <summary> | COMMENT |
| LOW | tests/ImageSharp.Tests/TestUtilities/TestEnvironment.cs | 121 | internal static Architecture ProcessArchitecture => RuntimeInformation.ProcessArchitecture; | COMMENT |
| LOW | …ageSharp.Tests/TestUtilities/ImagingTestCaseUtility.cs | 21 | COMMENT | |
| LOW | …TestUtilities/ImageComparison/TolerantImageComparer.cs | 21 | public TolerantImageComparer(float imageThreshold, int perPixelManhattanThreshold = 0) | COMMENT |
| LOW | …TestUtilities/ImageComparison/TolerantImageComparer.cs | 41 | /// <cref>https://en.wikipedia.org/wiki/Taxicab_geometry</cref> | COMMENT |
| LOW | …ests/TestUtilities/FeatureTesting/FeatureTestRunner.cs | 21 | /// <para> | COMMENT |
| LOW | …s/TestUtilities/Attributes/WithBlankImagesAttribute.cs | 1 | // Copyright (c) Six Labors. | COMMENT |
| LOW | …Utilities/Attributes/WithTestPatternImagesAttribute.cs | 1 | // Copyright (c) Six Labors. | COMMENT |
| LOW | …Utilities/Attributes/WithSolidFilledImagesAttribute.cs | 1 | // Copyright (c) Six Labors. | COMMENT |
| LOW | …Utilities/Attributes/WithSolidFilledImagesAttribute.cs | 61 | { | COMMENT |
| LOW | …Utilities/Attributes/WithSolidFilledImagesAttribute.cs | 141 | COMMENT | |
| LOW | …sts/TestUtilities/Attributes/ImageDataAttributeBase.cs | 161 | /// <param name="testMethod">The test method</param> | COMMENT |
| LOW | …PixelFormats/PixelBlenders/PorterDuffFunctionsTests.cs | 501 | /// which assigns <c>Z</c> from <c>X</c> and can hide channel-specific regressions. | COMMENT |
| LOW | tests/ImageSharp.Benchmarks/Config.HwIntrinsics.cs | 21 | // * EnableSSE3 | COMMENT |
| LOW | …sts/ImageSharp.Benchmarks/Bulk/ShuffleFloat4Channel.cs | 21 | COMMENT | |
| LOW | …sts/ImageSharp.Benchmarks/Bulk/ShuffleFloat4Channel.cs | 41 | // Runtime=.NET Core 3.1 | COMMENT |
| LOW | …sts/ImageSharp.Benchmarks/Bulk/ShuffleFloat4Channel.cs | 61 | // | Shuffle4Channel | 1. No HwIntrinsics | DOTNET_EnableHWIntrinsic=0,DOTNET_FeatureSIMD=0 | 2048 | 980.134 ns | 3.740 | COMMENT |
| LOW | …sts/ImageSharp.Benchmarks/Bulk/ShuffleFloat4Channel.cs | 81 | // | Shuffle4Channel | 2. SSE | DOTNET_EnableAVX=0 | 128 | 11.564 ns | 0.02 | COMMENT |
| LOW | tests/ImageSharp.Benchmarks/Bulk/ToVector4_Bgra32.cs | 21 | } | COMMENT |
| LOW | tests/ImageSharp.Benchmarks/Bulk/ToVector4_Bgra32.cs | 61 | // | PixelOperations_Base | 64 | 58.05 ns | 3.204 ns | 4.795 ns | 1.01 | 0.11 | 932 B | | COMMENT |
| LOW | tests/ImageSharp.Benchmarks/Bulk/ShuffleByte4Channel.cs | 21 | COMMENT | |
| LOW | tests/ImageSharp.Benchmarks/Bulk/ShuffleByte4Channel.cs | 41 | // Runtime=.NET Core 3.1 | COMMENT |
| LOW | tests/ImageSharp.Benchmarks/Bulk/ShuffleByte4Channel.cs | 61 | // | Shuffle4Channel | 1. No HwIntrinsics | DOTNET_EnableHWIntrinsic=0,DOTNET_FeatureSIMD=0 | 2048 | 315.29 ns | 5.206 | COMMENT |
| LOW | tests/ImageSharp.Benchmarks/Bulk/ShuffleByte4Channel.cs | 81 | // | Shuffle4Channel | 2. SSE | DOTNET_EnableAVX=0 | 128 | 11.39 ns | 0.045 | COMMENT |
| LOW | tests/ImageSharp.Benchmarks/Bulk/ToVector4_Rgb24.cs | 21 | } | COMMENT |
| LOW | tests/ImageSharp.Benchmarks/Bulk/ToVector4_Rgb24.cs | 41 | // | | | | | | | | | | COMMENT |
| LOW | tests/ImageSharp.Benchmarks/Bulk/ToVector4_Rgb24.cs | 61 | // | PixelOperations_Specialized | Job-OPAORC | .NET Core 2.1 | 2048 | 1,985.5 ns | 4,714.23 ns | 258.40 ns | 0.36 | | COMMENT |
| LOW | tests/ImageSharp.Benchmarks/Bulk/Shuffle3Channel.cs | 21 | COMMENT | |
| LOW | tests/ImageSharp.Benchmarks/Bulk/Shuffle3Channel.cs | 41 | // Runtime=.NET Core 3.1 | COMMENT |
| LOW | tests/ImageSharp.Benchmarks/Bulk/Shuffle3Channel.cs | 61 | // 2023-02-21 | COMMENT |
| LOW | tests/ImageSharp.Benchmarks/Bulk/Shuffle3Channel.cs | 81 | // | Shuffle3 | 2. SSE | DOTNET_EnableAVX=0 | 384 | 30.04 ns | 0.100 ns | 0 | COMMENT |
| 2888 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | tests/ImageSharp.Tests/Formats/Tiff/TiffDecoderTests.cs | 385 | image.Frames.RootFrame.Metadata.IccProfile.ToByteArray(), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …TestUtilities/ImageComparison/TolerantImageComparer.cs | 67 | // TODO: Comparing through Rgba64 may not robust enough because of the existence of super high precision pixel t | COMMENT |
| MEDIUM | …ts/TestUtilities/ImageComparison/ExactImageComparer.cs | 25 | // TODO: Comparing through Rgba64 may not be robust enough because of the existence of super high precision pixe | COMMENT |
| MEDIUM | src/ImageSharp/Metadata/Profiles/ICC/IccProfile.SRGB.cs | 276 | // Downsample a few points to a robust fingerprint | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …geSharp/Formats/Jpeg/Components/Block8x8F.Vector128.cs | 59 | // Step 1: Widen short -> int | COMMENT |
| LOW⚡ | …geSharp/Formats/Jpeg/Components/Block8x8F.Vector128.cs | 63 | // Step 2: Convert int -> float | COMMENT |
| LOW⚡ | …geSharp/Formats/Jpeg/Components/Block8x8F.Vector128.cs | 67 | // Step 3: Store to destination (this is 16 lanes -> two Vector128<float> blocks) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …geSharp/Formats/Jpeg/Components/Block8x8F.Vector128.cs | 59 | // Step 1: Widen short -> int | COMMENT |
| LOW⚡ | …geSharp/Formats/Jpeg/Components/Block8x8F.Vector128.cs | 63 | // Step 2: Convert int -> float | COMMENT |
| LOW⚡ | …geSharp/Formats/Jpeg/Components/Block8x8F.Vector128.cs | 67 | // Step 3: Store to destination (this is 16 lanes -> two Vector128<float> blocks) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/ImageSharp.Tests/Formats/Jpg/pdfjs/jpg.js | 1166 | getData: function getData(width, height, forceRGBoutput) { | CODE |