AbstractFinalPrinter   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 18
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
onEngineEnd() 0 1 ?
A __construct() 0 5 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Paraunit\Printer;
6
7
use Paraunit\TestResult\TestResultList;
8
use Symfony\Component\Console\Output\OutputInterface;
9
10
/**
11
 * Class AbstractFinalPrinter
12
 * @package Paraunit\Printer
13
 */
14
abstract class AbstractFinalPrinter extends AbstractPrinter
15
{
16
    /** @var TestResultList */
17
    protected $testResultList;
18
19
    /**
20
     * AbstractFinalPrinter constructor.
21
     * @param TestResultList $testResultList
22
     * @param OutputInterface $output
23
     */
24 28
    public function __construct(TestResultList $testResultList, OutputInterface $output)
25
    {
26 28
        parent::__construct($output);
27 28
        $this->testResultList = $testResultList;
28
    }
29
30
    abstract public function onEngineEnd();
31
}
32