app/code/community/Ecocode/Profiler/Block/Collector/Mysql/Panel.php
Method prepareQueryData
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function prepareQueryData()
{
$this->queries = [];
$this->identicalQueries = [];
$this->queriesByContext = [];
Avoid excessively long class names like Ecocode_Profiler_Block_Collector_Mysql_Panel. Keep class name length under 40. Open
Open
class Ecocode_Profiler_Block_Collector_Mysql_Panel
extends Ecocode_Profiler_Block_Collector_Base
{
- Read upRead up
- Exclude checks
LongClassName
Since: 2.9
Detects when classes or interfaces are declared with excessively long names.
Example
class ATooLongClassNameThatHintsAtADesignProblem {
}
interface ATooLongInterfaceNameThatHintsAtADesignProblem {
}