Condition Coverage

blib/lib/Astro/Time.pm
Criterion Covered Total %
condition 21 63 33.3


and 3 conditions

line !l l&&!r l&&r condition
82 9 0 0 $dayno > 365 and not &leap($year)
169 27 40 0 $mode ne 'H' and $mode ne 'D'
334 3 1 0 $mode ne 'H' and $mode ne 'D'
351 1 0 0 defined $1 and $1 eq '-'
365 1 0 0 defined $1 and $1 eq '-'
379 1 0 0 defined $1 and $1 eq '-'
393 0 0 1 defined $1 and $1 eq '-'
401 0 0 0 defined $1 and $1 eq '-'
507 0 0 0 $mode ne 'H' and $mode ne 'D'
840 1 0 0 $dayno == 366 and not leap $year

or 3 conditions

line l !l&&r !l&&!r condition
82 0 0 9 $dayno < 1 or $dayno > 366
0 0 9 $dayno < 1 or $dayno > 366 or $dayno > 365 and not &leap($year)
94 0 0 11 $month > 12 or $month < 1
113 0 0 10 $day < 1 or $day > $days[$month]
125 0 0 9 $ut < 0 or $ut >= 1
474 1 0 0 $mode eq 'H' or $mode eq 'h'
0 0 0 $mode eq 'D' or $mode eq 'd'
762 1 1 21 !($year % 4) && $year % 100 || !($year % 400)
840 0 0 1 $dayno == 366 and not leap $year or $dayno == 367
1096 0 0 6 $dUT1 > 0.5 or $dUT1 < -0.5
1386 0 0 0 $month eq uc $MonthStr[$i] or $month eq uc $MonthShortStr[$i]