Branch Coverage

lib/CPANPLUS/Internals/Search.pm
Criterion Covered Total %
branch 14 24 58.3


line true false branch
160 0 81 unless my $args = do { local $Params::Check::SANITY_CHECK_TEMPLATE = 0; check($tmpl, \%hash) }
169 0 81 if (@$mods) { }
178 0 0 if allow($mod->$type, $list)
246 0 3 unless my $args = check($tmpl, \%hash)
248 0 3 if (@$authors) { }
257 0 0 if allow($auth->$type, $list)
306 2 24 if $dir eq "."
310 0 24 unless -d $dir
329 5529 2933 unless /\.pm$/i
339 156 2777 if $seen{$mod}++
345 2773 4 unless $modobj
353 0 24 if $@