Branch Coverage

blib/lib/DateTime/TimeZone/OlsonDB/Observance.pm
Criterion Covered Total %
branch 4 86 4.6


line true false branch
25 0 0 $p{'gmtoff'} =~ /^[+-]?\d?\d$/ ? :
43 0 0 if ($p{'utc_start_datetime'})
45 0 0 if $self->{'first_rule'}
58 0 920 unless $_[0]{'offset_from_utc'}
59 1380 0 unless $_[0]{'offset_from_std'}
92 0 460 unless $format =~ /%/
94 0 460 if ($format eq "%z")
106 0 0 if $rule
107 0 0 $offset < 0 ? :
111 0 0 if ($m == 0)
126 0 0 if ($self->utc_start_datetime) { }
142 0 0 if ($until) { }
151 0 0 if $rule->max_year and $rule->max_year > $max_rule_year
155 0 0 if $max_rule_year > $max_year
168 0 0 if $self->utc_start_datetime and $dt <= $self->utc_start_datetime
174 0 0 if $until and $dt >= $until
188 0 0 if ($DateTime::TimeZone::OlsonDB::DEBUG)
216 0 0 if $_->min_year <= $year
245 0 0 unless defined $self->until_year
263 0 0 unless defined $_[0]{'until'}[1]
268 0 0 unless defined $_[0]{'until'}[2]
278 0 0 defined $_[0]{'until'}[3] ? :
287 0 0 unless $self->rules
289 0 0 unless my $date = $self->utc_start_datetime
309 0 0 if $temp_year > $year
311 0 0 if $rule->min_year > $temp_year
318 0 0 if $rule->min_year < $earliest_year
336 0 0 if ($rule->min_year > $y)
338 0 0 if $DateTime::TimeZone::OlsonDB::DEBUG
345 0 0 if ($rule->max_year and $rule->max_year < $y)
347 0 0 if $DateTime::TimeZone::OlsonDB::DEBUG
366 0 0 if $DateTime::TimeZone::OlsonDB::DEBUG
368 0 0 if $DateTime::TimeZone::OlsonDB::DEBUG
379 0 0 $x < @rule_dates - 1 ? :
381 0 0 if $next_dt and $next_dt < $date
384 0 0 if $DateTime::TimeZone::OlsonDB::DEBUG
387 0 0 if $next_dt and $DateTime::TimeZone::OlsonDB::DEBUG
390 0 0 if not $next_dt and $DateTime::TimeZone::OlsonDB::DEBUG
394 0 0 if ($dt <= $date)
395 0 0 if ($next_dt) { }
396 0 0 if $date < $next_dt
397 0 0 if $date == $next_dt
413 0 0 unless $std_time_rule