Passed
Branch master (9c9e82)
by ANTHONIUS
01:35
created

Html   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 15
ccs 6
cts 6
cp 1
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getType() 0 3 1
A getOutputType() 0 3 1
A getProcessorClass() 0 3 1
1
<?php
2
3
namespace Doyo\Bridge\CodeCoverage\Report;
4
5
use SebastianBergmann\CodeCoverage\Report\Html\Facade as HtmlReportProcessor;
6
7
class Html extends AbstractReportProcessor
8
{
9 1
    public function getType(): string
10
    {
11 1
        return 'html';
12
    }
13
14 3
    public function getOutputType(): string
15
    {
16 3
        return static::OUTPUT_DIR;
17
    }
18
19 3
    public function getProcessorClass(): string
20
    {
21 3
        return HtmlReportProcessor::class;
22
    }
23
}
24