Branch Coverage

blib/lib/CPAN/cpanminus/reporter/RetainReports.pm
Criterion Covered Total %
branch 17 38 44.7


line true false branch
172 0 18 unless (-d $dir)
173 0 0 unless make_path($dir, {'mode', 457})
263 0 230 unless ($eligible_schemes{$scheme})
264 0 0 unless $self->quiet
270 3 227 if ($scheme eq 'file') { }
278 0 230 unless (defined $author)
279 0 0 unless $self->quiet
285 0 230 if ($author eq 'LOCAL')
286 0 0 unless $self->quiet
301 230 230 if $distversion
307 230 230 if $distname
358 0 228 if (index($dist, 'Local-') == 0)
359 0 0 unless $self->quiet
363 0 228 unless $self->parse_uri($resource)
376 0 228 $meta && ref $meta ? :
378 0 228 unless -d $tdir
379 228 0 length $author ? :
382 0 228 unless open my $OUT, '>', $report
388 0 228 unless close $OUT