Set   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getName() 0 4 1
1
<?php
2
namespace nstdio\svg\animation;
3
4
use nstdio\svg\attributes\AnimationEvent;
5
use nstdio\svg\attributes\AnimationTarget;
6
use nstdio\svg\attributes\AnimationTiming;
7
use nstdio\svg\attributes\ConditionalProcessing;
8
use nstdio\svg\attributes\ExternalResourcesRequired;
9
use nstdio\svg\attributes\XLink;
10
11
/**
12
 * Class Set
13
 * The 'set' element provides a simple means of just setting the value of an attribute for a specified duration. It
14
 * supports all attribute types, including those that cannot reasonably be interpolated, such as string and boolean
15
 * values. The 'set' element is non-additive. The additive and accumulate attributes are not allowed, and will be
16
 * ignored if specified.
17
 *
18
 * @link    https://www.w3.org/TR/SVG/animate.html#SetElement
19
 * @package nstdio\svg\animation
20
 * @author  Edgar Asatryan <[email protected]>
21
 */
22
class Set extends BaseAnimation implements AnimationEvent, AnimationTarget, AnimationTiming, XLink, ConditionalProcessing, ExternalResourcesRequired
23
{
24
25 2
    public function getName()
26
    {
27 2
        return 'set';
28
    }
29
}