TestAbstractReportProcessor   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 20
rs 10
c 0
b 0
f 0
wmc 4

4 Methods

Rating   Name   Duplication   Size   Complexity  
A setProcessor() 0 3 1
A getOutputType() 0 3 1
A getType() 0 3 1
A getProcessorClass() 0 3 1
1
<?php
2
3
/*
4
 * This file is part of the doyo/code-coverage project.
5
 *
6
 * (c) Anthonius Munthi <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
declare(strict_types=1);
13
14
namespace Spec\Doyo\Bridge\CodeCoverage\Report;
15
16
use Doyo\Bridge\CodeCoverage\Report\AbstractReportProcessor;
17
18
class TestAbstractReportProcessor extends AbstractReportProcessor
19
{
20
    public function setProcessor($processor)
21
    {
22
        $this->processor = $processor;
23
    }
24
25
    public function getOutputType(): string
26
    {
27
        return static::OUTPUT_FILE;
28
    }
29
30
    public function getType(): string
31
    {
32
        return 'test';
33
    }
34
35
    public function getProcessorClass(): string
36
    {
37
        return TestReportProcessor::class;
38
    }
39
}
40