Branch Coverage

blib/lib/Tree/Simple/View.pm
Criterion Covered Total %
branch 16 18 88.8


line true false branch
15 1 57 unless $class ne 'Tree::Simple::View'
29 4 53 unless &blessed($tree) and $tree->isa('Tree::Simple')
32 38 15 if %config
42 15 0 $boolean ? :
15 0 if defined $boolean
48 1 3 unless defined $code and ref $code eq 'CODE'
55 18 9 if keys %{$$self{'config'};}
65 21 7 if keys %{$$self{'config'};}
79 106 11 unless defined $self->{'path_comparison_func'}