Branch Coverage

blib/lib/Tree/Simple/Visitor/FindByPath.pm
Criterion Covered Total %
branch 18 18 100.0


line true false branch
30 1 7 unless @path
36 4 7 unless &blessed($tree) and $tree->isa('Tree::Simple')
44 3 4 if ($self->{'_filter_function'}) { }
69 2 5 if ($self->includeTrunk)
72 1 1 unless &$func($current_tree, $path[0])
80 2 14 unless (@path)
94 10 18 if (&$func($child, $current_path))
110 3 1 if @path || $self->{'success'} == 0 and $current_tree != $tree
123 5 2 unless $self->{'success'}