Branch Coverage

blib/lib/Test/Dependencies.pm
Criterion Covered Total %
branch 34 48 70.8


line true false branch
91 4 0 unless ($args{'forward_compatible'})
94 3 1 if (defined $args{'exclude'}) { }
96 0 14 unless $namespace =~ /^(?:(?:\w+::)|)+\w+$/
116 0 12 unless open $fh, $file
122 0 12 if $code =~ /^(__DATA__|__END__)$.*/m
139 0 12 unless (defined $ret)
158 0 4 if $missing_dep
162 3 3 if (-r $file)
169 1 3 unless ($meta)
225 4 3 unless @_
239 3 0 unless ref $features
241 0 3 unless ref $phases
256 0 2 unless defined $_
259 0 2 defined $min_perl_ver && $min_perl_ver < $ver ? :
261 0 2 defined $min_perl_ver && $min_perl_ver < $ver ? :
269 18 8 if $mod eq "perl" or $mod =~ /$ignores_re/ or $exclude_re and $mod =~ /$exclude_re/
275 0 8 if "Module::CoreList"->deprecated_in($mod) or "Module::CoreList"->removed_from($mod)
280 4 4 $req_version ? :
282 4 4 if defined $first_in
298 8 8 unless $mod =~ /$ignores_re/ or $exclude_re and $mod =~ /$exclude_re/
304 2 18 if $mod =~ /$ignores_re/ or $mod =~ /^v?\d+[.]\d+/ or $exclude_re and $mod =~ /$exclude_re/
310 0 18 if ($v = 'Module::CoreList'->removed_from($mod)) { }
0 18 elsif ($v = 'Module::CoreList'->deprecated_in($mod)) { }
14 4 elsif (defined $first_in) { }