Condition Coverage

blib/lib/CPAN/Checksums.pm
Criterion Covered Total %
condition 25 48 52.0


and 3 conditions

line !l l&&!r l&&r condition
53 0 41 0 $CPAN::Checksums::IGNORE_MATCH and $de =~ /$CPAN::Checksums::IGNORE_MATCH/
126 5 26 10 $can_reuse_old_md5 and $de =~ /\.(gz|tgz|bz2|tbz)$/
31 0 10 $can_reuse_old_md5 and $de =~ /\.(gz|tgz|bz2|tbz)$/ and exists $old_dref->{$de}{'md5'}
0 5 5 $can_reuse_old_md5 and $de =~ /\.(gz|tgz|bz2|tbz)$/ and exists $old_dref->{$de}{'md5'} and not exists $old_dref->{$de}{'md5-ungz'}
5 5 0 $can_reuse_old_md5 and $de =~ /\.(gz|tgz|bz2|tbz)$/ and exists $old_dref->{$de}{'md5'} and not exists $old_dref->{$de}{'md5-ungz'} and not exists $old_dref->{$de}{'md5-unbz2'}
216 6 0 0 $CPAN::Checksums::SIGNING_KEY and not $success
244 0 0 5 exists $old_dref->{$de}{$keyname} and $dref->{$de}{$keyname} eq $old_dref->{$de}{$keyname}
0 0 5 exists $old_dref->{$de}{$keyname} and $dref->{$de}{$keyname} eq $old_dref->{$de}{$keyname} and exists $old_dref->{$de}{"$keyname-ungz"}
259 0 0 5 exists $old_dref->{$de}{$keyname} and $dref->{$de}{$keyname} eq $old_dref->{$de}{$keyname}
0 0 5 exists $old_dref->{$de}{$keyname} and $dref->{$de}{$keyname} eq $old_dref->{$de}{$keyname} and exists $old_dref->{$de}{"$keyname-unbz2"}
295 12 0 30 exists $old->{$dist}{$diff} and exists $new->{$dist}{$diff}

or 2 conditions

line l !l condition
75 0 0 $p[1] ||= 0
223 5 0 chmod 0644, $ckfn or die "Couldn't chmod to 0644 for ${ckfn}: $!"
315 9 1 $comp->reval($_) || {}

or 3 conditions

line l !l&&r !l&&!r condition
73 0 0 0 $p[0] ||= lc $de
120 2 3 108 not exists $old_dref->{$de}{$param} or $dref->{$de}{$param} ne $old_dref->{$de}{$param}
182 8 0 1 not $CPAN::Checksums::MIN_MTIME_CHECKSUMS or $ckfnstat[9] > $CPAN::Checksums::MIN_MTIME_CHECKSUMS