Condition Coverage

blib/lib/CPANPLUS/Dist/Arch.pm
Criterion Covered Total %
condition 7 52 13.4


and 3 conditions

line !l l&&!r l&&r condition
803 0 0 0 -d $destdir and -w _
905 0 0 0 defined($x = $$a[2]) and defined($y = $$b[2])
0 0 0 not defined $x and defined $y
0 0 0 defined $x and not defined $y
987 10 0 0 $v && 'version'->new($v) >= 'version'->new($_[2])
1012 0 0 0 $x = $be->module_tree($mod) and $y = $x->package_name
1414 0 0 0 /^NAME/ ... /^[A-Z]+/ and / ^ \s* $mod_name [\s\-]+ (.+) $ /mosx
1435 0 5 0 $dist_dir and -d $dist_dir
1535 0 0 0 defined $$meta{'meta-spec'} and $$meta{'meta-spec'}{'url'} =~ /cpan[.]org/
1739 4 0 0 $text =~ /$begin_match/go and pos $text < $after_start

or 2 conditions

line l !l condition
381 0 0 $opts{'pkg'} || $opts{'pkgtype'} || 'bin'
1322 0 0 -f "$dirpath/typemap" || scalar glob("$dirpath/*.xs")

or 3 conditions

line l !l&&r !l&&!r condition
414 0 0 0 $opts{'destdir'} || $status->destdir || $destdir
761 1 1 0 $self->status->pkgbuild_templ || $PKGBUILD_TEMPL
793 9 1 0 $status->pkgbuild_templ || $PKGBUILD_TEMPL
835 0 0 0 $ENV{$destenv} || ($pkg_type eq 'src' ? $SRCPKGDEST : $PKGDEST) || $self->_fallback_destdir
905 0 0 0 $$a[0] ne $$b[0] or $$a[1] ne $$b[1]
1274 0 0 0 $CPANPLUS::Dist::Arch::CHILD_ERROR != 0 or not $result =~ s/$PACMAN_FINDOWN//