Condition Coverage

blib/lib/XML/Bare.pm
Criterion Covered Total %
condition 12 65 18.4


and 3 conditions

line !l l&&!r l&&r condition
596 218 0 64 $type eq 'HASH' and not $i =~ /^_/
602 0 0 3 ref $a eq 'HASH' and ref $b eq 'HASH'
629 0 19 2 $obj and $obj =~ /[<>&;]/
703 0 0 0 $type eq 'HASH' and not $i =~ /^_/
709 0 0 0 ref $a eq 'HASH' and ref $b eq 'HASH'
741 0 0 0 $obj and $obj =~ /[<>&;]/
0 0 0 $obj and $obj =~ /[<>&;]/ and not $$objs{'_cdata'}

or 2 conditions

line l !l condition
134 0 0 $ops{'root'} || 'xml'
238 0 0 $$asub{'_max'} || 0
243 0 0 $$asub{'_min'} || 0
510 0 0 $_[1] || ''
589 65 16 $$oba{'_pos'} || 0
590 68 9 $$obb{'_pos'} || 0
594 254 32 $$objs{$i} || ''
683 0 0 $$oba{'_pos'} || 0
684 0 0 $$obb{'_pos'} || 0
701 0 0 $$objs{$i} || ''

or 3 conditions

line l !l&&r !l&&!r condition
81 0 0 0 $key eq '_pos' or $key eq 'id'
210 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'
275 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'
484 0 0 1 /^_/ or ref $val eq 'HASH'
502 0 0 0 $name =~ /^_/ or $name eq 'comment'
0 0 0 $name =~ /^_/ or $name eq 'comment' or $name eq 'value'