H3   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 2
Bugs 1 Features 0
Metric Value
wmc 2
c 2
b 1
f 0
lcom 0
cbo 2
dl 0
loc 15
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>h1</code> through <code>h6</code> elements are headings for the
7
 * sections with which they are associated.
8
 *
9
 * @since version 1.0
10
 * @url http://www.w3.org/TR/html5/sections.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements
11
 */
12
class H3 extends Abstract_\ElementContent
13
{
14
15
    use Trait_\DefaultElementContent;
16
17
    public static function tagName()
18
    {
19
        return 'h3';
20
    }
21
22
    public function blnIsBlock()
23
    {
24
        return true;
25
    }
26
}
27