| blib/lib/Geo/JSON/Utils.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 10 | 90.0 |
| line | true | false | branch |
|---|---|---|---|
| 21 | 3 | 32 | defined $$pos1[2] ? : |
| 26 | 2 | 70 | if defined $$pos1[$dim] and not defined $$pos2[$dim] or not defined $$pos1[$dim] and defined $$pos2[$dim] or $$pos1[$dim] != $$pos2[$dim] |
| 42 | 0 | 14 | unless ref $positions and ref $positions eq 'ARRAY' and @{$positions;} > 1 |
| 52 | 13 | 154 | if $$position[$d] < $min[$d] |
| 53 | 48 | 119 | if $$position[$d] > $max[$d] |