blib/lib/Date/Gregorian/Business.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 53 | 55 | 96.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
239 | 37 | 108 | 0 | (!defined($selection->[0]) || $selection->[0] <= $year) && (!defined($selection->[1]) || $year <= $selection->[1]) |
251 | 3 | 0 | 162 | @$yearly && $firstday->new |
272 | 6 | 6 | 1343 | 0 <= $index and $index < @$calendar |
313 | 1 | 1 | 2 | 'ARRAY' ne $type and 'CODE' ne $type |
348 | 1 | 1 | 2 | 'ARRAY' ne $type and 'CODE' ne $type |
495 | 10 | 10 | 20 | '<' ne $relation and '>' ne $relation |
20 | 12 | 8 | '<' ne $relation and '>' ne $relation and $calendar->[$day] | |
580 | 32 | 20 | 20 | defined $new_alignment and ($alignment xor $new_alignment) |
606 | 27 | 3 | 29 | not $days and $alignment |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
256 | 1261 | 94 | 129 | not defined $day->[3] or _select_year($someday, $day, $year) |
283 | 46 | 135 | 5381 | not defined $self->[8] or $year != $self->[8] |
496 | 10 | 6 | 16 | '<' eq $relation or '<=' eq $relation |
591 | 20 | 10 | 10 | $days || $alignment |
32 | 10 | 30 | 0 < $days or not $days || $alignment | |
594 | 39 | 3 | 44 | $days || $alignment |
87 | 44 | 42 | 0 < $days or not $days || $alignment | |
606 | 78 | 39 | 20 | $days < 0 or not $days and $alignment |
line | l&&r | l&&!r | !l&&r | !l&&!r | condition |
---|---|---|---|---|---|
580 | 10 | 10 | 10 | 10 | $alignment xor $new_alignment |