| Conditions | 3 |
| Paths | 3 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | public function output(array $coverage, float $percent, float $minimumPercent) |
||
| 9 | { |
||
| 10 | |||
| 11 | printf("%.2f%% Covered\n", $percent); |
||
| 12 | |||
| 13 | $output = ''; |
||
| 14 | foreach ($coverage as $filename => $lines) { |
||
| 15 | $output .= "\n\n'$filename' has no coverage for the following lines:\n"; |
||
| 16 | foreach ($lines as $line => $message) { |
||
| 17 | $output .= $this->generateOutputLine($line, $message); |
||
| 18 | } |
||
| 19 | } |
||
| 20 | |||
| 21 | echo trim($output) . "\n"; |
||
| 22 | } |
||
| 36 |