Condition Coverage

blib/lib/Time/Local.pm
Criterion Covered Total %
condition 25 36 69.4


and 3 conditions

line !l l&&!r l&&r condition
134 3 2 35 $year < 100 and $year >= 0
148 12378 259 35 $month == 1 and _is_leap_year($year + 1900)
230 0 0 0 not $dst_off and $ref_t - 3600 - _timegm(localtime $loc_t - 3600) < 0

or 3 conditions

line l !l&&r !l&&!r condition
102 18981 45 0 $Cheat{pack "ss", @_[4, 5]} ||= do { my $month = ($_[4] + 10) % 12; my $year = $_[5] + 1900 - int($month / 10); 365 * $year + int($year / 4) - int($year / 100) + int($year / 400) + int(($month * 306 + 5) / 10) - $Epoc }
143 6 6 12672 $month > 11 or $month < 0
151 12 6 12654 $mday > $md or $mday < 1
153 6 6 12642 $hour > 23 or $hour < 0
155 6 6 12630 $min > 59 or $min < 0
157 6 6 12618 $sec >= 60 or $sec < 0
163 66 12618 0 $Options{'no_range_check'} or abs $days < $MaxDay
246 0 0 0 $s != $_[0] or $m != $_[1]
0 0 0 $s != $_[0] or $m != $_[1] or $h != $_[2]