Subroutine Coverage

blib/lib/Math/Geometry/Planar.pm
Criterion Covered Total %
subroutine 100 102 98.0
pod 44 63 69.8


line count pod subroutine
18 1 n/a BEGIN
20 1 n/a BEGIN
21 1 n/a BEGIN
22 1 n/a BEGIN
23 1 n/a BEGIN
24 1 n/a BEGIN
340 16 No SegmentLength
359 468 Yes Determinant
376 27 Yes DotProduct
403 128 Yes CrossProduct
437 7 Yes TriangleArea
454 12 Yes Colinear
506 11 Yes SegmentIntersection
539 15 Yes LineIntersection
585 2 Yes RayIntersection
616 2 Yes SegmentLineIntersection
646 2 Yes RayLineIntersection
676 2 Yes SegmentRayIntersection
710 2 Yes Perpendicular
727 13 Yes PerpendicularFoot
760 3 Yes DistanceToSegment
797 1 Yes DistanceToLine
817 43 No new
828 144 Yes points
853 22 Yes polygons
874 32 Yes num_polygons
885 23 Yes add_polygons
923 67 Yes get_polygons
949 2 Yes cleanup
993 3 Yes isconvex
1031 5 No IsSimplePolygon
1050 4 Yes issimple
1073 2 Yes perimeter
1103 80 No PolygonArea
1127 2 Yes area
1160 1 Yes centroid
1198 10 No IsInsidePolygon
1253 8 Yes isinside
1280 1 No RotatePolygon
1305 1 Yes rotate
1328 1 No MovePolygon
1343 1 Yes move
1366 1 No MirrorXPolygon
1389 1 Yes mirrorx
1412 1 No MirrorYPolygon
1435 1 Yes mirrory
1457 1 No MirrorPolygon
1485 1 Yes mirror
1509 1 No ScalePolygon
1535 1 Yes scale
1558 1 Yes bbox
1598 2 Yes minrectangle
1688 2 Yes triangulate
1718 1 Yes convexhull
1784 1 Yes convexhull2
1879 0 Yes offset_polygon
1894 22 No ByXY
1908 5 Yes convert2gpc
1958 6 Yes Gpc2Polygons
2020 6 Yes GpcClip
2047 8 No create_gpc_vertex_array
2071 3 Yes CircleToPoly
2110 3 Yes ArcToPoly
2164 2 No CalcCenter
2203 7 No CalcAngle
2326 2 No TriangulatePolygon
2389 2 n/a _generate_random_ordering
2406 16 n/a _choose_segment
2411 92 n/a _newnode
2416 47 n/a _newtrap
2431 312 n/a _fp_equal
2440 2 n/a _max
2458 2 n/a _min
2475 154 n/a _greater_than
2488 134 n/a _equal_to
2496 88 n/a _greater_than_equal_to
2509 32 n/a _less_than
2535 2 n/a _init_query_structure
2620 32 n/a _find_new_roots
2633 2 n/a _construct_trapezoids
2664 14 n/a _add_segment
3178 28 n/a _inserted
3191 150 n/a _locate_endpoint
3247 28 No merge_trapezoids
3307 23 n/a _is_left_of
3353 14 n/a _Cross
3363 8 n/a _math_logstar_n
3372 20 n/a _math_N
3389 0 No is_point_inside_polygon
3410 18 n/a _Cross_Sine
3417 36 n/a _Length
3423 18 n/a _Dot
3431 18 No inside_polygon
3449 9 n/a _newmon
3454 14 n/a _new_chain_element
3458 18 n/a _get_angle
3478 7 n/a _get_vertex_positions
3530 7 n/a _make_new_monotone_poly
3586 2 n/a _monotonate_trapezoids
3630 62 n/a _traverse_polygon
3857 2 n/a _triangulate_monotone_polygons
3920 2 n/a _triangulate_single_polygon