Branch Coverage

blib/lib/Template/Pure/DataProxy.pm
Criterion Covered Total %
branch 18 22 81.8


line true false branch
20 53 192 if (&Scalar::Util::blessed($self->{'data'})) { }
21 45 8 if ($self->{'data'}->can($target)) { }
8 0 elsif (exists $self->{'extra'}{$target}) { }
29 154 38 if (exists $self->{'data'}{$target}) { }
24 14 elsif (exists $self->{'extra'}{$target}) { }
40 0 186 if our $AUTOLOAD =~ /DESTROY/
44 48 138 if (&Scalar::Util::blessed($self->{'data'})) { }
46 44 4 if ($self->{'data'}->can($method)) { }
4 0 elsif (exists $self->{'extra'}{$method}) { }
56 119 19 if (exists $self->{'data'}{$method}) { }
19 0 elsif (exists $self->{'extra'}{$method}) { }