MissingGlyph   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\font;
3
4
/**
5
 * Class MissingGlyph
6
 * The ‘missing-glyph’ element defines the graphics to use if there is an attempt to draw a glyph from a given font and
7
 * the given glyph has not been defined. The attributes on the ‘missing-glyph’ element have the same meaning as the
8
 * corresponding attributes on the ‘glyph’ element.
9
 *
10
 * @link    https://www.w3.org/TR/SVG11/fonts.html#MissingGlyphElement
11
 * @package nstdio\svg\font
12
 * @author  Edgar Asatryan <[email protected]>
13
 */
14
class MissingGlyph extends BaseFont
15
{
16
17 1
    public function getName()
18
    {
19 1
        return 'missing-glyph';
20
    }
21
}