Condition Coverage

lib/CPANPLUS/Internals/Utils.pm
Criterion Covered Total %
condition 26 52 50.0


and 2 conditions

line l !l condition
400 40 0 defined $ENV{'APPDATA'} and length $ENV{'APPDATA'} and 1

and 3 conditions

line !l l&&!r l&&r condition
336 0 0 188 $x and chmod $x->mode | $mask, $file
400 40 0 0 defined $ENV{'APPDATA'} and length $ENV{'APPDATA'}
411 0 0 0 defined $ENV{$env} and length $ENV{$env}
521 344 0 0 $dist =~ /-undef\z/ and not length $version
548 327 17 0 not length $version and $dist =~ s/-(\d+\w)$//
551 344 0 0 $version =~ /^\d+$/ and $dist =~ s/-(\w+)$//
564 23 1 0 $1 > 6 and $1 & 1
0 24 0 $2 and $2 >= 50
680 0 329 10 $dpkg and $pkg ne $dpkg
681 21 306 12 $dver and $ver ne $dver
747 0 0 95 chmod 0644, $file and utime $now, $now, $file

or 2 conditions

line l !l condition
668 339 0 $1 || ''
669 339 0 $2 || ''
670 318 21 $3 || ''
671 313 26 $4 || ''

or 3 conditions

line l !l&&r !l&&!r condition
563 15 0 288 $version =~ /\d\D\d+_\d/ or $version =~ /-TRIAL/
564 0 0 24 $1 > 6 and $1 & 1 or $2 and $2 >= 50
0 0 24 $1 > 6 and $1 & 1 or $2 and $2 >= 50 or $3