Condition Coverage

blib/lib/App/cpanminus/reporter.pm
Criterion Covered Total %
condition 46 86 53.4


and 3 conditions

line !l l&&!r l&&r condition
215 18 0 0 not $self->force and $mtime
18 0 0 not $self->force and $mtime and $age_in_minutes > $max_age
250 0 0 0 -e $logfile and not -d _
315 1203 5909 68 $dist and /^Building .*(?:$dist|$dist_vstring)/
323 21 51 0 $recording and $recording eq "test"
350 2666 3119 5 $recording eq "test" and /^-> (FAIL|OK)/
3119 2664 2 $recording eq "configure" and m[^-> N/A]
3119 2664 0 $recording eq "configure" and /Configure failed for (?:$dist|$dist_vstring)/ || m[proper Makefile.PL/Build.PL] || /configure the distribution/
354 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]/
385 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 $]
411 17 1 0 not $found and $self->verbose
435 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]
520 2 0 0 $meta && ref $meta
522 2 0 0 not $self->skip_history and $client->is_duplicate

or 2 conditions

line l !l condition
53 0 21 $params{'max_age'} || 30
327 0 0 $fetched || '(local)'
329 0 0 $fetched || '(local)'
511 1 1 $self->{'_cpanminus_version'} || 'unknown cpanm version'

or 3 conditions

line l !l&&r !l&&!r condition
45 0 21 0 $params{'build_dir'} || 'File::Spec'->catdir(&File::HomeDir::Tiny::home(), '.cpanm')
50 19 2 0 $params{'build_logfile'} || 'File::Spec'->catfile($self->build_dir, 'build.log')
350 64 5 5785 /^Result: (PASS|NA|FAIL|UNKNOWN|NOTESTS)/ or $recording eq "test" and /^-> (FAIL|OK)/
2 0 2662 /Configure failed for (?:$dist|$dist_vstring)/ || m[proper Makefile.PL/Build.PL] || /configure the distribution/
569 0 0 0 not $meta->{'meta-spec'} or $meta->{'meta-spec'}{'version'} < 2