blib/lib/Tree/Compat/Tree/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 22 | 24 | 91.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
47 | 80 | 1 | 3 | blessed $parent and $parent->isa('Tree::Simple') |
77 | 1 | 3 | defined $parent and $parent ne $self->ROOT | |
105 | 2 | 1 | 24 | blessed($_[0]) and $_[0]->isa('Tree::Simple') |
127 | 6 | 2 | 11 | blessed $_ and $_->isa('Tree::Simple') |
146 | 1 | 1 | 3 | blessed $child_to_remove and $child_to_remove->isa('Tree::Simple') |
250 | 3 | 2 | 0 | blessed $visitor and $visitor->isa('Tree::Simple::Visitor') || $visitor->can('visit') |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
250 | 0 | 1 | 1 | $visitor->isa('Tree::Simple::Visitor') || $visitor->can('visit') |
284 | 2 | 1 | 3 | ref $node eq 'SCALAR' or ref $node eq 'REF' |