Branch Coverage

lib/Astro/Montenbruck/MathUtils.pm
Criterion Covered Total %
branch 30 38 78.9


line true false branch
32 16 29 if $places == 1
35 0 29 if $i != 0 and $f < 0
52 5 105 $b ? :
63 0 74 $x < 0 ? :
70 884 36 $res < 0 ? :
77 234 1151 $res < 0 ? :
88 1 26 $x > 180 ? :
93 0 4 $x > 3.1415926535897931 ? :
104 0 0 $m eq 'radians' ? :
18 0 $m eq 'degrees' ? :
107 0 18 unless $whole
108 18 0 $m eq 'degrees' ? :
109 11 7 $b < $a ? :
111 9 9 if $x > $half
126 250 471 if $phi < 0
143 305 7 if ($dis >= 0)
148 21 284 if abs $zeroes[0] <= 1
149 41 264 if abs $zeroes[1] <= 1
150 278 27 if $zeroes[0] < -1