Repository Analysis

Intervention/image

PHP Image Processing

8.3 Low AI signal View on GitHub
8.3
Adjusted Score
8.3
Raw Score
100%
Time Factor
2026-05-30
Last Push
14,339
Stars
PHP
Language
52,649
Lines of Code
634
Files
376
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 0LOW 376

Pattern Findings

376 matches across 1 category. Click a row to expand file-level details.

Hyper-Verbose Identifiers376 hits · 440 pts
SeverityFileLineSnippet
LOWtests/GdTestCase.php35 public static function createTestImageTransparent(int $width, int $height): Image
LOWtests/Unit/DataUriTest.php34 public static function getSetMediaTypeDataProvider(): Generator
LOWtests/Unit/DataUriTest.php192 public function testCreateStaticFactoryMinimal(): void
LOWtests/Unit/DataUriTest.php200 public function testCreateStaticFactoryWithMediaTypeEnum(): void
LOWtests/Unit/DataUriTest.php234 public function testDebugInfoWithoutMediaType(): void
LOWtests/Unit/EncodedImageTest.php21 public function testConstructorFromResource(): void
LOWtests/Unit/EncodedImageTest.php86 public function testDebugInfoWhenSizeThrows(): void
LOWtests/Unit/SizeTest.php36 public function testConstructorNegativeWidth(): void
LOWtests/Unit/SizeTest.php42 public function testConstructorNegativeHeight(): void
LOWtests/Unit/SizeTest.php48 public function testConstructorZeroDimensions(): void
LOWtests/Unit/SizeTest.php218 public function testMovePivotWithInvalidAlignmentFallsToDefault(): void
LOWtests/Unit/SizeTest.php244 public function testAlignPivotToBottomRight(): void
LOWtests/Unit/SizeTest.php343 public function testResizeDownDoesNotUpscale(): void
LOWtests/Unit/SizeTest.php375 public function testScaleDownDoesNotUpscale(): void
LOWtests/Unit/SizeTest.php407 public function testContainDownDoesNotUpscale(): void
LOWtests/Unit/SizeTest.php490 public function testScaleBothWidthAndHeight(): void
LOWtests/Unit/SizeTest.php498 public function testScaleDownBothWidthAndHeight(): void
LOWtests/Unit/FileExtensionTest.php142 public function testCreateFromMediaTypeString(): void
LOWtests/Unit/FileTest.php27 public function testConstructorFromString(): void
LOWtests/Unit/FileTest.php33 public function testConstructorFromResource(): void
LOWtests/Unit/FileTest.php78 public function testSaveDirectoryNotFound(): void
LOWtests/Unit/FileTest.php123 public function testConstructorInvalidType(): void
LOWtests/Unit/OriginTest.php42 public function testFileExtensionWithoutExtension(): void
LOWtests/Unit/OriginTest.php104 public function testDebugInfoWithoutFilePath(): void
LOWtests/Unit/ResolutionTest.php101 public function testPerInchWhenAlreadyInch(): void
LOWtests/Unit/ResolutionTest.php139 public function testNegativeXThrowsException(): void
LOWtests/Unit/ResolutionTest.php145 public function testNegativeYThrowsException(): void
LOWtests/Unit/AnimationFactoryTest.php37 public function testAnimationEmptyCallback(DriverInterface $driver): void
LOWtests/Unit/AnimationFactoryTest.php51 public function testAnimationEmptyFactory(DriverInterface $driver): void
LOWtests/Unit/AnimationFactoryTest.php75 public function testCallMagicMethodOnFrame(DriverInterface $driver): void
LOWtests/Unit/AnimationFactoryTest.php86 public function testCallMagicMethodWithInvalidMethod(): void
LOWtests/Unit/AnimationFactoryTest.php95 public function testBuildFrameWithColorSource(DriverInterface $driver): void
LOWtests/Unit/FormatTest.php328 public function testEncoderWithFilteredOptions(): void
LOWtests/Unit/ImageTest.php376 public function testDrawRectangleWithObject(): void
LOWtests/Unit/ImageTest.php573 public function testEncodeUsingFileExtension(): void
LOWtests/Unit/ImageTest.php610 public function testSaveWithoutPathAndNoOrigin(): void
LOWtests/Unit/ImageTest.php718 public function testSetColorspaceWithObject(): void
LOWtests/Unit/AlignmentTest.php52 public function testAlignHorizontallyFallback(): void
LOWtests/Unit/AlignmentTest.php57 public function testAlignVerticallyFallback(): void
LOWtests/Unit/AlignmentTest.php92 public static function alignHorizontallyDataProvider(): Generator
LOWtests/Unit/AlignmentTest.php185 public static function alignVerticallyDataProvider(): Generator
LOWtests/Unit/MediaTypeTest.php32 public function testCreateFromFileExtensionString(): void
LOWtests/Unit/MediaTypeTest.php189 public static function fileExtensionsDataProvider(): Generator
LOWtests/Unit/InputHandlerTest.php35 public function testHandleDefaultDecoders(
LOWtests/Unit/InputHandlerTest.php85 public function testUsingDecodersStaticFactory(): void
LOWtests/Unit/InputHandlerTest.php92 public function testUsingDecodersStaticFactoryWithDriver(): void
LOWtests/Unit/InputHandlerTest.php120 public function testHandleUnsupportedInput(): void
LOWtests/Unit/InputHandlerTest.php127 public function testSpecializeDecoderThrowsDriverException(): void
LOWtests/Unit/ImageManagerTest.php44 public function testConstructorUnkownClass(): void
LOWtests/Unit/ImageManagerTest.php50 public function testConstructorNonDriverClass(): void
LOWtests/Unit/ImageManagerTest.php58 public function testConstructorWithOptions(string|DriverInterface $driver): void
LOWtests/Unit/ImageManagerTest.php116 public function testCreateImageWithAnimationFactory(string|DriverInterface $driver): void
LOWtests/Unit/ConfigTest.php95 public function testSetOptionsInvalidProperty(): void
LOWtests/Unit/ConfigTest.php111 public function testSetOptionsWithSingleNonArrayPositionalArg(): void
LOWtests/Unit/Modifiers/TextModifierTest.php109 public function testTextColorTransparentWithStrokeThrowsException(): void
LOWtests/Unit/Modifiers/TextModifierTest.php163 public function testStrokeColorTransparentThrowsException(): void
LOWtests/Unit/Modifiers/ResizeModifierTest.php15 public function testConstructorThrowsWithNoArguments(): void
LOWtests/Unit/Modifiers/ResizeModifierTest.php27 public function testConstructorWithHeight(): void
LOWtests/Unit/Modifiers/ColorspaceModifierTest.php22 public function testTargetColorspaceWithInstance(): void
LOWtests/Unit/Modifiers/ColorspaceModifierTest.php54 public function testTargetColorspaceSrgba(): void
316 more matches not shown…