Branch Coverage

blib/lib/Test/HTML/Differences.pm
Criterion Covered Total %
branch 18 28 64.2


line true false branch
20 0 3 if ($_[0] and $_[0] eq '-color')
23 0 0 if $@
43 0 0 if $elt->[-1] eq 'bar'
44 0 0 unless $elt->[-1] eq 'B'
45 0 0 unless $elt->[-1] eq 'A'
91 23 43 if $dtext =~ /\S/
102 20 12 $pretty ? :
111 39 26 if ($has_element) { }
112 5 2 $a ? :
7 32 unless $tag eq 'root'
114 33 22 if (ref $node) { }
120 7 32 unless $tag eq 'root'
122 0 26 if ($tag eq 'root') { }
125 15 11 $a ? :