Branch Coverage

lib/CPANPLUS/Internals/Source/Memory.pm
Criterion Covered Total %
branch 29 50 58.0


line true false branch
51 0 32 unless check($tmpl, \%hash)
61 1 31 keys %$stored ? :
86 0 33 unless check($tmpl, \%hash)
93 32 1 unless $uptodate and $from_storable
118 0 124 unless check($tmpl, \%hash)
123 0 124 unless $self->author_tree->{$href->{'cpanid'}} = $obj
142 0 310 unless check($tmpl, \%hash)
149 0 310 unless $self->module_tree->{$href->{'module'}} = $obj
182 0 84 unless my $args = check($tmpl, \%hash)
190 400 422 if allow($obj->$type, $list)
243 0 32 unless my $args = check($tmpl, \%hash)
246 32 0 if $conf->get_conf("storable")
249 0 32 unless $storable
254 1 31 if ($storable and -e $stored and -s _ and $args->{'uptodate'}) { }
303 0 32 unless my $args = check($tmpl, \%hash)
309 32 0 if $conf->get_conf("storable")
311 0 32 unless $storable
315 0 64 unless ref $self->$key
319 0 32 unless keys %$to_write
324 0 32 if (-e $stored and not -w $stored)
333 0 32 unless (Storable::nstore($to_write, $stored))
338 0 32 $flag ? :
344 0 64 unless my $path = shift()
347 64 0 $conf->get_conf('storable') ? :
351 0 64 unless $storable