blib/lib/DateTimeX/Lite/TimeZone.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 27 | 33 | 81.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
190 | 137 | 2 | 644 | $max % 2 and $max != 3 |
222 | 412 | 258 | 106 | $$current[5] and $type eq 'local' |
233 | 0 | 106 | 0 | not $$next[5] and $$next[$start] <= $seconds |
106 | 0 | 0 | not $$next[5] and $$next[$start] <= $seconds and $seconds <= $$next[$end] | |
343 | 70 | 980 | 15 | $seconds >= $$span[$start] and $seconds < $$span[$end] |
379 | 6 | 0 | 7 | $tz && $tz->isa('DateTimeX::Lite::TimeZone') |
line | l | !l | condition |
---|---|---|---|
63 | 4 | 1 | $p{'name'} || 'undef' |
201 | 1956 | 32 | $c ||= 1 |
211 | 2485 | 7 | $c ||= 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
44 | 909 | 34 | 90 | $name =~ m[/] or $SpecialName{$name} |
52 | 38 | 1 | 24 | $name eq 'UTC' or $name eq 'Z' |
229 | 105 | 1 | 0 | $next ||= $self->_generate_next_span |