Condition Coverage

blib/lib/CPAN/Reporter.pm
Criterion Covered Total %
condition 84 120 70.0


and 3 conditions

line !l l&&!r l&&r condition
279 38 64 16 $result->{'is_make'} and -f 'test.pl' || _has_recursive_make()
395 119 0 4 $config->{'send_skipfile'} and -r $config->{'send_skipfile'}
444 0 0 118 defined $transport and length $transport
576 119 10 34 $grade eq "pass" and $result->{'phase'} ne "PL"
595 138 3105 2 $result->{'phase'} eq "test" and $line =~ m[open3: IO::Pipe: Can't spawn.*?TAP/Parser/Iterator/Process.pm]
619 37 23 47 $result->{'is_make'} and $result->{'phase'} eq "test"
60 46 1 $result->{'is_make'} and $result->{'phase'} eq "test" and not _has_test_target()
8 84 14 $grade ne "pass" and $result->{'prereq_pm'} =~ m[n/a]ism
8 76 8 $grade ne "pass" and $result->{'prereq_pm'} =~ /^\s+!/ism
67 9 8 $result->{'phase'} eq "PL" and $grade eq "pass"
76 3 5 $result->{'phase'} eq "PL" and $grade eq "pass" and not -f "Makefile"
12 3 2 $result->{'phase'} eq "PL" and $grade eq "pass" and not -f "Makefile" and not -f "Build"
24 49 7 $result->{'is_make'} and $result->{'phase'} eq "make"
73 6 1 $result->{'is_make'} and $result->{'phase'} eq "make" and grep {/Makefile out-of-date with respect to Makefile.PL/;} @$output
826 0 0 173 defined $output and defined $exit_value
828 0 0 0 defined $output and not defined $exit_value
981 2 709 0 defined $_ and ref $_ ne "HASH"
995 107 0 72 $dist->{'build_dir'} and -d $dist->{'build_dir'}
1004 2 0 2 ref $yaml[0] eq "HASH" and ref $yaml[0]{'configure_requires'} eq "HASH"
1071 0 0 138 defined $msg and length $msg
1167 0 115 2 -d $confdir and -f $comment_file
115 0 2 -d $confdir and -f $comment_file and -r $comment_file
1266 176 0 0 $^O eq "MSWin32" and eval "require Win32"
1567 0 0 3895 defined $mod and defined $met
0 0 3895 defined $mod and defined $met and defined $have

or 2 conditions

line l !l condition
570 169 0 $result->{'grade_msg'} || ''
776 0 76 $ENV{'PERL5OPT'} || ''
1060 136 43 $report || " No requirements found\n"
1084 0 328 $extra ||= ""
1089 328 0 $config->{$option} || ''
1365 0 0 $timeout ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
123 6 6 158 $timeout ||= $config->{'command_timeout'}
279 13 3 64 -f 'test.pl' || _has_recursive_make()
326 32 10 76 $result->{'grade'} eq 'pass' || $result->{'grade'} eq 'unknown'
601 6 0 3237 $line =~ /(?
6 2 3235 $line =~ /(?
2 0 3235 $line =~ /(?
2 0 3235 $line =~ /(?
0 0 3235 $line =~ /(?
619 8 4 113 $version_error or $result->{'prereq_pm'} =~ /^\s+!\s+perl\s/ism
828 0 0 0 defined $output || defined $exit_value
1091 53 275 0 $dispatch->{$grade} || $dispatch->{'default'}