Showing 1,011 of 9,214 total issues
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 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 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 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 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 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 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 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 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 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 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 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 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 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 Locations has an overall complexity of 71 which is very high. The configured complexity threshold is 50. Open
class Locations extends AppCore {
/**
* Database table
* @since Version 3.0
- Exclude checks
The class Competition has an overall complexity of 134 which is very high. The configured complexity threshold is 50. Open
class Competition extends AppCore {
/**
* Registry key
* @since Version 3.10.0
- Exclude checks
The class Images has an overall complexity of 58 which is very high. The configured complexity threshold is 50. Open
class Images extends AppCore {
/**
* Option: Do not load a \Railpage\Place object
* @since Version 3.9.1
- Exclude checks
The class ContentUtility has an overall complexity of 58 which is very high. The configured complexity threshold is 50. Open
class ContentUtility {
/**
* Text format parser version
* Bump this when a change to formatText() has been made to bust previously rendered (and cached) text blocks
- Exclude checks
The class Links has an overall complexity of 51 which is very high. The configured complexity threshold is 50. Open
class Links extends Appcore {
/**
* Get categories
*/
- Exclude checks