Showing 235 of 1,769 total issues
The class Context has an overall complexity of 106 which is very high. The configured complexity threshold is 50. Open
class Context extends RawMinkContext implements BehatContext
{
use JsCoverageContextTrait;
use RwDemosContextTrait;
use WarnDynamicPropertyTrait;
- Create a ticketCreate a ticket
- Exclude checks
The class Context has 42 public methods. Consider refactoring Context to keep number of public methods under 10. Open
class Context extends RawMinkContext implements BehatContext
{
use JsCoverageContextTrait;
use RwDemosContextTrait;
use WarnDynamicPropertyTrait;
- Read upRead up
- Create a ticketCreate a ticket
- 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 Crud has an overall complexity of 50 which is very high. The configured complexity threshold is 50. Open
class Crud extends Grid
{
/** @var array of fields to display in Grid */
public $displayFields;
- Create a ticketCreate a ticket
- Exclude checks
The class Table has 11 public methods. Consider refactoring Table to keep number of public methods under 10. Open
class Table extends Lister
{
public $ui = 'table';
public $defaultTemplate = 'table.html';
- Read upRead up
- Create a ticketCreate a ticket
- 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 HtmlTemplate has 17 public methods. Consider refactoring HtmlTemplate to keep number of public methods under 10. Open
class HtmlTemplate
{
use WarnDynamicPropertyTrait;
public const TOP_TAG = '_top';
- Read upRead up
- Create a ticketCreate a ticket
- 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 Ui has an overall complexity of 64 which is very high. The configured complexity threshold is 50. Open
class Ui extends Persistence
{
/** @var string */
public $locale = 'en';
- Create a ticketCreate a ticket
- Exclude checks
The class Table has an overall complexity of 87 which is very high. The configured complexity threshold is 50. Open
class Table extends Lister
{
public $ui = 'table';
public $defaultTemplate = 'table.html';
- Create a ticketCreate a ticket
- Exclude checks
The class Console has 15 public methods. Consider refactoring Console to keep number of public methods under 10. Open
class Console extends View implements LoggerInterface
{
public $ui = 'inverted black segment';
/**
- Read upRead up
- Create a ticketCreate a ticket
- 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 Grid has 27 non-getter- and setter-methods. Consider refactoring Grid to keep number of methods under 25. Open
class Grid extends View
{
use HookTrait;
/** @var Menu|array|false Will be initialized to Menu object, however you can set this to false to disable menu. */
- Read upRead up
- Create a ticketCreate a ticket
- 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 Multiline has an overall complexity of 121 which is very high. The configured complexity threshold is 50. Open
class Multiline extends Form\Control
{
/** @var HtmlTemplate|null The template needed for the multiline view. */
public $multiLineTemplate;
- Create a ticketCreate a ticket
- Exclude checks
The class Form has an overall complexity of 59 which is very high. The configured complexity threshold is 50. Open
class Form extends View
{
use HookTrait;
/** Executed when form is submitted */
- Create a ticketCreate a ticket
- Exclude checks
The class App has 26 public methods. Consider refactoring App to keep number of public methods under 10. Open
class App
{
use AppScopeTrait;
use DiContainerTrait;
use DynamicMethodTrait;
- Read upRead up
- Create a ticketCreate a ticket
- 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 ScopeBuilder has an overall complexity of 71 which is very high. The configured complexity threshold is 50. Open
class ScopeBuilder extends Form\Control
{
public $renderLabel = false;
public array $options = [
- Create a ticketCreate a ticket
- Exclude checks
The class HtmlTemplate has an overall complexity of 82 which is very high. The configured complexity threshold is 50. Open
class HtmlTemplate
{
use WarnDynamicPropertyTrait;
public const TOP_TAG = '_top';
- Create a ticketCreate a ticket
- Exclude checks
The class App has an overall complexity of 196 which is very high. The configured complexity threshold is 50. Open
class App
{
use AppScopeTrait;
use DiContainerTrait;
use DynamicMethodTrait;
- Create a ticketCreate a ticket
- Exclude checks
The class App has 35 non-getter- and setter-methods. Consider refactoring App to keep number of methods under 25. Open
class App
{
use AppScopeTrait;
use DiContainerTrait;
use DynamicMethodTrait;
- Read upRead up
- Create a ticketCreate a ticket
- 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 Grid has an overall complexity of 79 which is very high. The configured complexity threshold is 50. Open
class Grid extends View
{
use HookTrait;
/** @var Menu|array|false Will be initialized to Menu object, however you can set this to false to disable menu. */
- Create a ticketCreate a ticket
- Exclude checks
The class Grid has 22 public methods. Consider refactoring Grid to keep number of public methods under 10. Open
class Grid extends View
{
use HookTrait;
/** @var Menu|array|false Will be initialized to Menu object, however you can set this to false to disable menu. */
- Read upRead up
- Create a ticketCreate a ticket
- 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 Context has 53 non-getter- and setter-methods. Consider refactoring Context to keep number of methods under 25. Open
class Context extends RawMinkContext implements BehatContext
{
use JsCoverageContextTrait;
use RwDemosContextTrait;
use WarnDynamicPropertyTrait;
- Read upRead up
- Create a ticketCreate a ticket
- 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 View has 22 public methods. Consider refactoring View to keep number of public methods under 10. Open
class View extends AbstractView
{
/**
* When you call render() this will be populated with JavaScript chains.
*
- Read upRead up
- Create a ticketCreate a ticket
- 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