Condition Coverage

blib/lib/App/cpanminus/reporter.pm
Criterion Covered Total %
condition 47 92 51.0


and 3 conditions

line !l l&&!r l&&r condition
214 18 0 0 not $self->force and $mtime
18 0 0 not $self->force and $mtime and $age_in_minutes > $max_age
249 0 0 0 -e $logfile and not -d _
314 1203 5911 68 $dist and /^Building .*(?:$dist|$dist_vstring)/
322 21 51 0 $recording and $recording eq "test"
349 2668 3119 5 $recording eq "test" and /^-> (FAIL|OK)/
3119 2666 2 $recording eq "configure" and m[^-> N/A]
3119 2666 0 $recording eq "configure" and /Configure failed for (?:$dist|$dist_vstring)/ || m[proper Makefile.PL/Build.PL] || /configure the distribution/
353 67 2 0 $result eq "FAIL" and $recording eq "configure"
67 0 2 $result eq "FAIL" and @test_output > 1
67 1 1 $result eq "FAIL" and @test_output > 1 and $test_output[-2] =~ /make.*?[1-9]/
384 70 0 0 defined $self->exclude and exists $self->exclude->{$dist_without_version}
70 0 0 defined $self->only and not exists $self->only->{$dist_without_version}
69 0 1 not $self->ignore_versions and defined $self->{'_perl_version'}
69 0 1 not $self->ignore_versions and defined $self->{'_perl_version'} and $self->{'_perl_version'} ne $]
410 17 1 0 not $found and $self->verbose
434 0 0 1 @path >= 3 and $path[-1] =~ /\A[A-Z\-]+\z/
0 0 1 @path >= 3 and $path[-1] =~ /\A[A-Z\-]+\z/ and substr($path[-1], 0, 2) eq $path[-2]
0 0 1 @path >= 3 and $path[-1] =~ /\A[A-Z\-]+\z/ and substr($path[-1], 0, 2) eq $path[-2] and substr($path[-1], 0, 1) eq $path[-3]
519 2 0 0 $meta && ref $meta
521 2 0 0 not $self->skip_history and $client->is_duplicate
580 21 0 0 $^O eq 'MSWin32' && "$]" < 5.016

or 2 conditions

line l !l condition
52 0 21 $params{'max_age'} || 30
326 0 0 $fetched || '(local)'
328 0 0 $fetched || '(local)'
510 1 1 $self->{'_cpanminus_version'} || 'unknown cpanm version'

or 3 conditions

line l !l&&r !l&&!r condition
44 0 21 0 $params{'build_dir'} || 'File::Spec'->catdir(_home(), '.cpanm')
49 19 2 0 $params{'build_logfile'} || 'File::Spec'->catfile($self->build_dir, 'build.log')
349 64 5 5787 /^Result: (PASS|NA|FAIL|UNKNOWN|NOTESTS)/ or $recording eq "test" and /^-> (FAIL|OK)/
2 0 2664 /Configure failed for (?:$dist|$dist_vstring)/ || m[proper Makefile.PL/Build.PL] || /configure the distribution/
568 0 0 0 not $meta->{'meta-spec'} or $meta->{'meta-spec'}{'version'} < 2
580 0 0 0 $ENV{'HOME'} || $ENV{'USERPROFILE'}