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} |
540 | 4 | 4 | 51 | $x >= $x_min && $x <= $x_max && $y >= $y_min && $y <= $y_max |
730 | 0 | 0 | 0 | $check >= $_[0] && $check <= $_[1] |
line | l | !l | condition |
---|---|---|---|
24 | 28 | 14 | shift() || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
23 | 42 | 0 | 0 | shift() || croak('Must specify filename!') |
26 | 0 | 42 | 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 |
461 | 146 | 0 | 0 | defined $$self{'shx_' . $val} or defined $$self{'shp_' . $val} |
710 | 135 | 0 | 615 | $x1_min > $x2_max || $x1_max < $x2_min || $y1_min > $y2_max || $y1_max < $y2_min |