Branch Coverage

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


line true false branch
39 0 6 unless (defined $install)
47 6 0 if (-d $dir) { }
66 0 6 unless $mod->get_installer_type
71 0 0 unless $mod = $cb->parse_module('module', $dir)
78 0 6 unless $mod->prepare(%$opts)
81 0 6 unless my $href = $mod->status->prereqs
84 6 0 if keys %$href
92 6 20 unless my $obj = $cb->module_tree($name)
96 20 0 $obj->is_uptodate('version', $version) ? :
101 20 0 unless $install
104 0 0 if $obj->is_uptodate('version', $version)