Condition Coverage

blib/lib/DateTimeX/Lite/OlsonDB.pm
Criterion Covered Total %
condition 3 78 3.8


and 2 conditions

line l !l condition
772 0 0 $next_dt and 0
775 0 0 not $next_dt and 0

and 3 conditions

line !l l&&!r l&&r condition
55 0 0 0 $$self{'in_zone'} and $line =~ /^\t/
399 0 0 0 @{$$self{'changes'};} and $$self{'changes'}[-1]->utc_start_datetime
0 0 0 @{$$self{'changes'};} and $$self{'changes'}[-1]->utc_start_datetime and $$self{'changes'}[-1]->utc_start_datetime == $change->utc_start_datetime
404 0 0 0 $$self{'changes'}[-1]->rule and $change->observance
419 0 0 0 $last_change->short_name eq $change->short_name and $last_change->total_offset == $change->total_offset
0 0 0 $last_change->short_name eq $change->short_name and $last_change->total_offset == $change->total_offset and $last_change->is_dst == $change->is_dst
0 0 0 $last_change->short_name eq $change->short_name and $last_change->total_offset == $change->total_offset and $last_change->is_dst == $change->is_dst and $last_change->observance eq $change->observance
562 0 0 0 $rule->max_year and $rule->max_year > $max_rule_year
579 0 0 0 $self->utc_start_datetime and $dt <= $self->utc_start_datetime
583 0 0 0 $until and $dt >= $until
735 0 0 0 $rule->max_year and $rule->max_year < $y
767 0 0 0 $next_dt and $next_dt < $date
895 0 547 534 $p{'rule'} and $p{'rule'}->offset_from_std

or 2 conditions

line l !l condition
425 0 0 $last_change->rule || ''
426 0 0 $change->rule || ''
478 0 0 $p{'until'} ||= ''
479 0 0 $p{'offset_from_std'} ||= 0
480 0 0 $p{'last_offset_from_utc'} ||= 0
481 0 0 $p{'last_offset_from_std'} ||= 0
806 0 0 $p{'type'} ||= undef
807 0 0 $p{'letter'} ||= ''
869 1081 0 $p{'rule'} ||= undef
884 0 0 $p{'offset_from_std'} ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
164 0 0 0 $p{'expand_to_year'} ||= (localtime)[5] + 1910
456 0 0 0 @{$_[0]{'changes'};} or $_[0]{'earliest'}
618 0 0 0 not $_->max_year or $_->max_year >= $year
628 0 0 0 shift() || $self->offset_from_std
964 0 0 0 $obs->offset_from_std or $self->rule