Condition Coverage

blib/lib/DateTime/TimeZone.pm
Criterion Covered Total %
condition 11 51 21.5


and 3 conditions

line !l l&&!r l&&r condition
271 0 0 0 $max % 2 and $max != 3
301 0 0 0 $current->[5] and $type eq "local"
317 0 0 0 not $next->[5] and $next->[$start] <= $seconds
0 0 0 not $next->[5] and $next->[$start] <= $seconds and $seconds <= $next->[$end]
420 0 0 0 $seconds >= $span->[$start] and $seconds < $span->[$end]
460 0 0 0 $tz && $tz->isa('DateTime::TimeZone')
516 0 0 20 $hours >= 0 and $hours <= 99
517 0 0 20 $minutes >= 0 and $minutes <= 59
519 0 0 4 $seconds >= 0 and $seconds <= 59
538 1 1 38 $offset >= -359999 and $offset <= 359999

or 2 conditions

line l !l condition
281 0 0 $c ||= 1
290 0 0 $c ||= 1
535 9 31 shift() || ''

or 3 conditions

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