Driver/Gd/Image.php

Summary

Maintainability
A
3 hrs
Test Coverage

Image has 21 functions (exceeds 20 allowed). Consider refactoring.
Open

class Image extends AbstractImage
{
    use GdHelper;

    private $gd;
Severity: Minor
Found in Driver/Gd/Image.php - About 2 hrs to fix

    Avoid too many return statements within this method.
    Open

                    return 'imagexbm';
    Severity: Major
    Found in Driver/Gd/Image.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                      return 'imagewebp';
      Severity: Major
      Found in Driver/Gd/Image.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                        return false;
        Severity: Major
        Found in Driver/Gd/Image.php - About 30 mins to fix

          There are no issues that match your filters.

          Category
          Status