Branch Coverage

blib/lib/CPANPLUS/Shell/Default/Plugins/Prereqs.pm
Criterion Covered Total %
branch 10 22 45.4


line true false branch
41 0 4 unless (defined $install)
49 4 0 if (-d $dir) { }
68 0 4 unless $mod->get_installer_type
73 0 0 unless $mod = $cb->parse_module('module', $dir)
80 0 4 unless $mod->prepare(%$opts)
83 0 4 unless my $href = $mod->status->prereqs
86 4 0 if keys %$href
94 4 16 unless my $obj = $cb->module_tree($name)
98 16 0 $obj->is_uptodate('version', $version) ? :
103 16 0 unless $install
106 0 0 if $obj->is_uptodate('version', $version)