AnimateTransform   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 7
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\ConditionalProcessing;
5
use nstdio\svg\attributes\ExternalResourcesRequired;
6
use nstdio\svg\attributes\FullyAnimatable;
7
use nstdio\svg\attributes\XLink;
8
9
/**
10
 * Class AnimateTransform
11
 * The 'animateTransform' element animates a transformation attribute on a target element, thereby allowing animations
12
 * to control translation, scaling, rotation and/or skewing.
13
 *
14
 * @link    https://www.w3.org/TR/SVG/animate.html#AnimateTransformElement
15
 *
16
 * @property string type = "translate | scale | rotate | skewX | skewY". Indicates the type of transformation which is
17
 *           to have its values change over time. If the attribute is not specified, then the effect is as if a value
18
 *           of 'translate' were specified.
19
 *
20
 * @package nstdio\svg\animation
21
 * @author  Edgar Asatryan <[email protected]>
22
 */
23
class AnimateTransform extends BaseAnimation implements FullyAnimatable, ConditionalProcessing, XLink, ExternalResourcesRequired
24
{
25 1
    public function getName()
26
    {
27 1
        return 'animateTransform';
28
    }
29
}