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

Crap4j   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 24
ccs 8
cts 8
cp 1
rs 10
c 0
b 0
f 0
wmc 4

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getType() 0 3 1
A getProcessorClass() 0 3 1
A getOutputType() 0 3 1
A __construct() 0 3 1
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