Rating | Name | Duplication | Size | Complexity | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|
A | RequestHandlerTest::it_swaps_the_file_content_with_the_sanitized_string() | 0 | 11 | 1 | 1 | 0 | 0 |
A | RequestHandlerTest::it_detects_images_in_the_request() | 0 | 9 | 1 | 2 | 0 | 0 |
A | RequestHandler::getMaliciousImages() | 0 | 4 | 2 | 2 | 0 | 0 |
A | ImageSanitizeFacade::getFacadeAccessor() | 0 | 1 | 1 | 0 | 0 | 0 |
A | Tests\TestCase::getPackageProviders() | 0 | 1 | 1 | 2 | 0 | 0 |
A | ImageSanitizeMiddleware::handle() | 0 | 2 | 1 | 1 | 0 | 0 |
A | ImageSanitize\RequestHandler::handle() | 0 | 2 | 2 | 2 | 0 | 0 |
A | ImageSanitizeFacadeTest::it_provides_a_facade() | 0 | 2 | 1 | 2 | 0 | 1 |
A | ImageSanitize\RequestHandler::__construct() | 0 | 0 | 1 | 1 | 0 | 0 |
A | ImageSanitize\RequestHandler::getImages() | 0 | 2 | 1 | 1 | 0 | 0 |
A | Tests\RequestHandlerTest::setUp() | 0 | 3 | 1 | 3 | 0 | 1 |
A | ImageSanitizeTest::it_removes_malicious_code() | 0 | 3 | 1 | 1 | 1 | 0 |
A | ImageSanitize\ImageSanitize::detect() | 0 | 4 | 3 | 0 | 0 | 0 |
A | ImageSanitize\ImageSanitize::__construct() | 0 | 0 | 1 | 0 | 0 | 0 |
A | ImageSanitizeTest::it_detects_embedded_malicious_code() | 0 | 3 | 1 | 1 | 1 | 0 |