Branch Coverage

blib/lib/Class/Ref.pm
Criterion Covered Total %
branch 24 24 100.0


line true false branch
127 8 7 unless &$test($ref)
163 1 13 if $Class::Ref::raw_access
173 46 2 defined $AUTOLOAD ? :
190 14 34 unless (exists $$self->{$name} or @_)
191 13 1 if $Class::Ref::allow_undef or $name eq 'DESTROY'
253 2 31 if $Class::Ref::raw_access
261 1 1 unless defined(my $i = shift())
280 19 1 defined $AUTOLOAD ? :
289 11 9 if $name eq 'DESTROY'
300 8 1 $pkg->can($name) ? :
304 2 7 unless defined $idx and $idx eq int $idx
309 1 6 unless exists $$self->[$idx] or @_