Condition Coverage

blib/lib/PAR.pm
Criterion Covered Total %
condition 24 98 24.4


and 3 conditions

line !l l&&!r l&&r condition
353 0 7 0 -s $progname && (-s lc $progname || -1) == (-s uc $progname || -1)
406 0 0 0 $progname and not $member
419 0 0 0 defined $ARGV[0] and not $member
447 3 0 0 exists $opt->{'repository'} and exists $opt->{'file'}
0 3 0 exists $opt->{'file'} and exists $opt->{'install'} || exists $opt->{'upgrade'}
535 0 0 0 $opt->{'upgrade'} and not eval 'PAR::Repository::Client'->VERSION >= 0.22
539 0 0 0 $opt->{'dependencies'} and not eval 'PAR::Repository::Client'->VERSION >= 0.23
546 0 0 0 ref $url and UNIVERSAL::isa($url, 'PAR::Repository::Client')
558 0 0 0 exists $opt->{'fallback'} and not $opt->{'fallback'}
683 1 0 0 ref $file_or_azip_handle && $file_or_azip_handle->isa('Archive::Zip::Archive')
696 1 0 0 -d $inc and -e $canary
731 7 0 0 -e $outfile and not -w _
867 0 0 0 not @$INC_ARY and $path
0 0 0 not @$INC_ARY and $path and $path =~ m[//]
0 0 0 not @$INC_ARY and $path and $path =~ m[//] and $scheme
0 0 0 not @$INC_ARY and $path and $path =~ m[//] and $scheme and $scheme =~ /^\w+$/
936 6 172 2 ($allow_other_ext || $par =~ /\.par\z/i) && -f $par
969 0 0 0 -e $file and -f _
1025 0 0 2 not $unpar_options{'no_shlib_unpack'} and defined $ENV{'PAR_TEMP'}
1059 8 0 2 defined $ENV{$key} and $ENV{$key} ne ''
1109 0 0 0 $^O ne 'MSWin32' && !($^O =~ /hpux/)
1196 2 0 2 exists $ENV{'PAR_CLEAN'} and $ENV{'PAR_CLEAN'}
0 0 2 exists $ENV{'PAR_CLEAN'} and $ENV{'PAR_CLEAN'} and exists $ENV{'PAR_TEMP'}
0 0 2 exists $ENV{'PAR_CLEAN'} and $ENV{'PAR_CLEAN'} and exists $ENV{'PAR_TEMP'} and defined $ENV{'PAR_TEMP'}
0 0 2 exists $ENV{'PAR_CLEAN'} and $ENV{'PAR_CLEAN'} and exists $ENV{'PAR_TEMP'} and defined $ENV{'PAR_TEMP'} and -d $ENV{'PAR_TEMP'}

or 2 conditions

line l !l condition
944 0 0 $ENV{'PAR_CACHE'} ||= '_par'

or 3 conditions

line l !l&&r !l&&!r condition
352 3 4 0 $ENV{'PAR_PROGNAME'} ||= $0
447 0 0 3 exists $opt->{'install'} || exists $opt->{'upgrade'}
0 3 0 exists $opt->{'repository'} || exists $opt->{'file'}
531 0 0 0 $@ or not eval 'PAR::Repository::Client'->VERSION >= 0.04
811 1 14 0 defined $rv or not @PAR::PriorityRepositoryObjects
1032 0 0 0 $member_name =~ m[ \/([^/]+)$ ]x or $member_name =~ m[ ^([^/]+)$ ]
1102 0 0 3 $ENV{'PAR_CLEAN'} or not defined $name