Condition Coverage

blib/lib/Test/Struct.pm
Criterion Covered Total %
condition 16 37 43.2


and 3 conditions

line !l l&&!r l&&r condition
122 4 0 0 $$state{'sv_seen1'}{$ra1} and $$state{'sv_seen2'}{$ra2}
4 0 0 $$state{'sv_seen1'}{$ra1} and $$state{'sv_seen2'}{$ra2} and $$state{'sv_seen1'}{$ra1} eq $$state{'sv_seen2'}{$ra2}
162 4 0 0 $$state{'rv_seen1'}{$ra1} and $$state{'rv_seen2'}{$ra2}
4 0 0 $$state{'rv_seen1'}{$ra1} and $$state{'rv_seen2'}{$ra2} and $$state{'rv_seen1'}{$ra1} eq $$state{'rv_seen2'}{$ra2}
227 1 0 0 $t1 and $t2

or 2 conditions

line l !l condition
108 3 1 $state ||= {}
109 3 1 $n ||= '$o'

or 3 conditions

line l !l&&r !l&&!r condition
72 0 0 1 $v =~ /^\$\{.*\}$/ or $v =~ /\w$/
127 0 4 0 $$state{'sv_seen1'}{$ra1} ||= $n
128 0 4 0 $$state{'sv_seen2'}{$ra2} ||= $n
167 0 4 0 $$state{'rv_seen1'}{$ra1} ||= $n
168 0 4 0 $$state{'rv_seen2'}{$ra2} ||= $n
202 1 0 1 $rt eq 'REF' or $rt eq 'SCALAR'