Branch Coverage

blib/lib/Astro/MoonPhase.pm
Criterion Covered Total %
branch 22 38 57.8


line true false branch
49 0 0 $_[0] > 0 ? :
0 0 $_[0] < 0 ? :
57 0 0 $_[0] < -1 || $_[0] > 1 ? :
59 0 0 if ($_[0] == 0) { }
0 0 elsif ($_[0] > 0) { }
70 0 174 $neg ? :
10 174 $exact ? :
113 0 23 if ($z < 2299161) { }
127 18 5 $e < 14 ? :
128 18 5 $$mm > 2 ? :
199 269 251 if ($phase < 0.01 or abs $phase - 0.5 < 0.01) { }
251 0 elsif (abs $phase - 0.25 < 0.01 or abs $phase - 0.75 < 0.01) { }
233 128 123 if ($phase < 0.5) { }
243 0 520 unless ($apcor)
269 14 31 if ($nt1 <= $sdate and $nt2 > $sdate)
307 9 441 if $d >= $edate
309 371 70 if ($d >= $sdate)
310 8 363 unless @phases
465 0 0 wantarray ? :