Condition Coverage

lib/Parse/Syslog.pm
Criterion Covered Total %
condition 30 46 65.2


and 3 conditions

line !l l&&!r l&&r condition
32 0 0 0 defined $$self{'is_dst_switch_last_hour'} and $$self{'is_dst_switch_last_hour'} == $$t[3] << 5 + $$t[2]
71 7 22 33 defined $lastmin and $$lastmin[0] == $_[1]
29 0 33 defined $lastmin and $$lastmin[0] == $_[1] and $$lastmin[1] == $_[2]
22 2 31 defined $lastmin and $$lastmin[0] == $_[1] and $$lastmin[1] == $_[2] and $$lastmin[2] == $_[3]
2 9 22 defined $lastmin and $$lastmin[0] == $_[1] and $$lastmin[1] == $_[2] and $$lastmin[2] == $_[3] and $$lastmin[3] == $_[4]
11 0 22 defined $lastmin and $$lastmin[0] == $_[1] and $$lastmin[1] == $_[2] and $$lastmin[2] == $_[3] and $$lastmin[3] == $_[4] and $$lastmin[4] == $_[5]
101 6 6 28 not $GMT || defined $$self{'dst_comp'} and defined $$self{'last_time'}
12 26 2 not $GMT || defined $$self{'dst_comp'} and defined $$self{'last_time'} and $$self{'last_time'} - $time > 1200
32 2 0 not $GMT || defined $$self{'dst_comp'} and defined $$self{'last_time'} and $$self{'last_time'} - $time > 1200 and $$self{'last_time'} - $time < 3600
112 40 0 0 defined $$self{'dst_comp_until'} and $time > $$self{'dst_comp_until'}
190 0 4 3 defined $$self{'_last_mon'} and $$self{'_last_mon'} == 11
195 0 0 1 defined $$self{'_last_mon'} and $$self{'_last_mon'} != 11
264 14 0 0 defined $$self{'repeat'} and not $$self{'repeat'}

or 2 conditions

line l !l condition
79 0 22 $$self{'dst_comp'} || 0
120 0 40 $$self{'dst_comp'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
101 6 0 34 $GMT || defined $$self{'dst_comp'}