Showing 1,331 of 2,467 total issues
The class SqlTokenizer has an overall complexity of 54 which is very high. The configured complexity threshold is 50. Open
abstract class SqlTokenizer extends Component
{
/**
* @var string SQL code.
*/
- Exclude checks
The class Schema has an overall complexity of 70 which is very high. The configured complexity threshold is 50. Open
class Schema extends \yii\db\Schema implements ConstraintFinderInterface
{
use ConstraintFinderTrait;
/**
- Exclude checks
The class QueryBuilder has an overall complexity of 76 which is very high. The configured complexity threshold is 50. Open
class QueryBuilder extends \yii\db\QueryBuilder
{
/**
* @var array mapping from abstract column types (keys) to physical column types (values).
*/
- Exclude checks
The class Security has 14 public methods. Consider refactoring Security to keep number of public methods under 10. Open
class Security extends Component
{
/**
* @var string The cipher to use for encryption and decryption.
*/
- 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 YiiRequirementChecker has an overall complexity of 59 which is very high. The configured complexity threshold is 50. Open
class YiiRequirementChecker
{
/**
* @var Check result
*/
- Exclude checks
The class ErrorHandler has 12 public methods. Consider refactoring ErrorHandler to keep number of public methods under 10. Open
abstract class ErrorHandler extends Component
{
/**
* @event Event an event that is triggered when the handler is called by shutdown function via [[handleFatalError()]].
* @since 2.0.46
- 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 Module has an overall complexity of 86 which is very high. The configured complexity threshold is 50. Open
class Module extends ServiceLocator
{
/**
* @event ActionEvent an event raised before executing a controller action.
* You may set [[ActionEvent::isValid]] to be `false` to cancel the action execution.
- Exclude checks
The class MultipartFormDataParser has an overall complexity of 50 which is very high. The configured complexity threshold is 50. Open
class MultipartFormDataParser extends BaseObject implements RequestParserInterface
{
/**
* @var bool whether to parse raw body even for 'POST' request and `$_FILES` already populated.
* By default this option is disabled saving performance for 'POST' requests, which are already
- Exclude checks
The class Migration has 31 public methods. Consider refactoring Migration to keep number of public methods under 10. Open
class Migration extends Component implements MigrationInterface
{
use SchemaBuilderTrait;
/**
- 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 ErrorHandler has an overall complexity of 53 which is very high. The configured complexity threshold is 50. Open
abstract class ErrorHandler extends Component
{
/**
* @event Event an event that is triggered when the handler is called by shutdown function via [[handleFatalError()]].
* @since 2.0.46
- Exclude checks
The class Session has 21 public methods. Consider refactoring Session to keep number of public methods under 10. Open
class Session extends Component implements \IteratorAggregate, \ArrayAccess, \Countable
{
/**
* @var string|null Holds the original session module (before a custom handler is registered) so that it can be
* restored when a Session component without custom handler is used after one that has.
- 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 QueryBuilder has an overall complexity of 97 which is very high. The configured complexity threshold is 50. Open
class QueryBuilder extends \yii\db\QueryBuilder
{
/**
* @var array mapping from abstract column types (keys) to physical column types (values).
*/
- Exclude checks
The class Schema has an overall complexity of 71 which is very high. The configured complexity threshold is 50. Open
class Schema extends \yii\db\Schema implements ConstraintFinderInterface
{
use ViewFinderTrait;
use ConstraintFinderTrait;
- Exclude checks
The class QueryBuilder has 11 public methods. Consider refactoring QueryBuilder to keep number of public methods under 10. Open
class QueryBuilder extends \yii\db\QueryBuilder
{
/**
* @var array mapping from abstract column types (keys) to physical column types (values).
*/
- 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 QueryBuilder has an overall complexity of 53 which is very high. The configured complexity threshold is 50. Open
class QueryBuilder extends \yii\db\QueryBuilder
{
/**
* @var array mapping from abstract column types (keys) to physical column types (values).
*/
- Exclude checks
The class Controller has 14 public methods. Consider refactoring Controller to keep number of public methods under 10. Open
class Controller extends Component implements ViewContextInterface
{
/**
* @event ActionEvent an event raised right before executing a controller action.
* You may set [[ActionEvent::isValid]] to be false to cancel the action execution.
- 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 View has 19 public methods. Consider refactoring View to keep number of public methods under 10. Open
class View extends Component implements DynamicContentAwareInterface
{
/**
* @event Event an event that is triggered by [[beginPage()]].
*/
- 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 View has an overall complexity of 57 which is very high. The configured complexity threshold is 50. Open
class View extends Component implements DynamicContentAwareInterface
{
/**
* @event Event an event that is triggered by [[beginPage()]].
*/
- Exclude checks
The class DataReader has 14 public methods. Consider refactoring DataReader to keep number of public methods under 10. Open
class DataReader extends \yii\base\BaseObject implements \Iterator, \Countable
{
/**
* @var \PDOStatement the PDOStatement associated with the command
*/
- 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 Application has an overall complexity of 72 which is very high. The configured complexity threshold is 50. Open
abstract class Application extends Module
{
/**
* @event Event an event raised before the application starts to handle a request.
*/
- Exclude checks