Branch Coverage

lib/Astro/Montenbruck/MathUtils.pm
Criterion Covered Total %
branch 21 30 70.0


line true false branch
32 13 26 if $places == 1
35 0 26 if $i != 0 and $f < 0
52 5 11 $b ? :
63 0 5 $x < 0 ? :
70 3 5 $res < 0 ? :
77 2 9 $res < 0 ? :
88 0 4 $x > 180 ? :
93 0 4 $x > 3.1415926535897931 ? :
104 0 0 $m eq 'radians' ? :
3 0 $m eq 'degrees' ? :
107 0 3 unless $whole
108 3 0 $m eq 'degrees' ? :
109 1 2 $b < $a ? :
111 1 2 if $x > $half
126 9 10 if $phi < 0