AI Slop Code RIsk Monitor

Intervention/image

PHP Image Processing

8.6 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for Intervention/image, a PHP project with 14,375 GitHub stars. SynthScan examined 57,232 lines of code across 664 source files, recording 436 pattern matches distributed across 1 syntactic category. The legacy adjusted pattern signal is 8.6 (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.

8.6
Adjusted Signal
8.6
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
14.4K
Stars
PHP
Language
57.2K
Lines of Code
664
Files
436
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 35.1/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 436 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

Are imports declared and package/API names verified? 0 finding(s).

Agent Over-Engineering Ratio 35.1/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 436 finding(s).

PR Review Velocity Impact 31.7/100 · MEDIUM

Which changes need focused human review? 436 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 0MEDIUM 0LOW 436

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 436 distinct pattern matches across 1 syntactic category. 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.

Hyper-Verbose Identifiers436 hits · 494 pts
SeverityFileLineSnippetContext
LOWtests/GdTestCase.php35 public static function createTestImageTransparent(int $width, int $height): ImageCODE
LOWtests/Unit/DataUriTest.php34 public static function getSetMediaTypeDataProvider(): GeneratorCODE
LOWtests/Unit/DataUriTest.php192 public function testCreateStaticFactoryMinimal(): voidCODE
LOWtests/Unit/DataUriTest.php200 public function testCreateStaticFactoryWithMediaTypeEnum(): voidCODE
LOWtests/Unit/DataUriTest.php234 public function testDebugInfoWithoutMediaType(): voidCODE
LOWtests/Unit/EncodedImageTest.php21 public function testConstructorFromResource(): voidCODE
LOWtests/Unit/EncodedImageTest.php86 public function testDebugInfoWhenSizeThrows(): voidCODE
LOW⚡tests/Unit/SizeTest.php36 public function testConstructorNegativeWidth(): voidCODE
LOW⚡tests/Unit/SizeTest.php42 public function testConstructorNegativeHeight(): voidCODE
LOW⚡tests/Unit/SizeTest.php48 public function testConstructorZeroDimensions(): voidCODE
LOWtests/Unit/SizeTest.php218 public function testMovePivotWithInvalidAlignmentFallsToDefault(): voidCODE
LOWtests/Unit/SizeTest.php244 public function testAlignPivotToBottomRight(): voidCODE
LOWtests/Unit/SizeTest.php343 public function testResizeDownDoesNotUpscale(): voidCODE
LOWtests/Unit/SizeTest.php375 public function testScaleDownDoesNotUpscale(): voidCODE
LOWtests/Unit/SizeTest.php407 public function testContainDownDoesNotUpscale(): voidCODE
LOWtests/Unit/SizeTest.php490 public function testScaleBothWidthAndHeight(): voidCODE
LOWtests/Unit/SizeTest.php498 public function testScaleDownBothWidthAndHeight(): voidCODE
LOWtests/Unit/FileExtensionTest.php148 public function testCreateFromMediaTypeString(): voidCODE
LOWtests/Unit/FileTest.php27 public function testConstructorFromString(): voidCODE
LOWtests/Unit/FileTest.php33 public function testConstructorFromResource(): voidCODE
LOWtests/Unit/FileTest.php78 public function testSaveDirectoryNotFound(): voidCODE
LOWtests/Unit/FileTest.php123 public function testConstructorInvalidType(): voidCODE
LOWtests/Unit/OriginTest.php42 public function testFileExtensionWithoutExtension(): voidCODE
LOWtests/Unit/OriginTest.php104 public function testDebugInfoWithoutFilePath(): voidCODE
LOWtests/Unit/ResolutionTest.php101 public function testPerInchWhenAlreadyInch(): voidCODE
LOWtests/Unit/ResolutionTest.php148 public function testNegativeXThrowsException(): voidCODE
LOWtests/Unit/ResolutionTest.php154 public function testNegativeYThrowsException(): voidCODE
LOWtests/Unit/AnimationFactoryTest.php37 public function testAnimationEmptyCallback(DriverInterface $driver): voidCODE
LOWtests/Unit/AnimationFactoryTest.php51 public function testAnimationEmptyFactory(DriverInterface $driver): voidCODE
LOWtests/Unit/AnimationFactoryTest.php80 public function testCallMagicMethodOnFrame(DriverInterface $driver): voidCODE
LOWtests/Unit/AnimationFactoryTest.php91 public function testCallMagicMethodWithInvalidMethod(): voidCODE
LOWtests/Unit/AnimationFactoryTest.php100 public function testBuildFrameWithColorSource(DriverInterface $driver): voidCODE
LOWtests/Unit/FormatTest.php355 public function testEncoderWithFilteredOptions(): voidCODE
LOWtests/Unit/ImageTest.php382 public function testDrawRectangleWithObject(): voidCODE
LOWtests/Unit/ImageTest.php579 public function testEncodeUsingFileExtension(): voidCODE
LOWtests/Unit/ImageTest.php616 public function testSaveWithoutPathAndNoOrigin(): voidCODE
LOWtests/Unit/ImageTest.php724 public function testSetColorspaceWithObject(): voidCODE
LOWtests/Unit/AlignmentTest.php52 public function testAlignHorizontallyFallback(): voidCODE
LOWtests/Unit/AlignmentTest.php57 public function testAlignVerticallyFallback(): voidCODE
LOWtests/Unit/AlignmentTest.php92 public static function alignHorizontallyDataProvider(): GeneratorCODE
LOWtests/Unit/AlignmentTest.php185 public static function alignVerticallyDataProvider(): GeneratorCODE
LOWtests/Unit/MediaTypeTest.php32 public function testCreateFromFileExtensionString(): voidCODE
LOWtests/Unit/MediaTypeTest.php198 public static function fileExtensionsDataProvider(): GeneratorCODE
LOWtests/Unit/InputHandlerTest.php35 public function testHandleDefaultDecoders(CODE
LOWtests/Unit/InputHandlerTest.php85 public function testUsingDecodersStaticFactory(): voidCODE
LOWtests/Unit/InputHandlerTest.php92 public function testUsingDecodersStaticFactoryWithDriver(): voidCODE
LOWtests/Unit/InputHandlerTest.php120 public function testHandleUnsupportedInput(): voidCODE
LOWtests/Unit/InputHandlerTest.php127 public function testSpecializeDecoderThrowsDriverException(): voidCODE
LOW⚡tests/Unit/ImageManagerTest.php44 public function testConstructorUnkownClass(): voidCODE
LOW⚡tests/Unit/ImageManagerTest.php50 public function testConstructorNonDriverClass(): voidCODE
LOW⚡tests/Unit/ImageManagerTest.php58 public function testConstructorWithOptions(string|DriverInterface $driver): voidCODE
LOWtests/Unit/ImageManagerTest.php116 public function testCreateImageWithAnimationFactory(string|DriverInterface $driver): voidCODE
LOWtests/Unit/ImageManagerTest.php150 public function testDecodePathDiscardAnimation(string $path): voidCODE
LOWtests/Unit/ConfigTest.php95 public function testSetOptionsInvalidProperty(): voidCODE
LOWtests/Unit/ConfigTest.php111 public function testSetOptionsWithSingleNonArrayPositionalArg(): voidCODE
LOWtests/Unit/Analyzers/DominantPaletteAnalyzerTest.php44 public function testAnalyzeRepeatedCallsAreDeterministic(DriverInterface $driver): voidCODE
LOWtests/Unit/Analyzers/PopularPaletteAnalyzerTest.php38 public function testAnalyzeReturnsIdenticalActualColorsOnAllDrivers(DriverInterface $driver): voidCODE
LOWtests/Unit/Analyzers/PopularPaletteAnalyzerTest.php51 public function testAnalyzeKeepsActualColors(DriverInterface $driver): voidCODE
LOWtests/Unit/Analyzers/AbstractPaletteAnalyzerTest.php33 public function testSampleCoordinatesOffsetRegion(): voidCODE
LOWtests/Unit/Analyzers/AbstractPaletteAnalyzerTest.php48 public function testSampleCoordinatesOffsetRegionOutOfBounds(): voidCODE
376 more matches not shown…