Branch Coverage

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


line true false branch
127 8 7 unless &$test($ref)
163 1 13 if $Class::Ref::raw_access
173 34 2 defined $AUTOLOAD ? :
190 2 34 unless (exists $$$self{$name} or @_)
191 1 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 8 1 defined $AUTOLOAD ? :
289 0 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 @_