Branch Coverage

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


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