MPath   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 13
c 0
b 0
f 0
wmc 2
lcom 0
cbo 1
ccs 5
cts 5
cp 1
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getName() 0 4 1
1
<?php
2
namespace nstdio\svg\animation;
3
use nstdio\svg\attributes\Core;
4
use nstdio\svg\attributes\ExternalResourcesRequired;
5
use nstdio\svg\attributes\XLink;
6
use nstdio\svg\ElementInterface;
7
8
/**
9
 * Class MPath
10
 *
11
 * @package nstdio\svg\animation
12
 * @author  Edgar Asatryan <[email protected]>
13
 */
14
class MPath extends BaseAnimation implements Core, XLink, ExternalResourcesRequired
15
{
16
17 2
    public function __construct(ElementInterface $parent)
18
    {
19 2
        parent::__construct($parent);
20 2
    }
21
22 2
    public function getName()
23
    {
24 2
        return 'mpath';
25
    }
26
}