Branch Coverage

blib/lib/Module/CPANfile.pm
Criterion Covered Total %
branch 27 34 79.4


line true false branch
12 0 7 if (${^TAINT}) { }
31 0 15 ref $proto ? :
39 0 1 unless open my $out, '>', $path
47 1 14 unless open my $fh, '<', $file
54 0 13 unless $env->parse($code)
71 3 6 unless $self->{'_mirrors'}
98 1 1 unless $features
120 0 38 unless my $prereq = $self->prereq_for_module($module)
129 0 1 $file =~ /\.yml$/ ? :
189 10 40 $phase eq 'runtime' ? :
193 40 10 unless $phase eq 'runtime'
198 11 15 $ver eq '0' ? :
203 4 22 if (%$options)
206 5 0 $key =~ /^[a-zA-Z0-9_]+$/ ? :
218 35 15 unless $requirements
219 40 10 unless $phase eq 'runtime'
221 15 35 if $requirements or $include_empty