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