Branch Coverage

blib/lib/Test/Dependencies.pm
Criterion Covered Total %
branch 33 46 71.7


line true false branch
91 4 0 unless ($args{'forward_compatible'})
94 3 1 if (defined $args{'exclude'}) { }
96 0 10 unless $namespace =~ /^(?:(?:\w+::)|)+\w+$/
116 0 12 unless open $fh, $file
137 0 12 unless (defined $ret)
160 0 4 if $missing_dep
164 3 3 if (-r $file)
171 1 3 unless ($meta)
227 4 3 unless @_
241 3 0 unless ref $features
243 0 3 unless ref $phases
258 0 2 unless defined $_
261 0 2 defined $min_perl_ver && $min_perl_ver < $ver ? :
263 0 2 defined $min_perl_ver && $min_perl_ver < $ver ? :
271 10 16 if $mod eq 'perl' or $mod =~ /$ignores_re/ or $exclude_re and $mod =~ /$exclude_re/
277 0 16 if 'Module::CoreList'->deprecated_in($mod) or 'Module::CoreList'->removed_from($mod)
282 4 12 $req_version ? :
284 8 8 if defined $first_in
300 12 4 unless $mod =~ /$ignores_re/ or $exclude_re and $mod =~ /$exclude_re/
306 2 22 if $mod =~ /$ignores_re/ or $mod =~ /^v?\d+[.]\d+/ or $exclude_re and $mod =~ /$exclude_re/
312 0 22 if ($v = 'Module::CoreList'->removed_from($mod)) { }
0 22 elsif ($v = 'Module::CoreList'->deprecated_in($mod)) { }
16 6 elsif (defined $first_in) { }