Branch Coverage

blib/lib/Data/MethodProxy.pm
Criterion Covered Total %
branch 29 32 90.6


line true false branch
122 2 16 unless ref $data
124 5 11 unless $FOUND_DATA
127 1 15 if ($Data::MethodProxy::FOUND_DATA->{$refaddr})
133 6 9 if (ref $data eq 'HASH') { }
9 0 elsif (ref $data eq 'ARRAY') { }
140 7 2 if ($self->is_valid($data))
166 4 11 unless $self->is_valid($proxy)
167 4 7 unless $self->is_callable($proxy)
186 5 43 if ref $proxy ne 'ARRAY'
189 3 40 unless defined $marker
190 3 37 unless $marker =~ /^[&\$]proxy$/
191 2 35 unless defined $package
192 1 34 unless defined $method
209 0 14 unless $self->is_valid($proxy)
212 0 14 unless &is_module_name($package)
213 6 8 unless $package->can($method)