blib/lib/Tree/Simple/Visitor/FindByNodeValue.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 15 | 86.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
36 | 3 | 1 | 2 | &blessed($visitor) and $visitor->isa('Tree::Simple::Visitor') |
43 | 3 | 1 | 9 | &blessed($tree) and $tree->isa('Tree::Simple') |
64 | 35 | 3 | 1 | $tree->getNodeValue eq $node_value and $self->{'_filter_function'}->($tree) |
97 | 1 | 1 | 5 | &blessed($@) and $@->isa('Tree::Simple') |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
14 | 0 | 7 | 0 | ref $_class || $_class |