ecoco/magento_profiler

View on GitHub
app/code/community/Ecocode/Profiler/Model/Collector/ConfigDataCollector.php

Summary

Maintainability
A
2 hrs
Test Coverage

Ecocode_Profiler_Model_Collector_ConfigDataCollector has 24 functions (exceeds 20 allowed). Consider refactoring.
Open

class Ecocode_Profiler_Model_Collector_ConfigDataCollector
    extends Ecocode_Profiler_Model_Collector_AbstractDataCollector
{
    /** @var Ecocode_Profiler_Helper_Data */
    protected $helper;

    Avoid excessively long class names like Ecocode_Profiler_Model_Collector_ConfigDataCollector. Keep class name length under 40.
    Open

    class Ecocode_Profiler_Model_Collector_ConfigDataCollector
        extends Ecocode_Profiler_Model_Collector_AbstractDataCollector
    {
        /** @var Ecocode_Profiler_Helper_Data */
        protected $helper;

    LongClassName

    Since: 2.9

    Detects when classes or interfaces are declared with excessively long names.

    Example

    class ATooLongClassNameThatHintsAtADesignProblem {
    
    }
    
    interface ATooLongInterfaceNameThatHintsAtADesignProblem {
    
    }

    Source https://phpmd.org/rules/naming.html#longclassname

    There are no issues that match your filters.

    Category
    Status