Hr   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 2
Bugs 1 Features 0
Metric Value
wmc 2
c 2
b 1
f 0
lcom 0
cbo 1
dl 0
loc 13
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A tagName() 0 4 1
A blnIsBlock() 0 4 1
1
<?php
2
3
namespace hemio\html;
4
5
/**
6
 * The <code>hr</code> element represents a paragraph-level thematic break.
7
 *
8
 * @since version 1.0
9
 * @url http://www.w3.org/TR/html5/grouping-content.html#the-hr-element
10
 */
11
class Hr extends Abstract_\ElementEmpty
12
{
13
14
    public static function tagName()
15
    {
16
        return 'hr';
17
    }
18
19
    public function blnIsBlock()
20
    {
21
        return true;
22
    }
23
}
24