Completed
Push — output_parsers_refactor ( d2cb12...a7c18a )
by Alessandro
03:46
created

NullOutputContainer   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 75%

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 4
c 2
b 0
f 0
lcom 0
cbo 1
dl 0
loc 21
ccs 6
cts 8
cp 0.75
rs 10

4 Methods

Rating   Name   Duplication   Size   Complexity  
A addToOutputBuffer() 0 3 1
A getFileNames() 0 4 1
A getOutputBuffer() 0 4 1
A countFiles() 0 4 1
1
<?php
2
3
namespace Paraunit\Printer;
4
5
use Paraunit\Process\ProcessResultInterface;
6
7
/**
8
 * Class NullOutputContainer
9
 * @package Paraunit\Printer
10
 */
11
class NullOutputContainer extends AbstractOutputContainer implements OutputContainerInterface
12
{
13 12
    public function addToOutputBuffer(ProcessResultInterface $process, $message)
14
    {
15 12
    }
16
17
    public function getFileNames()
18
    {
19
        return array();
20
    }
21
22 9
    public function getOutputBuffer()
23
    {
24 9
        return array();
25
    }
26
27 9
    public function countFiles()
28
    {
29 9
        return 0;
30
    }
31
}
32