Condition Coverage

blib/lib/XML/Bare.pm
Criterion Covered Total %
condition 14 76 18.4


and 3 conditions

line !l l&&!r l&&r condition
109 33 0 0 not ref $res and $res < 0
207 10 0 0 not ref $res and $res < 0
314 0 0 0 $name and $name =~ /^\_/
679 281 0 80 $type eq 'HASH' and not $i =~ /^_/
685 0 0 3 ref $a eq 'HASH' and ref $b eq 'HASH'
712 0 34 1 $obj and $obj =~ /[<>&;]/
785 0 0 0 $type eq 'HASH' and not $i =~ /^_/
791 0 0 0 ref $a eq 'HASH' and ref $b eq 'HASH'
823 0 0 0 $obj and $obj =~ /[<>&;]/
0 0 0 $obj and $obj =~ /[<>&;]/ and not $$objs{'_cdata'}

or 2 conditions

line l !l condition
169 0 0 $$asub{'_max'} || 0
174 0 0 $$asub{'_min'} || 0
329 0 0 $node ||= ''
537 0 0 $ops{'root'} || 'xml'
653 0 0 $_[1] || ''
672 90 12 $$oba{'_pos'} || 0
673 102 9 $$obb{'_pos'} || 0
677 311 54 $$objs{$i} || ''
766 0 0 $$oba{'_pos'} || 0
767 0 0 $$obb{'_pos'} || 0
783 0 0 $$objs{$i} || ''

or 3 conditions

line l !l&&r !l&&!r condition
141 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'
274 0 0 1 /^_/ or ref $val eq 'HASH'
299 0 0 0 $key eq 'comment' or $key eq 'value'
0 0 0 $key eq 'comment' or $key eq 'value' or $key =~ /^_/
485 0 0 0 $key eq '_pos' or $key eq 'id'
544 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'