Branch Coverage

blib/lib/Cache/Memory.pm
Criterion Covered Total %
branch 33 48 68.7


line true false branch
93 5 1 $#_ ? :
95 6 0 unless ref $self
125 7 1 unless $minimum->val <= $time
134 0 1 unless $minimum == delete $$store_entry{'exp_elem'}
138 0 1 unless my $age_elem = delete $$store_entry{'age_elem'}
143 0 1 unless my $use_elem = delete $$store_entry{'use_elem'}
151 0 1 unless $$store_entry{'rc'}
166 0 2 if $exp_elem
172 2 0 unless $$store_entry{'rc'}
189 106 0 if defined $$nsstore{$key}{'data'}
232 0 4 unless my $minimum = $Age_Heaps{$$self{'namespace'}}->minimum
234 0 4 unless $minimum == $Store{$minimum->namespace}{$minimum->key}{'age_elem'}
241 0 4 unless my $minimum = $Use_Heaps{$$self{'namespace'}}->minimum
243 0 4 unless $minimum == $Store{$minimum->namespace}{$minimum->key}{'use_elem'}
257 1 240 unless my $store_entry = $Store{$ns}{$key}
260 10 230 unless defined $$store_entry{'data'}
265 2 228 if $exp_elem
267 0 230 unless my $age_elem = delete $$store_entry{'age_elem'}
271 0 230 unless my $use_elem = delete $$store_entry{'use_elem'}
278 229 1 unless (exists $$store_entry{'handlelock'})
286 204 26 unless $$store_entry{'rc'}
335 0 22 unless my $use_elem = $Store{$ns}{$key}{'use_elem'}
349 246 5 if $size > 0
357 13 225 unless defined $Store{$ns}{$key}{'data'}