mambax7/extgallery

View on GitHub

Showing 9,653 of 9,653 total issues

The class CategoryHandler has an overall complexity of 74 which is very high. The configured complexity threshold is 50.
Open

class CategoryHandler extends Extgallery\PersistableObjectHandler
{
    //var $_nestedTree;
    public $_photoHandler;

Severity: Minor
Found in class/CategoryHandler.php by phpmd

The class PersistableObjectHandler has an overall complexity of 60 which is very high. The configured complexity threshold is 50.
Open

class PersistableObjectHandler extends \XoopsPersistableObjectHandler //XoopsObjectHandler
{
    /**#@+
     * Information about the class, the handler is managing
     *
Severity: Minor
Found in class/PersistableObjectHandler.php by phpmd

The class PhpCaptcha has an overall complexity of 60 which is very high. The configured complexity threshold is 50.
Open

class PhpCaptcha
{
    public $oImage;
    public $aFonts;
    public $iWidth;
Severity: Minor
Found in class/PhpCaptcha.php by phpmd

The class PhotoHandler has an overall complexity of 119 which is very high. The configured complexity threshold is 50.
Open

class PhotoHandler extends Extgallery\PersistableObjectHandler
{
    public $photoUploader = null;

    /**
Severity: Minor
Found in class/PhotoHandler.php by phpmd

The class PhotoUploader has an overall complexity of 54 which is very high. The configured complexity threshold is 50.
Open

class PhotoUploader
{
    public $uploadDir;
    public $savedDestination;
    public $savedFilename;
Severity: Minor
Found in class/PhotoUploader.php by phpmd

The class PhotoHandler has 23 public methods. Consider refactoring PhotoHandler to keep number of public methods under 10.
Open

class PhotoHandler extends Extgallery\PersistableObjectHandler
{
    public $photoUploader = null;

    /**
Severity: Minor
Found in class/PhotoHandler.php by phpmd

TooManyPublicMethods

Since: 0.1

A class with too many public methods is probably a good suspect for refactoring, in order to reduce its complexity and find a way to have more fine grained objects.

By default it ignores methods starting with 'get' or 'set'.

Example

Source https://phpmd.org/rules/codesize.html#toomanypublicmethods

The class PhpCaptcha has 12 public methods. Consider refactoring PhpCaptcha to keep number of public methods under 10.
Open

class PhpCaptcha
{
    public $oImage;
    public $aFonts;
    public $iWidth;
Severity: Minor
Found in class/PhpCaptcha.php by phpmd

TooManyPublicMethods

Since: 0.1

A class with too many public methods is probably a good suspect for refactoring, in order to reduce its complexity and find a way to have more fine grained objects.

By default it ignores methods starting with 'get' or 'set'.

Example

Source https://phpmd.org/rules/codesize.html#toomanypublicmethods

The class Console_Getopt has an overall complexity of 63 which is very high. The configured complexity threshold is 50.
Open

class Console_Getopt
{
    /**
     * Parses the command-line options.
     *
Severity: Minor
Found in class/pear/Console/Getopt.php by phpmd

The class Image_Transform_Driver_GD has an overall complexity of 70 which is very high. The configured complexity threshold is 50.
Open

class Image_Transform_Driver_GD extends Image_Transform
{
    /**
     * Holds the image resource for manipulation
     *

The class Image_Transform_Driver_GD has 17 public methods. Consider refactoring Image_Transform_Driver_GD to keep number of public methods under 10.
Open

class Image_Transform_Driver_GD extends Image_Transform
{
    /**
     * Holds the image resource for manipulation
     *

TooManyPublicMethods

Since: 0.1

A class with too many public methods is probably a good suspect for refactoring, in order to reduce its complexity and find a way to have more fine grained objects.

By default it ignores methods starting with 'get' or 'set'.

Example

Source https://phpmd.org/rules/codesize.html#toomanypublicmethods

The class Image_Transform has 49 non-getter- and setter-methods. Consider refactoring Image_Transform to keep number of methods under 25.
Open

class Image_Transform
{
    /**
     * Name of the image file
     * @var string
Severity: Minor
Found in class/pear/Image/Transform.php by phpmd

TooManyMethods

Since: 0.1

A class with too many methods is probably a good suspect for refactoring, in order to reduce its complexity and find a way to have more fine grained objects.

By default it ignores methods starting with 'get' or 'set'.

The default was changed from 10 to 25 in PHPMD 2.3.

Example

Source https://phpmd.org/rules/codesize.html#toomanymethods

The class Image_Transform_Driver_IM has 16 public methods. Consider refactoring Image_Transform_Driver_IM to keep number of public methods under 10.
Open

class Image_Transform_Driver_IM extends Image_Transform
{
    /**
     * associative array commands to be executed
     * @var array

TooManyPublicMethods

Since: 0.1

A class with too many public methods is probably a good suspect for refactoring, in order to reduce its complexity and find a way to have more fine grained objects.

By default it ignores methods starting with 'get' or 'set'.

Example

Source https://phpmd.org/rules/codesize.html#toomanypublicmethods

The class Image_Transform has an overall complexity of 151 which is very high. The configured complexity threshold is 50.
Open

class Image_Transform
{
    /**
     * Name of the image file
     * @var string
Severity: Minor
Found in class/pear/Image/Transform.php by phpmd

The class Image_Transform_Driver_NetPBM has an overall complexity of 139 which is very high. The configured complexity threshold is 50.
Open

class Image_Transform_Driver_NetPBM extends Image_Transform
{
    /**
     * associative array commands to be executed
     * @var array

The class Image_Transform_Driver_Imagick3 has 15 public methods. Consider refactoring Image_Transform_Driver_Imagick3 to keep number of public methods under 10.
Open

class Image_Transform_Driver_Imagick3 extends Image_Transform
{
    /**
     * Instance of imagick
     * @var Imagick

TooManyPublicMethods

Since: 0.1

A class with too many public methods is probably a good suspect for refactoring, in order to reduce its complexity and find a way to have more fine grained objects.

By default it ignores methods starting with 'get' or 'set'.

Example

Source https://phpmd.org/rules/codesize.html#toomanypublicmethods

The class Image_Transform_Driver_Imagick2 has 14 public methods. Consider refactoring Image_Transform_Driver_Imagick2 to keep number of public methods under 10.
Open

class Image_Transform_Driver_Imagick2 extends Image_Transform
{
    /**
     * Handler of the imagick image ressource
     * @var array

TooManyPublicMethods

Since: 0.1

A class with too many public methods is probably a good suspect for refactoring, in order to reduce its complexity and find a way to have more fine grained objects.

By default it ignores methods starting with 'get' or 'set'.

Example

Source https://phpmd.org/rules/codesize.html#toomanypublicmethods

The class Image_Transform_Driver_Imlib has 13 public methods. Consider refactoring Image_Transform_Driver_Imlib to keep number of public methods under 10.
Open

class Image_Transform_Driver_Imlib extends Image_Transform
{
    // {{{ properties
    /**
     * Holds the image file for manipulation

TooManyPublicMethods

Since: 0.1

A class with too many public methods is probably a good suspect for refactoring, in order to reduce its complexity and find a way to have more fine grained objects.

By default it ignores methods starting with 'get' or 'set'.

Example

Source https://phpmd.org/rules/codesize.html#toomanypublicmethods

The class Image_Transform has 49 public methods. Consider refactoring Image_Transform to keep number of public methods under 10.
Open

class Image_Transform
{
    /**
     * Name of the image file
     * @var string
Severity: Minor
Found in class/pear/Image/Transform.php by phpmd

TooManyPublicMethods

Since: 0.1

A class with too many public methods is probably a good suspect for refactoring, in order to reduce its complexity and find a way to have more fine grained objects.

By default it ignores methods starting with 'get' or 'set'.

Example

Source https://phpmd.org/rules/codesize.html#toomanypublicmethods

The class Image_Transform_Driver_NetPBM has 15 public methods. Consider refactoring Image_Transform_Driver_NetPBM to keep number of public methods under 10.
Open

class Image_Transform_Driver_NetPBM extends Image_Transform
{
    /**
     * associative array commands to be executed
     * @var array

TooManyPublicMethods

Since: 0.1

A class with too many public methods is probably a good suspect for refactoring, in order to reduce its complexity and find a way to have more fine grained objects.

By default it ignores methods starting with 'get' or 'set'.

Example

Source https://phpmd.org/rules/codesize.html#toomanypublicmethods

The class PEAR has 13 public methods. Consider refactoring PEAR to keep number of public methods under 10.
Open

class PEAR
{
    /**
     * Whether to enable internal debug messages.
     *
Severity: Minor
Found in class/pear/PEAR.php by phpmd

TooManyPublicMethods

Since: 0.1

A class with too many public methods is probably a good suspect for refactoring, in order to reduce its complexity and find a way to have more fine grained objects.

By default it ignores methods starting with 'get' or 'set'.

Example

Source https://phpmd.org/rules/codesize.html#toomanypublicmethods

Severity
Category
Status
Source
Language