blib/lib/Date/Gregorian/Business.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 54 | 58 | 93.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
106 | 29 | 115 | 0 | (!defined($$selection[0]) || $$selection[0] <= $year) && (!defined($$selection[1]) || $year <= $$selection[1]) |
118 | 3 | 0 | 164 | @$yearly && $firstday->new |
139 | 6 | 6 | 1369 | 0 <= $index and $index < @$calendar |
151 | 0 | 2 | 2 | 8 <= @$calendar and $$calendar[-1] |
192 | 1 | 1 | 1 | 'ARRAY' ne $type and 'CODE' ne $type |
227 | 1 | 1 | 1 | 'ARRAY' ne $type and 'CODE' ne $type |
374 | 10 | 10 | 20 | '<' ne $relation and '>' ne $relation |
20 | 12 | 8 | '<' ne $relation and '>' ne $relation and $$calendar[$day] | |
459 | 32 | 20 | 20 | defined $new_alignment and ($alignment xor $new_alignment) |
485 | 27 | 3 | 29 | not $days and $alignment |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
123 | 1286 | 95 | 127 | not defined $$day[3] or _select_year($someday, $day, $year) |
162 | 48 | 135 | 5378 | not defined $$self[8] or $year != $$self[8] |
375 | 10 | 6 | 16 | '<' eq $relation or '<=' eq $relation |
470 | 20 | 10 | 10 | $days || $alignment |
32 | 10 | 30 | 0 < $days or not $days || $alignment | |
473 | 39 | 3 | 44 | $days || $alignment |
87 | 44 | 42 | 0 < $days or not $days || $alignment | |
485 | 78 | 0 | 59 | $days < 0 or not $days and $alignment |
line | l&&r | l&&!r | !l&&r | !l&&!r | condition |
---|---|---|---|---|---|
459 | 10 | 10 | 10 | 10 | $alignment xor $new_alignment |