Showing 1,011 of 9,214 total issues
The class LocoClass has an overall complexity of 109 which is very high. The configured complexity threshold is 50. Open
class LocoClass extends Locos {
/**
* Registry cache key
* @since Version 3.9.1
- Exclude checks
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 Notification has an overall complexity of 56 which is very high. The configured complexity threshold is 50. Open
class Notification extends AppCore {
/**
* Notification ID
* @since Version 3.9.1
- Exclude checks
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
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 Image has an overall complexity of 194 which is very high. The configured complexity threshold is 50. Open
class Image extends AppCore {
/**
* Max age of data before it requires refreshing
*/
- Exclude checks
The class Locomotive has 20 public methods. Consider refactoring Locomotive to keep number of public methods under 10. Open
class Locomotive 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 AppCore has an overall complexity of 81 which is very high. The configured complexity threshold is 50. Open
class AppCore {
/**
* Database object
* @var object $db An instance of ZendDB or sql_db representing a database connection.
- Exclude checks
The class Album has an overall complexity of 58 which is very high. The configured complexity threshold is 50. Open
class Album extends AppCore {
/**
* On-disk root path
* @since Version 3.10.0
- Exclude checks
The class Article has an overall complexity of 136 which is very high. The configured complexity threshold is 50. Open
class Article extends Base {
/**
* Cache key to store and fetch the formatted lead text from the cache
* @since Version 3.10.0
- Exclude checks
The class Locomotive has 26 non-getter- and setter-methods. Consider refactoring Locomotive to keep number of methods under 25. Open
class Locomotive extends Locos {
/**
* 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 Event has an overall complexity of 62 which is very high. The configured complexity threshold is 50. Open
class Event extends AppCore {
/**
* Registry key
* @since Version 3.9.1
- Exclude checks
The class EventDate has an overall complexity of 50 which is very high. The configured complexity threshold is 50. Open
class EventDate extends AppCore {
/**
* Event date status: running
* @since Version 3.9.1
- Exclude checks
The class Forums has an overall complexity of 105 which is very high. The configured complexity threshold is 50. Open
class Forums extends AppCore {
/**
* Auth: list all
* @const AUTH_LIST_ALL
- Exclude checks
The class PlaceUtility has an overall complexity of 52 which is very high. The configured complexity threshold is 50. Open
class PlaceUtility {
/**
* Get WoE data for a latitude/longitude lookup
* @since Version 3.9.1
- Exclude checks
The class Post has an overall complexity of 70 which is very high. The configured complexity threshold is 50. Open
class Post extends Forums {
/**
* Constant: Cache key for edit lookups
* @since Version 3.11.0
- Exclude checks
The class Locos has 40 non-getter- and setter-methods. Consider refactoring Locos to keep number of methods under 25. Open
class Locos extends AppCore {
/**
* Status : Operational
* @since Version 3.8.7
- 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 Locos has 40 public methods. Consider refactoring Locos to keep number of public methods under 10. Open
class Locos extends AppCore {
/**
* Status : Operational
* @since Version 3.8.7
- 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 Locos has an overall complexity of 104 which is very high. The configured complexity threshold is 50. Open
class Locos extends AppCore {
/**
* Status : Operational
* @since Version 3.8.7
- Exclude checks