A modern, cross-platform, 2D Graphics library for .NET
This report summarizes scanner evidence for SixLabors/ImageSharp, a C# project with 8,037 GitHub stars. SynthScan examined 379,187 lines of code across 2210 source files, recording 2976 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 7.0 (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? 2975 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 2976 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 2976 distinct pattern matches across 6 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 | 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 | …ts/PixelFormats/FloatingPointPixelPreservationTests.cs | 161 | /// </summary> | COMMENT |
| LOW | …ts/PixelFormats/FloatingPointPixelPreservationTests.cs | 481 | /// <summary> | 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 |
| 2905 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | tests/ImageSharp.Tests/Formats/Tiff/TiffDecoderTests.cs | 462 | 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 |