Func   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 9
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1
ccs 4
cts 4
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
namespace nstdio\svg\filter;
3
4
use nstdio\svg\ElementInterface;
5
6
/**
7
 * Class Func
8
 *
9
 * @property string type
10
 * @package nstdio\svg\filter
11
 * @author  Edgar Asatryan <[email protected]>
12
 */
13
abstract class Func extends BaseFilter
14
{
15 12
    public function __construct(ElementInterface $parent, $type)
16
    {
17 12
        parent::__construct($parent);
18 12
        $this->type = $type;
19 12
    }
20
21
}