Condition Coverage

blib/lib/Imager/Probe.pm
Criterion Covered Total %
condition 0 124 0.0


and 3 conditions

line !l l&&!r l&&r condition
24 0 0 0 not $result and $req->{'pkg'}
27 0 0 0 not $result and $req->{'inccheck'}
0 0 0 not $result and $req->{'inccheck'} and $req->{'libcheck'} || $req->{'libbase'}
32 0 0 0 $result and $req->{'testcode'}
36 0 0 0 not $result and $req->{'alternatives'}
49 0 0 0 $result and $req->{'testcode'}
60 0 0 0 not $result and $req->{'testcode'}
145 0 0 0 my $cflags = `pkg-config $pkg --cflags` and not $?
148 0 0 0 my $lflags = `pkg-config $pkg --libs` and not $?
164 0 0 0 not grep(/^-L/, split(' ', $lflags, 0)) and $^O ne "MSWin32"
292 0 0 0 @found_libpath == @libcheck and $found_incpath
361 0 0 0 $Imager::Probe::Config{'lddlflags'} =~ /([^ ]*-(?:rpath|R)[,=]?)([^ ]+)/ and -d $2
435 0 0 0 $req->{'verbose'} and defined $ENV{'IM_LIBPATH'}
437 0 0 0 $req->{'verbose'} and defined $ENV{'LIB'}
0 0 0 $req->{'verbose'} and defined $ENV{'LIB'} and $^O eq "MSWin32"
440 0 0 0 $req->{'verbose'} and defined $lp
477 0 0 0 !/gcc/ && -d $_
490 0 0 0 $req->{'verbose'} and defined $ENV{'IM_INCPATH'}
492 0 0 0 $req->{'verbose'} and defined $ENV{'INCLUDE'}
0 0 0 $req->{'verbose'} and defined $ENV{'INCLUDE'} and $^O eq "MSWin32"
495 0 0 0 $req->{'verbose'} and defined $req->{'incpath'}
550 0 0 0 @spam and not $spam[0] =~ /^#include /
554 0 0 0 @spam and not $spam[0] =~ /^End of search/
600 0 0 0 not defined $home and $^O eq "MSWin32"
0 0 0 not defined $home and $^O eq "MSWin32" and defined $ENV{'HOMEDRIVE'}
0 0 0 not defined $home and $^O eq "MSWin32" and defined $ENV{'HOMEDRIVE'} and defined $ENV{'HOMEPATH'}
691 0 0 0 $std and $stdflag
713 0 0 0 defined $res && $res == 0 && -s $base_out
715 0 0 0 $ok and not $args{'nolink'}
0 0 0 $ok and not $args{'nolink'} and not -x $base_out
719 0 0 0 $ok and $args{'run'}
728 0 0 0 $Imager::Probe::Config{'run'} and -e $Imager::Probe::Config{'run'}

or 2 conditions

line l !l condition
28 0 0 $req->{'altname'} ||= "main"
662 0 0 $req->{'verbose'} || 0
663 0 0 $req->{'indent'} || ''
673 0 0 $Imager::Probe::Config{'obj_ext'} || '.o'
706 0 0 $args{'libs'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
27 0 0 0 $req->{'libcheck'} || $req->{'libbase'}
40 0 0 0 $alt->{'altname'} || "alt $index"
80 0 0 0 $req->{'verbose'} ||= $ENV{'IM_VERBOSE'}
422 0 0 0 -e "$path/$lib.$so" or -e "$path/$lib$libext"
666 0 0 0 $req->{'tcal_state'} ||= _tcal_state($req)
690 0 0 0 $args{'stdflag'} || $req->{'stdflag'}