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

PHP   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 getOutputType() 0 3 1
A getProcessorClass() 0 3 1
A getType() 0 3 1
1
<?php
2
3
namespace Doyo\Bridge\CodeCoverage\Report;
4
5
use SebastianBergmann\CodeCoverage\Report\PHP as ReportProcessorPHP;
6
7
class PHP extends AbstractReportProcessor
8
{
9 2
    public function getProcessorClass(): string
10
    {
11 2
        return ReportProcessorPHP::class;
12
    }
13
14 2
    public function getOutputType(): string
15
    {
16 2
        return static::OUTPUT_FILE;
17
    }
18
19 1
    public function getType(): string
20
    {
21 1
        return 'php';
22
    }
23
}
24