| lib/Astro/Montenbruck/MathUtils.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 24 | 30 | 80.0 |
| line | true | false | branch |
|---|---|---|---|
| 32 | 16 | 29 | if $places == 1 |
| 35 | 0 | 29 | if $i != 0 and $f < 0 |
| 52 | 5 | 103 | $b ? : |
| 63 | 0 | 5 | $x < 0 ? : |
| 70 | 814 | 49 | $res < 0 ? : |
| 77 | 222 | 917 | $res < 0 ? : |
| 88 | 0 | 4 | $x > 180 ? : |
| 93 | 0 | 4 | $x > 3.1415926535897931 ? : |
| 104 | 176 | 0 | $m eq 'radians' ? : |
| 3 | 176 | $m eq 'degrees' ? : | |
| 107 | 0 | 179 | unless $whole |
| 108 | 3 | 176 | $m eq 'degrees' ? : |
| 109 | 50 | 129 | $b < $a ? : |
| 111 | 49 | 130 | if $x > $half |
| 126 | 27 | 19 | if $phi < 0 |