Completed
Push — master ( b28fcf...aed37d )
by Denis
01:39
created

Debuger   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 66.67%

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 1
dl 0
loc 12
ccs 4
cts 6
cp 0.6667
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A dump() 0 9 3
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: dp
5
 * Date: 23.08.17
6
 * Time: 14:36
7
 */
8
9
namespace Lan\Ebs\Sdk\Helper;
10
11
class Debuger
12
{
13 16
    public static function dump($var) {
14 16
        if (class_exists('\Codeception\Util\Debug', false)) {
15
            \Codeception\Util\Debug::debug($var);
16
        } else {
17 16
            if (class_exists('\Ice\Core\Debuger', false)) {
18
                \Ice\Core\Debuger::dump($var);
19
            }
20
        }
21
    }
22
}