Branch Coverage

blib/lib/HTML/Diff.pm
Criterion Covered Total %
branch 23 24 95.8


line true false branch
36 62 87 $_ =~ /^<[^>]*>$/ ? :
38 56 76 $_ =~ /^<[^>]*>$/ ? :
53 160 959 if ($_ =~ /^<.*>/) { }
54 38 122 if ($_ =~ m[^
60 36 2 if (scalar @$tagstack > 0 and $tagstack->[-1] eq $tag)
68 86 36 if (member($tag, @UNBALANCED_TAGS) or $tag =~ m[/\s*>$]) { }
108 55 539 if ($signal ne $lastsignal and $lastsignal ne '')
109 7 48 if ($signal ne 'u' and $lastsignal ne 'u') { }
129 588 6 defined $lelem ? :
130 531 63 defined $relem ? :
140 69 1119 unless ref $e eq 'ARRAY'
147 0 1141 unless ref $e eq 'ARRAY'