Branch Coverage

blib/lib/Dependencies/Searcher.pm
Criterion Covered Total %
branch 24 38 63.1


line true false branch
144 1 1 if (defined $moduls[0]) { }
145 1 0 if ($moduls[0] =~ /^use/ or $moduls[0] =~ /^require/) { }
167 3 0 if (-d $lib_dir) { }
175 3 0 if (-f $make_file)
179 0 3 if (-d $script_dir)
201 1 2 unless $module =~ /say/ or $module =~ /^use\s[0-9]\.[0-9]+?/ or $module =~ /^use\sautodie?/ or $module =~ /^use\swarnings/ or $module =~ /^1$/ or $module =~ /^use\sDependencies::Searcher/ or $module =~ m[/\^use\\s] or $module =~ /^use\s\\s/
353 0 0 if $seen{$element}++
367 0 6 if (exists $Module::CoreList::version{$]}{"$nc_module"} or $core_list_answer == 1) { }
394 0 0 if (&Version::Compare::version_compare($mversion_version, $corelist_version) == 1)
437 0 1 unless &Dependencies::Searcher::open(my $cpanfile_fh, '>', 'cpanfile')
444 0 6 if ($version) { }
450 0 0 if ($version =~ /[0-9]\.[0-9]+/)
485 3 3 if ($is_module)
502 2583 159 if ($is_module)
505 6 2577 if ($line =~ /use $namespace/)
508 42 2541 if $line =~ /$namespace/
511 40 2660 if ($line =~ /^$pattern\s/)
540 2 38 if ($dirt =~ /#.+/)
562 6 0 unless ($color)