railpage/railpagecore

View on GitHub

Showing 1,011 of 9,214 total issues

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

class Flickr extends AppCore implements ProviderInterface {
    
    /**
     * Provider name
     * @since Version 3.9
Severity: Minor
Found in lib/Images/Provider/Flickr.php by phpmd

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

class User extends Base {

    /**
     * Registry cache key
     * @since Version 3.9.1
Severity: Minor
Found in lib/Users/User.php by phpmd

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

class Idea extends AppCore {
    
    /**
     * Idea ID
     * @var int $id
Severity: Minor
Found in lib/Ideas/Idea.php by phpmd

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

class CompetitionUtility {
    
    /**
     * Find the photo context from a specified array
     * @since Version 3.9.1

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

class Template extends Smarty {
    
    /**
     * Sub theme - eg handheld
     * @var string $subtheme
Severity: Minor
Found in lib/Template.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 Template has an overall complexity of 85 which is very high. The configured complexity threshold is 50.
Open

class Template extends Smarty {
    
    /**
     * Sub theme - eg handheld
     * @var string $subtheme
Severity: Minor
Found in lib/Template.php by phpmd

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

    class Location extends Locations {
        
        /**
         * Registry cache key
         * @since Version 3.9.1
Severity: Minor
Found in lib/Locations/Location.php by phpmd

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

class MultimediaUtility {
    
    /**
     * Find links in our string and attempt to process those
     * @since Version 3.10.0
Severity: Minor
Found in lib/Formatting/MultimediaUtility.php by phpmd

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

class Finder {
    
    /**
     * Filters
     * @since Version 3.9.1
Severity: Minor
Found in lib/Images/Utility/Finder.php by phpmd

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

    class Consume extends AppCore {
        
        /**
         * RSS scraper user agent
         * @since Version 3.9.1
Severity: Minor
Found in lib/RSS/Consume.php by phpmd

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

class BanControl extends AppCore {
    
    /**
     * Cache key for all banned objects
     * @since Version 3.9.1
Severity: Minor
Found in lib/BanControl/BanControl.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 Download has an overall complexity of 71 which is very high. The configured complexity threshold is 50.
Open

class Download extends Base {
    
    /**
     * Download ID
     * @since Version 3.2
Severity: Minor
Found in lib/Downloads/Download.php by phpmd

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

class BanControl extends AppCore {
    
    /**
     * Cache key for all banned objects
     * @since Version 3.9.1
Severity: Minor
Found in lib/BanControl/BanControl.php by phpmd

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

    class Session implements SessionHandlerInterface {
        
        /**
         * Default session length
         * @since Version 3.10.0
Severity: Minor
Found in lib/Session.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 User has 35 non-getter- and setter-methods. Consider refactoring User to keep number of methods under 25.
Open

class User extends Base {

    /**
     * Registry cache key
     * @since Version 3.9.1
Severity: Minor
Found in lib/Users/User.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 User has 33 public methods. Consider refactoring User to keep number of public methods under 10.
Open

class User extends Base {

    /**
     * Registry cache key
     * @since Version 3.9.1
Severity: Minor
Found in lib/Users/User.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 Place has an overall complexity of 74 which is very high. The configured complexity threshold is 50.
Open

class Place extends AppCore {
    
    /**
     * Name
     * @var string $name
Severity: Minor
Found in lib/Place.php by phpmd

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

class Image extends AppCore {

    /**
     * Max age of data before it requires refreshing
     */
Severity: Minor
Found in lib/Images/Image.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 LocoClass has 11 public methods. Consider refactoring LocoClass to keep number of public methods under 10.
Open

class LocoClass extends Locos {
    
    /**
     * Registry cache key
     * @since Version 3.9.1
Severity: Minor
Found in lib/Locos/LocoClass.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 Locomotive has an overall complexity of 133 which is very high. The configured complexity threshold is 50.
Open

class Locomotive extends Locos {
    
    /**
     * Registry cache key
     * @since Version 3.9.1
Severity: Minor
Found in lib/Locos/Locomotive.php by phpmd
Severity
Category
Status
Source
Language