| blib/lib/Business/Hours.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 14 | 24 | 58.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 185 | 6 | 0 | 40 | $span->{$which} and $span->{$which} =~ /^(\d+)\D(\d+)$/ |
| 198 | 0 | 0 | 21 | $bizdays->{$dow} and ref $bizdays->{$dow} eq 'HASH' |
| 0 | 6 | 15 | $bizdays->{$dow} and ref $bizdays->{$dow} eq 'HASH' and &$process_start_end($bizdays->{$dow}) | |
| 207 | 0 | 0 | 5 | $break and ref $break eq 'HASH' |
| 407 | 1 | 0 | 4 | defined $self->{'start'} and defined $self->{'end'} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 85 | 0 | 6 | 0 | ref $class || $class |
| 263 | 1 | 13 | 0 | $self->{'business_hours'} || $BUSINESS_HOURS |
| 483 | 3 | 1 | 3 | $hours->empty or $self->between($start, $hours->last) <= $seconds |