Branch Coverage

blib/lib/Tree/Simple/Visitor/VariableDepthClone.pm
Criterion Covered Total %
branch 14 14 100.0


line true false branch
29 1 12 unless defined $clone_depth
41 4 12 unless &blessed($tree) and $tree->isa('Tree::Simple')
50 5 7 if ($self->includeTrunk)
55 1 4 if defined $filter
67 12 21 if $depth <= 0
73 9 46 if defined $filter
75 21 34 unless $child->isLeaf