Condition Coverage

blib/lib/Net/OSCAR/XML.pm
Criterion Covered Total %
condition 0 49 0.0


and 3 conditions

line !l l&&!r l&&r condition
111 0 0 0 $name and $name eq 'define'
116 0 0 0 exists $attrs{'family'} and exists $attrs{'subtype'}
196 0 0 0 $$attrs{'default_generate'} and $$attrs{'default_generate'} ne 'no'
197 0 0 0 @$value and $$value[1] =~ /\S/
244 0 0 0 $$attrs{'null_terminated'} and $$attrs{'null_terminated'} eq 'yes'
260 0 0 0 $$attrs{'subtyped'} and $$attrs{'subtyped'} eq 'yes'
275 0 0 0 $$tlvattrs{'default_generate'} and $$tlvattrs{'default_generate'} ne 'no'
337 0 0 0 $xml_revmap{$snac{'family'}} and $xml_revmap{$snac{'family'}}{$snac{'subtype'}}
0 0 0 $xml_revmap{'-1'} and $xml_revmap{'-1'}{$snac{'subtype'}}

or 2 conditions

line l !l condition
138 0 0 $order ||= 'network'
254 0 0 $$datum{'items'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
200 0 0 0 $$attrs{'count_prefix'} or $$attrs{'length_prefix'}
201 0 0 0 $$attrs{'count_prefix'} || $$attrs{'length_prefix'}
208 0 0 0 $tag eq 'byte' or $tag eq 'word'
0 0 0 $tag eq 'byte' or $tag eq 'word' or $tag eq 'dword'
0 0 0 $tag eq 'byte' or $tag eq 'word' or $tag eq 'dword' or $tag eq 'enum'
249 0 0 0 $$datum{'value'} ||= $subval