Condition Coverage

blib/lib/Text/Amuse/Preprocessor/HTML.pm
Criterion Covered Total %
condition 36 41 87.8


and 3 conditions

line !l l&&!r l&&r condition
167 55 113 330 defined $tag and exists $preserved{$tag}
186 55 419 24 defined $tag and $tag eq "a"
474 5 19 defined $tag and $tag eq "a" and my $href = $attr->{'href'}
214 55 94 329 $tag and exists $preserved{$tag}
298 325 0 41 $parsed =~ m[( )] and $recursion < 20
336 3 15 7 not $opts->{'rtl'} and $style =~ /text-align:\s*right/i
347 0 0 2 not $opts->{'rtl'} and $align =~ /right/i

or 2 conditions

line l !l condition
114 3 56 $options ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
155 71 0 427 $tag eq "span" or $tag eq "font"
2 4 421 $tag eq "ol" or $tag eq "ul"
79 38 304 $tag eq "p" or $tag eq "div"
202 71 0 407 $tag eq "span" or $tag eq "font"
2 4 401 $tag eq "ol" or $tag eq "ul"
80 38 283 $tag eq "p" or $tag eq "div"