Condition Coverage

blib/lib/CPAN/Testers/ParseReport.pm
Criterion Covered Total %
condition 75 148 50.6


and 3 conditions

line !l l&&!r l&&r condition
130 0 0 0 -e $ctarget and $Opt{'verbose'}
135 0 0 0 $Opt{'verbose'} and not $Opt{'quiet'}
140 0 0 0 $Opt{'verbose'} and not $Opt{'quiet'}
144 0 0 0 $Opt{'verbose'} and $Opt{'verbose'} > 1
149 0 0 0 $Opt{'verbose'} and not $Opt{'quiet'}
245 0 0 0 $Opt{'verbose'} and not $Opt{'quiet'}
324 0 4 0 not $Opt{'vdistro'} and $distro =~ /^(.+)-(?i:v?\d+)(?:\.\d+)*\w*$/
362 1 2 1 $samplesize and $samplesize >= @$reports
534 106940 0 260 /!$/ and @rlines
540 174 1459 1448 $previous_line[-2] and $previous_line[-2] =~ /^--------/
1484 17 132 $previous_line[-1] and $previous_line[-1] =~ /Test Summary Report/
558 0 54 45828 $in_summary and not $extract{'conf:git_commit_id'}
54 45826 2 $in_summary and not $extract{'conf:git_commit_id'} and /Commit id:\s*([[:xdigit:]]+)/
665 10868 16994 7 $expect_characteristics_libperl and /Characteristics of this/
722 118 0 32455 $qr and $ck =~ /$qr/
832 0 0 90 defined $v && defined $needwant
859 0 6489 26 defined $modulename and defined $versionlead
913 8 382 1 not $extract{'mod:CPANPLUS'} and $extract{'meta:writer'} =~ /^CPANPLUS\s(\d+(\.\d+))$/
916 390 0 1 not $extract{'meta:perl'} and $fallback_p5
927 1 0 0 $extract{'conf:osvers'} and $extract{'conf:archname'}
930 0 1 0 $extract{'meta:perl'} and $extract{'conf:osname'}
1230 0 0 0 exists $rec->{$variable} and defined $rec->{$variable}
1261 0 0 0 $max_rsq and $max_rsq > $top
1308 0 0 0 $opt->{'verbose'} and $opt->{'verbose'} >= 2

or 2 conditions

line l !l condition
361 3 1 $Opt{'sample'} || 0
409 0 4 $Opt{'dumpfile'} || 'ctgetreports.out'
656 46190 82 $Opt{'dumpvars'} || ''
933 0 1 $dumpvars->{'==DATA=='} ||= []
947 2108 238 $extract{$want} || ''
970 0 0 $Opt{'pager'} ||= 'less'
1182 0 0 $pf->{'PASS'} ||= 0
1183 0 0 $pf->{'FAIL'} ||= 0
1259 0 0 $Opt{'solvetop'} || 3

or 3 conditions

line l !l&&r !l&&!r condition
121 0 4 0 $Opt{'cturl'} ||= $default_cturl
129 0 0 0 not -e $ctarget or -M $ctarget > 0.25
207 369 0 0 $Opt{'cachedir'} ||= "$ENV{'HOME'}/var/cpantesters"
218 0 0 0 $Opt{'transport'} ||= $default_transport
314 4 0 0 $Opt{'cachedir'} ||= "$ENV{'HOME'}/var/cpantesters"
475 0 131 260 $Opt{'raw'} or @qr
514 390 1 2609 $isHTML ? /<title>((\S+)\s+(\S+))/ : /^Subject:\s*((\S+)\s+(\S+))/ or /^Subject:\s*<strong>((\S+)\s+(\S+))/
665 17402 369 28111 /^\s*$/ or m[</pre>]
755 304 468 8350 $extract{'meta:writer'} =~ /^CPANPLUS\b/ or exists $extract{'env:PERL5_CPANPLUS_IS_VERSION'}
760 36 36 700 s/Perl:\s+\$\^X/\$^X/ or s/EUID:\s+\$>/\$EUID/
72 36 664 s/Perl:\s+\$\^X/\$^X/ or s/EUID:\s+\$>/\$EUID/ or s/UID:\s+\$</\$UID/
72 36 628 s/Perl:\s+\$\^X/\$^X/ or s/EUID:\s+\$>/\$EUID/ or s/UID:\s+\$</\$UID/ or s/EGID:\s+\$\)/\$EGID/
798 4548 6432 95951 $expect_prereq or $expect_toolchain
832 0 2 88 not defined $v && defined $needwant or $v =~ /\s/
2 2 86 not defined $v && defined $needwant or $v =~ /\s/ or $needwant =~ /\s/
1023 7 1 13 $raw_report =~ /^MIME-Version: 1.0$/m or _looks_like_qp($raw_report)
1032 0 0 8 not $report or $@
1184 0 0 0 $pf->{'PASS'} or $pf->{'FAIL'}

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
1194 0 0 0 0 $pf->{'PASS'} xor $pf->{'FAIL'}