Condition Coverage

blib/lib/PAR.pm
Criterion Covered Total %
condition 24 86 27.9


and 3 conditions

line !l l&&!r l&&r condition
353 0 7 0 -s $progname && (-s lc $progname || -1) == (-s uc $progname || -1)
401 0 0 0 $progname and not $member
414 0 0 0 defined $ARGV[0] and not $member
442 3 0 0 exists $opt->{'repository'} and exists $opt->{'file'}
0 3 0 exists $opt->{'file'} and exists $opt->{'install'} || exists $opt->{'upgrade'}
530 0 0 0 $opt->{'upgrade'} and not eval "PAR::Repository::Client"->VERSION >= "0.22"
534 0 0 0 $opt->{'dependencies'} and not eval "PAR::Repository::Client"->VERSION >= "0.23"
541 0 0 0 ref $url and UNIVERSAL::isa($url, "PAR::Repository::Client")
553 0 0 0 exists $opt->{'fallback'} and not $opt->{'fallback'}
679 1 0 0 ref $file_or_azip_handle and $file_or_azip_handle->isa("Archive::Zip::Archive")
701 1 0 0 -d $inc and -e $canary
722 7 0 0 -e $outfile and not -w _
926 6 203 2 ($allow_other_ext || $par =~ /\.par\z/i) && -f $par
959 0 0 0 -e $file and -f _
1015 0 0 2 not $unpar_options{'no_shlib_unpack'} and defined $ENV{'PAR_TEMP'}
1049 8 0 2 defined $ENV{$key} and $ENV{$key} ne ""
1099 0 0 0 $^O ne 'MSWin32' && !($^O =~ /hpux/)
1186 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
934 0 0 $ENV{'PAR_CACHE'} ||= "_par"

or 3 conditions

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