| blib/lib/Test/HTML/Differences.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 26 | 28 | 92.8 |
| line | true | false | branch |
|---|---|---|---|
| 20 | 1 | 4 | if ($_[0] and $_[0] eq '-color') |
| 23 | 0 | 1 | if $@ |
| 43 | 2 | 15 | if $$elt[-1] eq 'bar' |
| 44 | 12 | 3 | unless $$elt[-1] eq 'B' |
| 45 | 14 | 1 | unless $$elt[-1] eq 'A' |
| 91 | 51 | 107 | if $dtext =~ /\S/ |
| 102 | 32 | 24 | $pretty ? : |
| 111 | 85 | 54 | if ($has_element) { } |
| 112 | 25 | 4 | $a ? : |
| 29 | 56 | unless $tag eq 'root' | |
| 114 | 83 | 34 | if (ref $node) { } |
| 120 | 29 | 56 | unless $tag eq 'root' |
| 122 | 0 | 54 | if ($tag eq 'root') { } |
| 125 | 31 | 23 | $a ? : |