Branch Coverage

lib/CPANPLUS/Selfupdate.pm
Criterion Covered Total %
branch 27 40 67.5


line true false branch
202 0 14 unless my $cb = shift()
278 0 2 unless check($tmpl, \%hash)
285 1 1 UNIVERSAL::isa($ref, 'ARRAY') ? :
292 1 3 $latest ? :
325 0 1 unless check($tmpl, \%hash)
328 0 1 unless my(%list) = $self->list_modules_to_update(%hash)
335 0 0 unless ($mod->install("force", $force))
341 0 1 if $flag
372 2 0 if &$ref($cb)
393 0 6 unless my $feature = shift()
397 0 6 unless (exists $self->_get_config->{'features'}{$feature})
406 3 3 UNIVERSAL::isa($ref, 'HASH') ? :
408 2 4 unless $href
410 2 2 if $as_hash
432 1 2 if $as_hash
453 1 3 if $as_hash
460 0 7 unless my $href = shift()
490 0 7 unless my $mod = shift()
491 0 7 unless defined $ver
509 7 4 if @_