Subroutine Coverage

blib/lib/Tree/Nary.pm
Criterion Covered Total %
subroutine 41 53 77.3
pod 36 36 100.0


line count pod subroutine
28 2 n/a BEGIN
29 2 n/a BEGIN
30 2 n/a BEGIN
31 2 n/a BEGIN
63 4768 Yes new
86 0 n/a _free
108 2702 n/a DESTROY
125 10 Yes unlink
156 2077 Yes is_root
164 78 Yes is_leaf
173 2 Yes is_ancestor
196 0 Yes get_root
212 3 Yes depth
226 2 Yes reverse_children
252 2067 Yes max_height
283 22 Yes n_children
305 4 Yes child_position
334 0 Yes child_index
357 0 Yes first_sibling
373 0 Yes next_sibling
385 0 Yes prev_sibling
397 0 Yes last_sibling
412 2082 n/a _count_func
443 4 Yes n_nodes
461 2 Yes first_child
473 2 Yes last_child
495 10 Yes nth_child
519 4 Yes insert
543 2073 Yes insert_before
595 1 Yes insert_data
603 0 Yes insert_data_before
611 2051 Yes append
619 6 Yes append_data
627 13 Yes prepend
639 1 Yes prepend_data
650 22 n/a _traverse_pre_order
682 0 n/a _depth_traverse_pre_order
720 11 n/a _traverse_post_order
753 0 n/a _depth_traverse_post_order
789 21 n/a _traverse_in_order
824 0 n/a _depth_traverse_in_order
866 20 n/a _traverse_children
906 0 n/a _depth_traverse_children
955 10 Yes traverse
1026 2 Yes find
1048 10 n/a __ANON__
1067 1 Yes find_child
1102 12 Yes children_foreach
1144 30 n/a _pchild_ref
1152 11 Yes tsort
1176 12 Yes normalize
1202 6 Yes is_identical
1236 1 Yes has_same_struct