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
- Exclude checks
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
- Exclude checks
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
- Exclude checks
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
- Exclude checks
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
- Read upRead up
- Exclude checks
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
- Exclude checks
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
- Exclude checks
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
- Exclude checks
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
- Exclude checks
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
- Exclude checks
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
- Read upRead up
- Exclude checks
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
- Exclude checks
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
- Exclude checks
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
- Read upRead up
- Exclude checks
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
- Read upRead up
- Exclude checks
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
- Read upRead up
- Exclude checks
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
- Exclude checks
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
*/
- Read upRead up
- Exclude checks
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
- Read upRead up
- Exclude checks
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
- Exclude checks