Subroutine Coverage

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


line count pod subroutine
7 2 n/a BEGIN
8 2 n/a BEGIN
9 2 n/a BEGIN
10 2 n/a BEGIN
21 2 n/a BEGIN
90 2 n/a BEGIN
91 2 n/a BEGIN
169 2 n/a import
170 2 n/a BEGIN
195 0 Yes pi
212 0 Yes distdivide
238 0 Yes subdivide
260 0 Yes shorten_line
284 0 Yes dist
303 0 Yes dist2d
325 0 Yes line_vec
344 0 Yes slope
377 0 Yes segs_as_transform
399 0 Yes chevron_to_ray
418 0 Yes signdist
433 1 Yes offset
454 0 Yes intersection_data
491 0 Yes line_intersection
528 0 Yes seg_line_intersection
551 0 Yes seg_seg_intersection
582 0 Yes line_ray_intersection
613 0 Yes seg_ray_intersection
648 0 Yes ray_pgon_int_index
673 0 Yes ray_pgon_closest_index
702 0 Yes perp_through_point
721 0 Yes foot_on_line
734 0 Yes foot_on_segment
745 0 Yes Determinant
759 0 Yes pgon_as_segs
777 0 Yes pgon_area
797 0 Yes pgon_centroid
823 0 Yes pgon_lengths
845 0 Yes pgon_angles
867 0 Yes pgon_deltas
883 0 Yes ang_deltas
903 0 Yes pgon_direction
919 0 Yes angs_direction
934 0 Yes pgon_bisectors
948 0 Yes sort_pgons_lr
968 0 Yes pgon_start_index
988 0 Yes pgon_start_indexb
1010 0 Yes pgon_start_index_z
1046 0 Yes re_order_pgon
1064 0 Yes order_pgon
1087 0 Yes shift_line
1122 0 Yes line_to_rectangle
1163 0 Yes isleft
1177 0 Yes howleft
1195 0 Yes iswithin
1228 0 Yes iswithinc
1253 0 Yes unitleft
1273 0 Yes unitright
1288 0 Yes unit_angle
1304 0 Yes angle_reduce
1324 0 Yes angle_parse
1343 0 Yes angle_quadrant
1362 0 Yes collinear
1386 0 Yes triangle_angles
1412 0 Yes stringify
1433 0 Yes stringify_line
1449 0 Yes pol_to_cart
1464 0 Yes cart_to_pol
1477 0 Yes print_line
1494 0 Yes point_avg
1520 0 Yes arc_2pt