Subroutine Coverage

blib/lib/CAD/Calc.pm
Criterion Covered Total %
subroutine 9 70 12.8
pod 61 61 100.0


line count pod subroutine
4 2 n/a BEGIN
5 2 n/a BEGIN
6 2 n/a BEGIN
7 2 n/a BEGIN
18 2 n/a BEGIN
87 2 n/a BEGIN
88 2 n/a BEGIN
167 2 n/a import
168 2 n/a BEGIN
193 0 Yes pi
210 0 Yes distdivide
236 0 Yes subdivide
258 0 Yes shorten_line
282 0 Yes dist
301 0 Yes dist2d
323 0 Yes line_vec
342 0 Yes slope
375 0 Yes segs_as_transform
397 0 Yes chevron_to_ray
416 0 Yes signdist
431 0 Yes offset
452 0 Yes intersection_data
489 0 Yes line_intersection
526 0 Yes seg_line_intersection
549 0 Yes seg_seg_intersection
580 0 Yes line_ray_intersection
611 0 Yes seg_ray_intersection
646 0 Yes ray_pgon_int_index
671 0 Yes ray_pgon_closest_index
700 0 Yes perp_through_point
719 0 Yes foot_on_line
732 0 Yes foot_on_segment
743 0 Yes Determinant
757 0 Yes pgon_as_segs
772 0 Yes pgon_area
792 0 Yes pgon_centroid
818 0 Yes pgon_lengths
840 0 Yes pgon_angles
862 0 Yes pgon_deltas
878 0 Yes ang_deltas
898 0 Yes pgon_direction
914 0 Yes angs_direction
929 0 Yes pgon_bisectors
943 0 Yes sort_pgons_lr
963 0 Yes pgon_start_index
983 0 Yes pgon_start_indexb
1005 0 Yes pgon_start_index_z
1041 0 Yes re_order_pgon
1059 0 Yes order_pgon
1082 0 Yes shift_line
1117 0 Yes line_to_rectangle
1158 0 Yes isleft
1172 0 Yes howleft
1190 0 Yes iswithin
1223 0 Yes iswithinc
1248 0 Yes unitleft
1268 0 Yes unitright
1283 0 Yes unit_angle
1299 0 Yes angle_reduce
1319 0 Yes angle_parse
1338 0 Yes angle_quadrant
1357 0 Yes collinear
1381 0 Yes triangle_angles
1407 0 Yes stringify
1428 0 Yes stringify_line
1444 0 Yes pol_to_cart
1459 0 Yes cart_to_pol
1472 0 Yes print_line
1489 0 Yes point_avg
1515 0 Yes arc_2pt