lib/Geo/ShapeFile.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 29 | 41.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
83 | 2 | 0 | 0 | $$self{'has_shp'} and $$self{'has_shx'} |
152 | 0 | 27430 | 0 | $$self{'_change_cache'}{$type} and $$self{'_change_cache'}{$type}{$obj} |
544 | 4 | 4 | 51 | $x >= $x_min && $x <= $x_max && $y >= $y_min && $y <= $y_max |
734 | 0 | 0 | 0 | $check >= $_[0] && $check <= $_[1] |
line | l | !l | condition |
---|---|---|---|
24 | 28 | 15 | shift() || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
23 | 43 | 0 | 0 | shift() || croak('Must specify filename!') |
26 | 0 | 43 | 0 | ref $proto || $proto |
208 | 0 | 0 | 0 | $s1->x_min <=> $s2->x_min || $s1->y_min <=> $s2->y_min || $s1->x_max <=> $s2->x_max || $s1->y_max <=> $s2->y_max || $s1->shape_id <=> $s2->shape_id |
465 | 151 | 0 | 0 | defined $$self{'shx_' . $val} or defined $$self{'shp_' . $val} |
714 | 135 | 0 | 615 | $x1_min > $x2_max || $x1_max < $x2_min || $y1_min > $y2_max || $y1_max < $y2_min |