Condition Coverage

blib/lib/HTML/Tmojo.pm
Criterion Covered Total %
condition 19 27 70.3


and 3 conditions

line !l l&&!r l&&r condition
465 65 3 11 $parsed[$i]{'crush_before'} == 1 and $i > 0
68 0 11 $parsed[$i]{'crush_before'} == 1 and $i > 0 and $parsed[$i - 1]{'type'} eq 'TEXT'
62 0 6 $parsed[$i]{'crush_before'} == 2 and $i > 0
62 0 6 $parsed[$i]{'crush_before'} == 2 and $i > 0 and $parsed[$i - 1]{'type'} eq 'TEXT'
472 78 0 1 $parsed[$i]{'crush_after'} == 1 and $i < scalar(@parsed) - 1
78 0 1 $parsed[$i]{'crush_after'} == 1 and $i < scalar(@parsed) - 1 and $parsed[$i + 1]{'type'} eq 'TEXT'
68 1 9 $parsed[$i]{'crush_after'} == 2 and $i < scalar(@parsed) - 1
69 0 9 $parsed[$i]{'crush_after'} == 2 and $i < scalar(@parsed) - 1 and $parsed[$i + 1]{'type'} eq 'TEXT'

or 3 conditions

line l !l&&r !l&&!r condition
446 0 0 4 $tag_line eq $tag_open or $tag_line eq $tag_close