Branch Coverage

blib/lib/Perl/PrereqScanner/Lite.pm
Criterion Covered Total %
branch 3 90 3.3


line true false branch
16 0 1 if ($opt->{'no_prereq'}) { }
24 1 0 if (my $scanner_names = $opt->{'extra_scanners'})
25 0 1 if (ref $scanner_names eq 'ARRAY') { }
28 0 0 if (substr($scanner_name, 0, 1) eq '+') { }
54 0 0 if (substr($scanner_name, 0, 1) eq '+') { }
75 0 0 unless open my $fh, '<', $file
91 0 0 if (defined(my $path = Module::Path::module_path($module)))
124 0 0 if ($token_type == 71 or $token_type == 70 and $token->{'data'} eq 'no')
128 0 0 if ($is_in_reqdecl)
131 0 0 if ($token_type == 95 or $token_type == 122)
140 0 0 if ($token_type == 127 or $token_type == 126)
146 0 0 if ($token_type == 106)
147 0 0 if ($module_name)
160 0 0 if ($token_type == 93)
164 0 0 if ($is_in_usedecl)
169 0 0 if ($token_type == 94 or $token_type == 96)
178 0 0 if ($module_name eq 'lib' or $module_name eq 'constant') { }
0 0 elsif ($module_name =~ /(?:base|parent)/) { }
0 0 elsif ($module_name =~ /aliased/) { }
194 0 0 if ($token_type == 106 or $token_type == 109 or $token_type == 111)
195 0 0 if ($module_name and not $does_use_lib_or_constant)
215 0 0 if ($token_type == 127 or $token_type == 126)
222 0 0 if ($is_inherited)
226 0 0 if ($token_type == 147) { }
0 0 elsif ($is_in_reglist) { }
0 0 elsif ($token_type == 107) { }
0 0 elsif ($token_type == 108) { }
0 0 elsif ($is_in_list) { }
0 0 elsif ($token_type == 172 or $token_type == 173) { }
230 0 0 if ($token_type == 187)
248 0 0 if ($token_type == 172 or $token_type == 173)
264 0 0 if ($token_type == 171 or $token_type == 170 or $token_type == 175)
265 0 0 if (not $module_name) { }
0 0 elsif ($is_prev_module_name) { }
266 0 0 unless ($does_garbage_exist)
289 0 0 if ($is_aliased)
290 0 0 if ($token_type == 172 or $token_type == 173)
297 0 0 if ($is_prev_module_name || $is_prev_version and $token_type == 107)
302 0 0 if ($token_type == 107) { }
0 0 elsif ($token_type == 108) { }
306 0 0 if --$left_paren_num <= 0
312 0 0 if ($token_type != 210)
321 0 0 if ($extra_scanner->scan($self, $token, $token_type))
326 0 0 if ($token_type == 209 and $token->{'data'} =~ /\A##\s*no prereq\Z/)
338 0 0 if ($module_name)