Branch Coverage

blib/lib/Cache/Weak.pm
Criterion Covered Total %
branch 11 26 42.3


line true false branch
28 0 2 if (scalar @_ > 1) { }
0 2 elsif (ref $_[0]) { }
29 0 0 if (@_ % 2)
34 0 0 unless %{$_[0];}
0 0 unless (eval { do { local $SIG{'__DIE__'}; 1 unless %{$_[0];} } })
53 1 52 if (@_)
61 0 8 if (@_)
64 0 8 defined $$self{'auto_purge_interval'} ? :
71 0 8 if (@_)
74 0 8 defined $$self{'auto_purge'} ? :
104 0 8 unless ref $object
107 8 0 if ($self->auto_purge)
108 0 8 unless $self->_inc_count % $self->auto_purge_interval