Condition Coverage

blib/lib/Time/Zone/Olsen.pm
Criterion Covered Total %
condition 33 70 47.1


and 3 conditions

line !l l&&!r l&&r condition
118 28 0 0 $$self{'_timezone_cache'} and $$self{'_timezone_cache'} == $_last_modified
166 8296 0 856 $area eq $Time::Zone::Olsen::LAST_PAREN_MATCH{'area'} and $Time::Zone::Olsen::LAST_PAREN_MATCH{'location'}
217 78501 9 23464 $year % _EVERY_FOUR_YEARS() == 0 and $year % _EVERY_ONE_HUNDRED_YEARS() != 0
234 0 0 6 defined $$tz_definition{'start_day'} and defined $$tz_definition{'end_day'}
0 0 6 defined $$tz_definition{'start_day'} and defined $$tz_definition{'end_day'} and defined $$tz_definition{'start_week'}
0 0 6 defined $$tz_definition{'start_day'} and defined $$tz_definition{'end_day'} and defined $$tz_definition{'start_week'} and defined $$tz_definition{'end_week'}
0 0 6 defined $$tz_definition{'start_day'} and defined $$tz_definition{'end_day'} and defined $$tz_definition{'start_week'} and defined $$tz_definition{'end_week'} and defined $$tz_definition{'start_month'}
0 0 6 defined $$tz_definition{'start_day'} and defined $$tz_definition{'end_day'} and defined $$tz_definition{'start_week'} and defined $$tz_definition{'end_week'} and defined $$tz_definition{'start_month'} and defined $$tz_definition{'end_month'}
266 0 0 0 $dst_start_time < $check_time and $check_time < $dst_end_time
774 0 0 842 defined $first_transition_time and $$self{'_tzdata'}{$tz}{'local_time_types'}[0]
0 841 1 defined $first_transition_time and $$self{'_tzdata'}{$tz}{'local_time_types'}[0] and $time < $first_transition_time + $$self{'_tzdata'}{$tz}{'local_time_types'}[0]{'gmtoff'}
841 0 1683 2 defined $first_transition_time and $time < $first_transition_time
1225 417 0 2 defined $$tz_definition{'dst_sign'} and $$tz_definition{'dst_sign'} eq '-'
1253 192 0 227 defined $$tz_definition{'std_sign'} and $$tz_definition{'std_sign'} eq '-'
1341 0 0 420 $$header{'version'} >= 2 and defined $Time::Zone::Olsen::Config{'d_quad'}
0 0 420 $$header{'version'} >= 2 and defined $Time::Zone::Olsen::Config{'d_quad'} and $Time::Zone::Olsen::Config{'d_quad'} eq 'define'
1379 417 3 5051 $$self{'_tzdata'}{$tz}{'mtime'} and $$self{'_tzdata'}{$tz}{'mtime'} == $_last_modified

or 2 conditions

line l !l condition
1214 0 419 $$tz_definition{'dst_seconds'} || 0
1241 0 419 $$tz_definition{'std_seconds'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
96 0 2 0 $$params{'directory'} || $ENV{'TZDIR'} || _DEFAULT_ZONEINFO_DIRECTORY()
99 0 2 0 $$params{'timezone'} || $ENV{'TZ'}
183 2 0 0 $tz ||= $self->timezone
217 1963 0 101974 $year % _EVERY_FOUR_HUNDRED_YEARS() == 0 or $year % _EVERY_FOUR_YEARS() == 0 and $year % _EVERY_ONE_HUNDRED_YEARS() != 0
273 0 6 0 $check_time < $dst_start_time or $dst_end_time < $check_time