Condition Coverage

blib/lib/Time/Normalize.pm
Criterion Covered Total %
condition 42 60 70.0


and 3 conditions

line !l l&&!r l&&r condition
89 12 10 0 !($year % 4) && ($year % 100 || !($year % 400))
122 8 0 384 defined $locale and $locale eq $locale_in_use
222 28 0 43 defined $ampm and length $ampm
253 12 1 44 defined $ins and length $ins
497 0 0 0 @_ == 1 and not $_[0] =~ /\A\s* \d+ \s*\z/x
505 0 2 0 @_ == 1 and not $_[0] =~ /\A\s* \d+ \s*\z/x

or 3 conditions

line l !l&&r !l&&!r condition
76 0 0 149 $m < 1 or $m > 12
233 1 2 36 $inh < 1 or $inh > 12
241 0 2 24 $inh < 0 or $inh > 23
249 2 0 58 not $inm =~ /\A\s* \d+ \s*\z/x or $inm < 0
2 1 57 not $inm =~ /\A\s* \d+ \s*\z/x or $inm < 0 or $inm > 59
255 2 0 42 not $ins =~ /\A\s* \d+ \s*\z/x or $ins < 0
2 1 41 not $ins =~ /\A\s* \d+ \s*\z/x or $ins < 0 or $ins > 59
293 0 0 108 not $ind =~ /\A\s* \d+ \s*\z/x or $ind < 1
0 13 95 not $ind =~ /\A\s* \d+ \s*\z/x or $ind < 1 or $ind > days_in($month, $year)
431 3 3 130 $inm < 1 or $inm > 12
542 1 1 12 $mon < 1 or $mon > 12
554 1 1 12 $mon < 1 or $mon > 12
566 0 1 7 $day < 0 or $day > 6
578 0 1 7 $day < 0 or $day > 6