Subroutine Coverage

blib/lib/Treex/PML/Node.pm
Criterion Covered Total %
subroutine 23 59 38.9
pod 40 45 88.8


line count pod subroutine
3 6 n/a BEGIN
4 6 n/a BEGIN
5 6 n/a BEGIN
7 6 n/a BEGIN
9 6 n/a BEGIN
11 6 n/a BEGIN
13 6 n/a BEGIN
15 6 n/a BEGIN
17 6 n/a BEGIN
18 6 n/a BEGIN
119 11235 Yes new
147 568 Yes destroy
161 0 Yes destroy_leaf
173 6 n/a BEGIN
175 11235 n/a DESTROY
194 0 Yes parent
210 0 Yes type
227 0 Yes root
241 0 Yes level
259 0 Yes lbrother
271 4150 Yes rbrother
283 672 Yes firstson
287 8 No set_parent
297 8 No set_lbrother
307 0 No set_rbrother
312 0 No set_firstson
327 11235 Yes set_type
340 0 Yes set_type_by_name
385 0 Yes validate
423 0 Yes validate_subtree
447 0 Yes attribute_paths
468 8484 Yes following
492 0 Yes following_visible
513 0 Yes following_right_or_up
536 0 Yes previous
567 0 Yes previous_visible
589 0 Yes rightmost_descendant
614 0 Yes leftmost_descendant
630 0 Yes getAttribute
647 703 Yes attr
665 0 Yes all
669 0 No flat_attr
693 0 Yes set_attr
706 6 n/a BEGIN
718 0 Yes children
737 0 Yes visible_children
760 568 Yes descendants
777 0 Yes visible_descendants
796 0 Yes ancestors
815 0 Yes cut
844 0 Yes paste_on
887 0 Yes paste_after
920 0 Yes paste_before
958 0 Yes test_child_type
1002 0 Yes get_order
1017 0 Yes get_ordering_member_name
1040 0 Yes get_id
1055 0 Yes get_id_member_name
1069 0 n/a _weakenLinks