blib/lib/Geo/GoogleMaps/FitBoundsZoomer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 26 | 76.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
72 | 1 | 4 | 0 | $$self{'points'} and $$self{'bounds'} |
110 | 1 | 0 | 29 | -90 <= $$blp{'lat'} and $$blp{'lat'} <= 90 |
111 | 0 | 1 | 28 | -90 <= $$trp{'lat'} and $$trp{'lat'} <= 90 |
112 | 1 | 0 | 27 | -180 <= $$blp{'long'} and $$blp{'long'} <= 180 |
113 | 0 | 1 | 26 | -180 <= $$trp{'long'} and $$trp{'long'} <= 180 |
139 | 169 | 1 | 18 | $$delta{'x'} <= $width and $$delta{'y'} <= $height |
line | l | !l | condition |
---|---|---|---|
22 | 4 | 29 | delete $params{'zoom_limit'} // 20 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
36 | 6 | 24 | 1 | @_ or not defined $$self{'max_bounding_zoom'} |
43 | 11 | 13 | 0 | delete $params{$_} // $$self{$_} |