| line |
true |
false |
branch |
|
19
|
0 |
0 |
if ($req->{'code'}) |
|
22
|
0 |
0 |
if (not $result and $req->{'pkg'}) |
|
25
|
0 |
0 |
if (not $result and $req->{'inccheck'} and $req->{'libcheck'} || $req->{'libbase'}) |
|
30
|
0 |
0 |
if ($result and $req->{'testcode'}) |
|
34
|
0 |
0 |
if (not $result and $req->{'alternatives'}) |
|
40
|
0 |
0 |
if $req->{'verbose'} |
|
43
|
0 |
0 |
if exists $alt->{$key} |
|
47
|
0 |
0 |
if ($result and $req->{'testcode'}) |
|
52
|
0 |
0 |
if $result |
|
58
|
0 |
0 |
if (not $result and $req->{'testcode'}) |
|
61
|
0 |
0 |
unless $result |
|
66
|
0 |
0 |
unless $result |
|
75
|
0 |
0 |
ref $code eq 'ARRAY' ? : |
|
79
|
0 |
0 |
if $result = &$probe($req) |
|
90
|
0 |
0 |
if ($^O eq 'MSWin32') { } |
|
|
0 |
0 |
elsif ($^O eq 'cygwin') { } |
|
99
|
0 |
0 |
if -x "File::Spec"->catfile($dir, "$name$suffix") |
|
113
|
0 |
0 |
if $ENV{'PKG_CONFIG_PATH'} |
|
116
|
0 |
0 |
if $req->{'verbose'} |
|
118
|
0 |
0 |
unless is_exe("pkg-config") |
|
119
|
0 |
0 |
$^O eq 'MSWin32' ? : |
|
123
|
0 |
0 |
unless (system "pkg-config $pkg --exists $redir") |
|
126
|
0 |
0 |
unless my $cflags = `pkg-config $pkg --cflags` and not $? |
|
129
|
0 |
0 |
unless my $lflags = `pkg-config $pkg --libs` and not $? |
|
138
|
0 |
0 |
if $req->{'verbose'} |
|
145
|
0 |
0 |
if (not grep(/^-L/, split(' ', $lflags, 0)) and $^O ne "MSWin32") |
|
149
|
0 |
0 |
if $req->{'verbose'} |
|
152
|
0 |
0 |
unless ($ld_run_path) |
|
179
|
0 |
0 |
if (_is_msvc()) { } |
|
190
|
0 |
0 |
if (_is_msvc()) { } |
|
201
|
0 |
0 |
$opt =~ /\s/ ? : |
|
209
|
0 |
0 |
if ($req->{'libcheck'}) { } |
|
|
0 |
0 |
elsif ($req->{'libbase'}) { } |
|
210
|
0 |
0 |
if (ref $req->{'libcheck'} eq 'ARRAY') { } |
|
218
|
0 |
0 |
ref $req->{'libbase'} ? : |
|
226
|
0 |
0 |
unless -e "File::Spec"->catfile($_[0], "$basename$aext") |
|
233
|
0 |
0 |
if $req->{'verbose'} |
|
240
|
0 |
0 |
if $req->{'verbose'} |
|
243
|
0 |
0 |
if $req->{'verbose'} |
|
244
|
0 |
0 |
if (&$libcheck($path)) |
|
245
|
0 |
0 |
if $req->{'verbose'} |
|
256
|
0 |
0 |
if $req->{'verbose'} |
|
258
|
0 |
0 |
if $req->{'verbose'} |
|
259
|
0 |
0 |
if (&$inccheck($path)) |
|
260
|
0 |
0 |
if $req->{'verbose'} |
|
267
|
0 |
0 |
if ($req->{'altname'}) |
|
270
|
0 |
0 |
$found_incpath ? : |
|
|
0 |
0 |
@found_libpath == @libcheck ? : |
|
273
|
0 |
0 |
unless @found_libpath == @libcheck and $found_incpath |
|
277
|
0 |
0 |
if ($req->{'libopts'}) { } |
|
|
0 |
0 |
elsif (@libbase) { } |
|
302
|
0 |
0 |
if ($req->{'libopts'}) { } |
|
|
0 |
0 |
elsif (defined $req->{'libbase'}) { } |
|
310
|
0 |
0 |
ref $req->{'libbase'} ? : |
|
|
0 |
0 |
$req->{'libbase'} ? : |
|
313
|
0 |
0 |
if (defined $lopts) { } |
|
324
|
0 |
0 |
if $req->{'verbose'} |
|
334
|
0 |
0 |
if $req->{'verbose'} |
|
339
|
0 |
0 |
if ($ld_run_path) |
|
341
|
0 |
0 |
if $req->{'verbose'} |
|
343
|
0 |
0 |
if ($Imager::Probe::Config{'lddlflags'} =~ /([^ ]*-(?:rpath|R)[,=]?)([^ ]+)/ and -d $2) |
|
363
|
0 |
0 |
unless ($good) |
|
384
|
0 |
0 |
if (-e "$path/$lib.$so" or -e "$path/$lib$libext") |
|
397
|
0 |
0 |
if $req->{'verbose'} and defined $ENV{'IM_LIBPATH'} |
|
399
|
0 |
0 |
if $req->{'verbose'} and defined $ENV{'LIB'} and $^O eq "MSWin32" |
|
402
|
0 |
0 |
ref $lp ? : |
|
|
0 |
0 |
if $req->{'verbose'} and defined $lp |
|
413
|
0 |
0 |
$^O eq 'MSWin32' ? : |
|
|
0 |
0 |
$^O eq 'cygwin' ? : |
|
424
|
0 |
0 |
unless $Imager::Probe::Config{'gccversion'} |
|
426
|
0 |
0 |
unless my($base_version) = $Imager::Probe::Config{'gccversion'} =~ /^([0-9]+)/ |
|
429
|
0 |
0 |
unless $base_version >= 4 |
|
434
|
0 |
0 |
unless my($lib_line) = grep(/^libraries:/, `$Imager::Probe::Config{'cc'} -print-search-dirs`) |
|
443
|
0 |
0 |
defined $_ ? : |
|
452
|
0 |
0 |
if $req->{'verbose'} and defined $ENV{'IM_INCPATH'} |
|
454
|
0 |
0 |
if $req->{'verbose'} and defined $ENV{'INCLUDE'} and $^O eq "MSWin32" |
|
457
|
0 |
0 |
ref $ip ? : |
|
|
0 |
0 |
if $req->{'verbose'} and defined $req->{'incpath'} |
|
468
|
0 |
0 |
$^O eq 'MSWin32' ? : |
|
|
0 |
0 |
$^O eq 'cygwin' ? : |
|
476
|
0 |
0 |
if ($req->{'incsuffix'}) |
|
485
|
0 |
0 |
unless $Imager::Probe::Config{'gccversion'} |
|
487
|
0 |
0 |
unless my($base_version) = $Imager::Probe::Config{'gccversion'} =~ /^([0-9]+)/ |
|
490
|
0 |
0 |
unless $base_version >= 4 |
|
519
|
0 |
0 |
if $line =~ /^#include / |
|
520
|
0 |
0 |
unless $line =~ s/^\s+// |
|
529
|
0 |
0 |
$tmp =~ s/\blib$/include/ ? : |
|
539
|
0 |
0 |
ref $_ ? : |
|
542
|
0 |
0 |
unless $path |
|
560
|
0 |
0 |
if ($path =~ m(^~[/\\])) |
|
561
|
0 |
0 |
unless defined $home |
|
562
|
0 |
0 |
if (not defined $home and $^O eq "MSWin32" and defined $ENV{'HOMEDRIVE'} and defined $ENV{'HOMEPATH'}) |
|
566
|
0 |
0 |
unless (defined $home) |
|
569
|
0 |
0 |
unless defined $home |