| blib/lib/Term/HiliteDiff/_impl.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 25 | 26 | 96.1 |
| line | true | false | branch |
|---|---|---|---|
| 56 | 8 | 39 | if ($_[1]) { } |
| 8 | 31 | elsif (-1 != index($_[2], "\t")) { } | |
| 8 | 23 | elsif (-1 != index($_[2], '|')) { } | |
| 11 | 12 | elsif ($_[2] =~ /\n(?!\z)/) { } | |
| 103 | 47 | 0 | $prev_max_index >= $new_max_index ? : |
| 111 | 87 | 57 | if ($_[0][$idx] eq $_[1][$idx]) { } |
| 54 | 3 | elsif (length $_[1][$idx]) { } | |
| 112 | 85 | 2 | defined $_[1][$idx] ? : |
| 158 | 25 | 22 | if ($_[2]) |
| 159 | 7 | 18 | if (not $_[0][0]) { } |
| 174 | 8 | 39 | if ($array_mode) { } |
| 176 | 4 | 4 | if ($_[2]) |
| 191 | 21 | 18 | if ($_[2]) |