Branch Coverage

blib/lib/Template/Pure/DataContext.pm
Criterion Covered Total %
branch 13 36 36.1


line true false branch
27 7 207 $at{'absolute'} ? :
30 172 131 if (&blessed($current)) { }
131 0 elsif (ref $current eq 'HASH') { }
31 171 1 if ($current->can($key)) { }
1 0 elsif ($at->{'optional'}) { }
36 0 0 if ($current->isa('Template::Pure::DataProxy')) { }
37 0 0 unless eval 'use Moose (); 1'
39 0 0 if (ref $current->{'data'} eq 'HASH') { }
47 0 0 ref $_ ? :
51 0 0 if @all
54 0 0 if @all
59 0 0 unless eval 'use Moose (); 1'
62 0 0 ref $_ ? :
64 0 0 ref $_ ? :
0 0 if @all
69 129 2 if (exists $current->{$key}) { }
2 0 elsif ($at->{'optional'}) { }
80 1 302 if ($at->{'maybe'})