| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 45 | 12 | public function process(CodeCoverage $coverage) |
|
| 46 | { |
||
| 47 | 12 | $coverageResults = $this->text->process($coverage, $this->showColors); |
|
| 48 | |||
| 49 | 12 | if ($this->targetFile) { |
|
| 50 | 6 | file_put_contents($this->targetFile->getFilePath(), $coverageResults); |
|
| 51 | } else { |
||
| 52 | 6 | $this->output->writeln($coverageResults); |
|
| 53 | } |
||
| 54 | } |
||
| 55 | } |
||
| 56 |