Branch Coverage

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


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