Condition Coverage

blib/lib/HTML/Bare.pm
Criterion Covered Total %
condition 14 81 17.2


and 3 conditions

line !l l&&!r l&&r condition
215 10 0 0 not ref $res and $res < 0
322 0 0 0 $name and $name =~ /^\_/
687 281 0 80 $type eq 'HASH' and not $i =~ /^_/
693 0 0 3 ref $a eq 'HASH' and ref $b eq 'HASH'
721 0 34 1 $obj and $obj =~ /[<>&;]/
794 0 0 0 $type eq 'HASH' and not $i =~ /^_/
800 0 0 0 ref $a eq 'HASH' and ref $b eq 'HASH'
832 0 0 0 $obj and $obj =~ /[<>&;]/
0 0 0 $obj and $obj =~ /[<>&;]/ and not $$objs{'_cdata'}
1023 0 0 0 $$node{'id'} and $$node{'id'}{'value'} eq $id
1049 0 0 0 $$node{$att} and $$node{$att}{'value'} eq $val

or 2 conditions

line l !l condition
177 0 0 $$asub{'_max'} || 0
182 0 0 $$asub{'_min'} || 0
337 0 0 $node ||= ''
545 0 0 $ops{'root'} || 'html'
661 0 0 $_[1] || ''
680 91 17 $$oba{'_pos'} || 0
681 101 6 $$obb{'_pos'} || 0
685 311 54 $$objs{$i} || ''
709 9 0 $$obj{'value'} || ''
775 0 0 $$oba{'_pos'} || 0
776 0 0 $$obb{'_pos'} || 0
792 0 0 $$objs{$i} || ''

or 3 conditions

line l !l&&r !l&&!r condition
149 0 0 0 substr($key, 0, 1) eq '_' or $key eq '_att'
0 0 0 substr($key, 0, 1) eq '_' or $key eq '_att' or $key eq 'comment'
282 0 0 1 /^_/ or ref $val eq 'HASH'
307 0 0 0 $key eq 'comment' or $key eq 'value'
0 0 0 $key eq 'comment' or $key eq 'value' or $key =~ /^_/
493 0 0 0 $key eq '_pos' or $key eq 'id'
552 0 0 0 substr($key, 0, 1) eq '_' or $key eq '_att'
0 0 0 substr($key, 0, 1) eq '_' or $key eq '_att' or $key eq 'comment'