| lib/Sort/MergeSort.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 18 | 22 | 81.8 |
| line | true | false | branch |
|---|---|---|---|
| 25 | 5 | 28 | if (@inputs > $max_array) |
| 33 | 0 | 28 | if (@inputs == 1) { } |
| 0 | 28 | elsif (@inputs == 0) { } | |
| 43 | 0 | 153 | unless defined $first |
| 55 | 28 | 44850 | unless @data |
| 62 | 153 | 44697 | unless defined $new |
| 68 | 145 | 44552 | unless (@data) |
| 81 | 46683 | 41064 | if ($c > 0) { } |
| 41064 | 0 | elsif ($c < 0) { } | |
| 89 | 7560 | 36992 | if (&$compare($data[$max][0], $new) > 0) { } |
| 30025 | 6967 | elsif (&$compare($data[$min][0], $new) > 0) { } |