Condition Coverage

blib/lib/DateTime/TimeZone/Tzfile.pm
Criterion Covered Total %
condition 33 50 66.0


and 3 conditions

line !l l&&!r l&&r condition
217 1 0 18 $fh = 'IO::File'->new($filename, 'r') and $fh->binmode
284 117 0 36 $types[$i][0] == 0 and not $types[$i][1]
117 30 6 $types[$i][0] == 0 and not $types[$i][1] and $types[$i][2] eq 'zzz'
300 0 19 0 defined $late_rule and $late_rule eq "<$factory_abbr>0"
19 0 0 defined $late_rule and $late_rule eq "<$factory_abbr>0" and defined $obs_types[-1]
19 0 0 defined $late_rule and $late_rule eq "<$factory_abbr>0" and defined $obs_types[-1] and $obs_types[-1][0] == 0
0 0 0 defined $late_rule and $late_rule eq "<$factory_abbr>0" and defined $obs_types[-1] and $obs_types[-1][0] == 0 and not $obs_types[-1][1]
0 0 0 defined $late_rule and $late_rule eq "<$factory_abbr>0" and defined $obs_types[-1] and $obs_types[-1][0] == 0 and not $obs_types[-1][1] and $obs_types[-1][2] eq $factory_abbr
551 8 137 58 defined $local_offset and $local_offset == $offset

or 2 conditions

line l !l condition
561 11 16 $error ||= 'offset change'

or 3 conditions

line l !l&&r !l&&!r condition
184 1 2 3 rand $value or rand $value
192 1 1 25 defined $filename or defined $fh
198 1 1 5 defined $filename or defined $fh
205 19 3 2 defined $filename or defined $fh
267 2866 0 0 $trn_times[$i][0] <=> $trn_times[$i + 1][0] || $trn_times[$i][1] <=> $trn_times[$i + 1][1]
281 134 0 19 defined $first_std_type_index or $types[$i][1]
430 12647 917 831 $utc_rdn <=> $self->{'trn_times'}[$try][0] || $utc_sod <=> $self->{'trn_times'}[$try][1]