Branch Coverage

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


line true false branch
19 4 7 if (defined $depth)
20 2 2 unless $depth =~ /\d+/ and $depth == 1 || $depth == 16
27 4 5 unless defined $func
33 5 4 if (defined $func)
51 5 1 $boolean ? :
6 5 if defined $boolean
69 4 5 unless defined $filter_function and ref $filter_function eq 'CODE'
86 2 1 wantarray ? :
92 4 6 unless &blessed($tree) and $tree->isa('Tree::Simple')
97 4 2 if ($self->{'_filter_function'}) { }
106 4 2 if defined $self->{'_include_trunk'} and $self->{'_include_trunk'}
110 4 2 if $self->{'depth'} == 1
113 1 5 if ($self->{'depth'} == 16)