lib/Geo/ShapeFile/Shape.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
subroutine | 45 | 64 | 70.3 |
pod | 24 | 29 | 82.7 |
line | count | pod | subroutine |
---|---|---|---|
2 | 2 | n/a | BEGIN |
3 | 2 | n/a | BEGIN |
4 | 2 | n/a | BEGIN |
5 | 2 | n/a | BEGIN |
6 | 2 | n/a | BEGIN |
8 | 2 | n/a | BEGIN |
9 | 2 | n/a | BEGIN |
10 | 2 | n/a | BEGIN |
12 | 2 | n/a | BEGIN |
21 | 7416 | Yes | new |
55 | 7416 | No | parse_shp |
80 | 0 | n/a | _parse_shp_Null |
85 | 0 | No | add_point |
103 | 0 | No | add_part |
110 | 0 | No | calculate_bounds |
120 | 2553 | n/a | _parse_shp_Point |
137 | 2253 | n/a | _parse_shp_PolyLine |
150 | 2607 | n/a | _parse_shp_Polygon |
163 | 3 | n/a | _parse_shp_MultiPoint |
175 | 2445 | n/a | _parse_shp_PointZ |
188 | 366 | n/a | _parse_shp_PolyLineZ |
202 | 0 | n/a | _parse_shp_PolygonZ |
216 | 0 | n/a | _parse_shp_MultiPointZ |
230 | 0 | n/a | _parse_shp_PointM |
241 | 0 | n/a | _parse_shp_PolyLineM |
252 | 0 | n/a | _parse_shp_PolygonM |
263 | 0 | n/a | _parse_shp_MultiPointM |
274 | 0 | n/a | _parse_shp_MultiPatch |
294 | 4863 | n/a | _extract_bounds |
300 | 19695 | n/a | _extract_ints |
310 | 4860 | n/a | _extract_count_ints |
325 | 10593 | n/a | _extract_doubles |
339 | 732 | n/a | _extract_count_doubles |
352 | 4863 | n/a | _extract_points |
371 | 19695 | n/a | _extract_and_unpack |
385 | 4644 | Yes | num_parts |
387 | 4751 | No | parts |
394 | 4626 | Yes | num_points |
396 | 4711 | Yes | points |
404 | 85 | Yes | get_part |
429 | 4626 | Yes | shape_type |
434 | 604 | Yes | shape_id |
439 | 366 | n/a | _extract_z_data |
450 | 366 | n/a | _extract_m_data |
461 | 4860 | n/a | _extract_parts_and_points |
470 | 5164 | Yes | x_min |
471 | 5164 | Yes | x_max |
472 | 5164 | Yes | y_min |
473 | 5164 | Yes | y_max |
474 | 0 | Yes | z_min |
475 | 0 | Yes | z_max |
476 | 0 | Yes | m_min |
477 | 0 | Yes | m_max |
480 | 5 | Yes | bounds |
493 | 0 | Yes | has_point |
506 | 59 | Yes | contains_point |
554 | 37 | n/a | _contains_point_use_index |
609 | 92 | Yes | get_spatial_index |
621 | 7 | Yes | build_spatial_index |
675 | 7 | n/a | _get_part_bounds |
705 | 12 | Yes | get_segments |
719 | 0 | Yes | vertex_centroid |
745 | 0 | Yes | area_centroid |
787 | 0 | Yes | dump |