📷 A composable image editor using Core Image and Metal.
This report summarizes scanner evidence for FluidGroup/Brightroom, a Swift project with 3,687 GitHub stars. SynthScan examined 63,301 lines of code across 261 source files, recording 304 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 6.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.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 304 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 1 finding(s).
Which changes need focused human review? 304 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 304 distinct pattern matches across 3 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 | swiftgen.yml | 1 | ## Note: all of the config entries below are just examples with placeholders. Be sure to edit and adjust to your needs w | COMMENT |
| LOW | swiftgen.yml | 21 | ## - Especially the `forceProvidesNamespaces: true` param forces to create sub-namespace for each folder/group used in | COMMENT |
| LOW | swiftgen.yml | 41 | # output: IB-Scenes+Generated.swift | COMMENT |
| LOW | …oomParametricTests/CropAspectRatioAlignmentTests.swift | 21 | func terms(_ width: CGFloat, _ height: CGFloat) -> [Int]? { | COMMENT |
| LOW | …BrightroomParametricTests/BrushStampFalloffTests.swift | 1 | // | COMMENT |
| LOW | …BrightroomParametricTests/BrushStampFalloffTests.swift | 21 | COMMENT | |
| LOW | …s/BrightroomParametricTests/CropEnlargementTests.swift | 161 | let square = CGRect(x: 536, y: 386, width: 128, height: 127.99999999999994) | COMMENT |
| LOW | …ghtroomParametricTests/CompositionRenderingTests.swift | 1 | // | COMMENT |
| LOW | …s/BrightroomParametricTests/FeatureTreeNodeTests.swift | 61 | let adjustment = try #require(nodes.first) | COMMENT |
| LOW | …s/BrightroomParametricTests/FeatureTreeNodeTests.swift | 101 | #expect(Self.value(of: "Radius", in: unsharpMask) == "3 px") | COMMENT |
| LOW | …sts/BrightroomParametricTests/PartialRenderTests.swift | 1 | // | COMMENT |
| LOW | …roomParametricTests/ToneCurveReconstructionTests.swift | 61 | let restoredDiagonal = ToneCurveFeature( | COMMENT |
| LOW | Sources/BrightroomEngine/DataSource/SourceImage.swift | 1 | // | COMMENT |
| LOW | Sources/BrightroomEngine/DataSource/SourceImage.swift | 41 | case assetUnavailable(underlyingError: (any Error)?) | COMMENT |
| LOW | Sources/BrightroomEngine/DataSource/SourceImage.swift | 121 | } | COMMENT |
| LOW | Sources/BrightroomEngine/Core/EditingDocument.swift | 1 | // | COMMENT |
| LOW | Sources/BrightroomEngine/Core/EditingDocument.swift | 21 | COMMENT | |
| LOW | Sources/BrightroomEngine/Core/EditingDocument.swift | 161 | /// Undone features, the next redo last. | COMMENT |
| LOW | Sources/BrightroomEngine/Core/PreviewSourceLoader.swift | 1 | // | COMMENT |
| LOW | Sources/BrightroomEngine/Core/PreviewSourceLoader.swift | 41 | package let image: CIImage | COMMENT |
| LOW | Sources/BrightroomEngine/Core/PreviewSourceLoader.swift | 121 | /// | COMMENT |
| LOW | Sources/BrightroomEngine/Core/PreviewSourceLoader.swift | 161 | } | COMMENT |
| LOW | Sources/BrightroomEngine/Library/Geometry.swift | 1 | // | COMMENT |
| LOW | Sources/BrightroomEngine/Library/EngineLog.swift | 1 | // | COMMENT |
| LOW | Sources/BrightroomEngine/Library/Optional+.swift | 1 | // | COMMENT |
| LOW | Sources/BrightroomEngine/Engine/CoreGraphics+.swift | 1 | // | COMMENT |
| LOW | …ces/BrightroomEngine/Engine/PreviewTextureUpload.swift | 1 | import CoreImage | COMMENT |
| LOW | …ces/BrightroomEngine/Engine/PreviewTextureUpload.swift | 21 | /// `MTKTextureLoader`, which quantized to 8-bit, could not handle 16-bit | COMMENT |
| LOW | …ces/BrightroomEngine/Engine/PreviewTextureUpload.swift | 41 | /// produced here lives on the same device the canvas samples it from (iOS has | COMMENT |
| LOW | Sources/BrightroomEngine/Engine/ImageDecoding.swift | 1 | // | COMMENT |
| LOW | Sources/BrightroomEngine/Engine/ImageDecoding.swift | 81 | /// | COMMENT |
| LOW | …lorAdjustmentKernels/ColorAdjustmentMetalLibrary.swift | 1 | import Foundation | COMMENT |
| LOW | Sources/BrightroomUI/Shared/Utils/EditorLog.swift | 1 | // | COMMENT |
| LOW | …ightroomUI/Shared/Components/PreviewSourceReader.swift | 1 | // | COMMENT |
| LOW | …ightroomUI/Shared/Components/PreviewSourceReader.swift | 21 | COMMENT | |
| LOW | …UI/Shared/Components/SteppedSlider/SteppedSlider.swift | 1 | // | COMMENT |
| LOW | …htroomUI/Canvas/EditingCanvasView.CropScrollView.swift | 1 | // | COMMENT |
| LOW | Sources/BrightroomUI/Canvas/CropInteraction.swift | 1 | // | COMMENT |
| LOW | …ces/BrightroomUI/Canvas/ImageEditorCanvas.Target.swift | 1 | // | COMMENT |
| LOW | …ces/BrightroomUI/Canvas/ImageEditorCanvas.Target.swift | 21 | COMMENT | |
| LOW | …rces/BrightroomUI/Canvas/CropGuideState+Geometry.swift | 1 | // | COMMENT |
| LOW | …rces/BrightroomUI/Canvas/CropGuideState+Geometry.swift | 21 | extension CropGuideState { | COMMENT |
| LOW | …rces/BrightroomUI/Canvas/CropGuideState+Geometry.swift | 41 | static func minimumCropOutputSideLength(imageSize: CGSize) -> CGFloat { | COMMENT |
| LOW | …rces/BrightroomUI/Canvas/CropGuideState+Geometry.swift | 81 | } | COMMENT |
| LOW | …UI/Canvas/EditingCanvasStrokeRecord+WorkingSpace.swift | 1 | // | COMMENT |
| LOW | …UI/Canvas/EditingCanvasStrokeRecord+WorkingSpace.swift | 21 | COMMENT | |
| LOW | Sources/BrightroomUI/Canvas/EditingCanvasView.swift | 1 | // | COMMENT |
| LOW | Sources/BrightroomUI/Canvas/EditingCanvasView.swift | 61 | COMMENT | |
| LOW | Sources/BrightroomUI/Canvas/EditingCanvasView.swift | 81 | /// own changes (crop commits, brush strokes) through the feature change | COMMENT |
| LOW | Sources/BrightroomUI/Canvas/EditingCanvasView.swift | 621 | COMMENT | |
| LOW | Sources/BrightroomUI/Canvas/EditingCanvasView.swift | 1781 | toolSurface.scrollView.maximumZoomScale = scale | COMMENT |
| LOW | Sources/BrightroomUI/Canvas/EditingCanvasView.swift | 1961 | else { | COMMENT |
| LOW | …anvas/EditingCanvasView.InteractiveCropGuideView.swift | 1 | // | COMMENT |
| LOW | …anvas/EditingCanvasView.InteractiveCropGuideView.swift | 41 | } | COMMENT |
| LOW | …anvas/EditingCanvasView.InteractiveCropGuideView.swift | 181 | var minimumCropGuideSize: () -> CGSize = { .zero } | COMMENT |
| LOW | …ghtroomUI/Canvas/EditingCanvasRenderImageFactory.swift | 1 | import BrightroomEngine | COMMENT |
| LOW | …ghtroomUI/Canvas/EditingCanvasRenderImageFactory.swift | 41 | // Evaluate the global effects (and the local effect) at the downsampled | COMMENT |
| LOW | …ghtroomUI/Canvas/EditingCanvasRenderImageFactory.swift | 141 | // them (and the local effect) on the whole oriented source, then crop. An | COMMENT |
| LOW | …/BrightroomUI/Canvas/ImageEditorCanvas.CropGuide.swift | 1 | // | COMMENT |
| LOW | …/BrightroomUI/Canvas/ImageEditorCanvas.CropGuide.swift | 21 | COMMENT | |
| 169 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 84 | #expect(harness.emitted.isEmpty, "setting the target before loading commits nothing") | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 93 | #expect(harness.guides.last?.pendingCrop == proposed.makeCropFeature()) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 104 | #expect(harness.emitted.count == 1) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 107 | #expect(harness.emitted.last?.localBlurStrokes == [expected]) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 108 | #expect(harness.emitted.last?.localBlur?.content == ImageEditorFeature.defaultLocalBlurContent) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 122 | #expect(harness.guides.count == guideCount) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 123 | #expect(harness.guides.last?.pendingCrop == pending) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 124 | #expect(harness.emitted.count == 1, "an echo is not emitted again") | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 148 | #expect(harness.canvasView.toolSurface.drawingGestureRecognizer.isEnabled == false) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 155 | #expect(harness.emitted.isEmpty) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 156 | #expect(harness.box.owned == feature) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 157 | #expect(harness.box.owned.localBlur?.mask == mask) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 166 | #expect(harness.canvasView.toolSurface.drawingGestureRecognizer.isEnabled) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 169 | #expect(harness.emitted.count == 1) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 170 | #expect(harness.emitted.last?.localBlurStrokes.count == MasksThatAreNotABrush.brush.strokes.count + 1) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 255 | #expect(harness.guides.count > guideCount) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 259 | #expect(harness.canvasView.proposedCrop?.cropExtent == smaller.cropExtent) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 260 | #expect(harness.emitted.isEmpty, "an external feature is not echoed back") | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 314 | #expect(harness.guides.last?.lockedAspectRatio == landscape.swapped()) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 327 | #expect(harness.emitted.count == emittedCount) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 359 | #expect(harness.canvasView.proposedCrop?.cropExtent == topLeftSquare) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 360 | #expect(harness.canvasView.proposedCrop?._usedAspectRatio == .square) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 367 | #expect(harness.emitted.count == emittedCount, "Done does not overwrite the undo") | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 381 | #expect(harness.canvasView.proposedCrop?.cropExtent == topLeftSquare) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 382 | #expect(harness.canvasView.proposedCrop?._usedAspectRatio == .square) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 383 | #expect(harness.guides.last?.lockedAspectRatio == .square) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 384 | #expect(harness.emitted.isEmpty) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 402 | #expect(harness.canvasView.proposedCrop?.cropExtent == faceRect) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 403 | #expect(harness.guides.last?.pendingCrop == initial.crop) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 404 | #expect(harness.emitted.isEmpty, "the face crop is not replaced by the centered square") | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 421 | #expect(harness.guides.last?.lockedAspectRatio == landscape.swapped()) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 422 | #expect(harness.canvasView.proposedCrop?.cropExtent == topLeftSelection) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 425 | #expect(harness.emitted.count == emittedCount) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 443 | #expect(harness.guides.last?.lockedAspectRatio == landscape) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 444 | #expect(harness.canvasView.proposedCrop?.cropExtent == topLeftSelection) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 445 | #expect(harness.canvasView.proposedCrop?._usedAspectRatio == landscape) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 448 | #expect(harness.emitted.count == emittedCount, "Done does not overwrite the undo") | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 475 | #expect(harness.canvasView.proposedCrop?.cropExtent == topLeftSelection) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 476 | #expect(harness.guides.last?.lockedAspectRatio == landscape.swapped()) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 477 | #expect(harness.emitted.isEmpty, "the saved crop is not refitted to the unturned ratio") | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 515 | #expect(harness.canvasView.proposedCrop?.cropExtent == undone.crop.topLeftRect(imageSize: imageSize)) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 516 | #expect(harness.guides.last?.pendingCrop == undone.crop) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 519 | #expect(harness.emitted.count == emittedCount) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 620 | #expect(harness.guides.last?.interaction == .movingImage) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 623 | #expect(harness.guides.last?.interaction == .movingImage, "the drag continues after the pinch") | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 626 | #expect(harness.guides.last?.interaction == .movingImage, "the image decelerates") | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 629 | #expect(harness.guides.last?.interaction == []) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 645 | #expect(harness.guides.last?.interaction == [.movingImage, .resizingGuide]) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 648 | #expect(harness.guides.last?.interaction == .resizingGuide) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 652 | #expect(harness.guides.last?.interaction == .resizingGuide) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 655 | #expect(harness.guides.last?.interaction == []) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 673 | #expect(harness.guides.last?.interaction == .movingImage) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 681 | #expect(harness.guides.last?.interaction == []) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 682 | #expect(harness.guides.last?.pendingCrop == reloaded.crop) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 692 | #expect(harness.guides.last?.interaction == []) | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 694 | #expect(harness.emitted.isEmpty, "an external feature is not echoed back") | COMMENT |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 85 | let guide = try #require(harness.guides.last) | CODE |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 92 | let proposed = try #require(harness.canvasView.proposedCrop) | CODE |
| MEDIUM⚡ | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 116 | let echoed = try #require(harness.emitted.last) | CODE |
| MEDIUM | …oomEngineTests/EditingCanvasViewFeatureFlowTests.swift | 186 | #expect(harness.emitted.isEmpty) | COMMENT |
| 14 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Dev/Bundle/LUTs/Import LUT/ActionRequestHandler.swift | 12 | class ActionRequestHandler: NSObject, NSExtensionRequestHandling { | CODE |