Condition Coverage

blib/lib/DateTime/TimeZone.pm
Criterion Covered Total %
condition 40 51 78.4


and 3 conditions

line !l l&&!r l&&r condition
271 44 2 253 $max % 2 and $max != 3
301 149 124 23 $current->[5] and $type eq "local"
317 0 21 2 not $next->[5] and $next->[$start] <= $seconds
21 0 2 not $next->[5] and $next->[$start] <= $seconds and $seconds <= $next->[$end]
420 44 397 9 $seconds >= $span->[$start] and $seconds < $span->[$end]
460 6 0 7 $tz && $tz->isa('DateTime::TimeZone')
516 0 0 133 $hours >= 0 and $hours <= 99
517 0 18 115 $minutes >= 0 and $minutes <= 59
519 0 6 20 $seconds >= 0 and $seconds <= 59
538 1 1 119 $offset >= -359999 and $offset <= 359999

or 2 conditions

line l !l condition
281 466 2 $c ||= 1
290 1181 3 $c ||= 1
535 9 112 shift() || ''

or 3 conditions

line l !l&&r !l&&!r condition
64 1214 0 3539 $p{'name'} =~ m[/] or $SpecialName{$p{'name'}}
74 2506 1 12 $p{'name'} eq "UTC" or $p{'name'} eq "Z"
313 22 1 0 $next ||= $self->_generate_next_span
474 4 0 0 ref $self || $self
519 89 20 6 not defined $seconds or $seconds >= 0 and $seconds <= 59