\FireGento_MageMonitoring_Helper_Data

Data helper

Synopsis

class FireGento_MageMonitoring_Helper_Data extends Mage_Core_Helper_Data {
  • // constants
  • const VERSIONS_REGEXP = '#[\d\.\*]+#ims';
  • const CHECK_NODE = 'global/healthcheck/%s';
  • const WARN_CSSCLASS = '_cssClasses';
  • const WARN_TYPE_OK = 'health-ok';
  • const WARN_TYPE_WARNING = 'health-warning';
  • const WARN_TYPE_ERROR = 'health-error';
}

Hierarchy

Extends

  • Mage_Core_Helper_Data

Violations

PHPMessDetector

Line Rule Message
47 - 107 CyclomaticComplexity The method getActiveWidgets() has a Cyclomatic Complexity of 13. The configured cyclomatic complexity threshold is 10.
47 - 107 NPathComplexity The method getActiveWidgets() has an NPath complexity of 210. The configured NPath complexity threshold is 200.
118 - 158 CyclomaticComplexity The method getConfiguredWidgets() has a Cyclomatic Complexity of 14. The configured cyclomatic complexity threshold is 10.
436 - 488 NPathComplexity The method tailFile() has an NPath complexity of 240. The configured NPath complexity threshold is 200.

Constants

Name Value
VERSIONS_REGEXP '#[\d\.\*]+#ims'
CHECK_NODE 'global/healthcheck/%s'
WARN_CSSCLASS '_cssClasses'
WARN_TYPE_OK 'health-ok'
WARN_TYPE_WARNING 'health-warning'
WARN_TYPE_ERROR 'health-error'

Methods

protected

public

History