Condition Coverage

blib/lib/Time/Available.pm
Criterion Covered Total %
condition 22 66 33.3


and 3 conditions

line !l l&&!r l&&r condition
120 12 1 1 $day == 0 and $dayMask & 64
11 0 2 $day == 1 and $dayMask & 1
11 0 0 $day == 2 and $dayMask & 2
10 0 1 $day == 3 and $dayMask & 4
1 0 9 $day == 4 and $dayMask & 8
1 0 0 $day == 5 and $dayMask & 16
1 0 0 $day == 6 and $dayMask & 32
244 2 0 0 $time > $start and $time <= $end
335 0 0 0 $self->day_in_interval($to) and $loop_start_time < $loop_end_time

or 2 conditions

line l !l condition
68 0 0 $hh || 0
0 0 $mm || 0
0 0 $ss || 0
83 0 0 $hh || 0
0 0 $mm || 0
0 0 $ss || 0
114 12 2 shift() || 0
173 0 0 shift() || die('no t?')
273 1 0 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
147 13 0 0 shift() || croak('_start needs timestap')
158 11 0 0 shift() || croak('_end needs timestap')
180 10 0 0 shift() || croak('need uptime timestamp to calculate uptime')
228 2 0 0 shift() || croak('need downtime timestamp to calculate uptime')
301 2 0 0 shift() || croak('need start time for interval')
302 2 0 0 shift() || croak('need end time for interval')
355 0 0 0 shift() || croak('need timestamp to check if day is in interval')