Completed
Push — master ( b2cd26...6b1baa )
by ANTHONIUS
13s queued 11s
created

Crap4j::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Doyo\Bridge\CodeCoverage\Report;
4
5
class Crap4j extends AbstractReportProcessor
6
{
7
    protected $defaultOptions = [
8
        'target' => 'build/logs/crap4j.xml',
9
    ];
10
11 2
    public function __construct(array $options = array())
12
    {
13 2
        parent::__construct($options);
14
    }
15
16 2
    public function getProcessorClass(): string
17
    {
18 2
        return \SebastianBergmann\CodeCoverage\Report\Crap4j::class;
19
    }
20
21 2
    public function getOutputType(): string
22
    {
23 2
        return static::OUTPUT_FILE;
24
    }
25
26 1
    public function getType(): string
27
    {
28 1
        return 'crap4j';
29
    }
30
}
31