Branch Coverage

blib/lib/Test/CPANpm/Fake.pm
Criterion Covered Total %
branch 10 46 21.7


line true false branch
47 0 0 if (my $prereq_pm = $self->prereq_pm) { }
63 0 0 if ($args[0] =~ /manual config/)
79 0 0 if $ENV{'DEBUG_TEST_CPAN'}
86 1 0 if ($CPAN::Config) { }
95 0 1 if (my $config = cpan_config()) { }
98 0 0 if $perl5opt
132 0 1 if (-e "$dir/Build") { }
1 0 elsif (-e "$dir/Makefile") { }
144 0 0 $good ? :
149 0 0 unless open my $fh, ">$pathname"
153 0 0 if ($ENV{'DEBUG_TEST_CPAN'})
177 0 0 if ($ENV{'PERL5OPT'}) { }
183 0 0 if ($ENV{'DEBUG_TEST_CPAN'})
198 0 0 if $perl5opt
209 0 2 if fileno STDIN
210 2 0 if fileno STDOUT
212 2 0 if ($ENV{'DEBUG_TEST_CPAN'}) { }
228 0 0 if (defined $in)
232 0 0 if (defined $out)
239 0 1 unless my $dist_dir = shift()
255 1 0 if ($test_cpan)
259 1 0 if ($ENV{'DEBUG_TEST_CPAN'})
278 0 0 unless $ENV{'DEBUG_TEST_CPAN'} and $ENV{'DEBUG_TEST_CPAN'} != 2