| line |
true |
false |
branch |
|
164
|
1 |
0 |
if (@_) |
|
185
|
6 |
40 |
unless $span->{$which} and $span->{$which} =~ /^(\d+)\D(\d+)$/ |
|
192
|
0 |
20 |
if $span->{'EndHour'} * 60 + $span->{'EndMinute'} <= $span->{'StartHour'} * 60 + $span->{'StartMinute'} |
|
198
|
6 |
15 |
unless ($bizdays->{$dow} and ref $bizdays->{$dow} eq 'HASH' and &$process_start_end($bizdays->{$dow})) |
|
206
|
10 |
5 |
unless $bizdays->{$dow}{'Breaks'} |
|
207
|
0 |
5 |
unless $break and ref $break eq 'HASH' |
|
208
|
5 |
0 |
if &$process_start_end($break) |
|
230
|
1 |
16 |
if (@_) |
|
233
|
11 |
6 |
unless $self->{'holidays'} |
|
330
|
34 |
85 |
unless my $day_hours = $bizdays->{$dow} |
|
334
|
75 |
10 |
unless $bizdays->{$dow}{'Breaks'} |
|
354
|
4 |
10 |
if (my(@holidays) = $self->holidays) |
|
362
|
0 |
12 |
if ($year) { } |
|
371
|
9 |
3 |
if $start_year != $end_year |
|
407
|
1 |
4 |
unless (defined $self->{'start'} and defined $self->{'end'}) |
|
414
|
0 |
5 |
if ($start < $self->{'start'}) |
|
417
|
0 |
5 |
if ($end > $self->{'end'}) |
|
449
|
0 |
5 |
if ($end >= $MAXTIME) |
|
486
|
0 |
4 |
if ($end >= $start + $MAXTIME) |