Branch Coverage

lib/App/PP/Autolink.pm
Criterion Covered Total %
branch 0 114 0.0


line true false branch
45 0 0 $ldd_exe ? :
0 0 $^O eq 'darwin' ? :
0 0 $^O eq 'MSWin32' ? :
66 0 0 unless my $script_fullname = $args[-1]
95 0 0 if (@$alien_sys_installs) { }
120 0 0 unless system(@command) == 0
133 0 0 unless my $OBJDUMP = which("objdump")
139 0 0 if ($App::PP::Autolink::OSNAME =~ /MSWin32/iu)
146 0 0 if $_
150 0 0 if $_ and -e $_
202 0 0 if ($exit)
222 0 0 unless (@dlls)
229 0 0 if $searched_for{$file}
231 0 0 if (exists $dll_file_hash{$file}) { }
245 0 0 if $key_count == scalar keys %full_list
250 0 0 if (@missing)
255 0 0 if &any(sub { -e "$_/$file"; } , @system_paths)
259 0 0 if (@missing2)
266 0 0 wantarray ? :
279 0 0 if $line =~ /LC_RPATH/u
283 0 0 if $line =~ /LC_/u
297 0 0 if ($path->exists)
321 0 0 unless my $OTOOL = which("otool")
337 0 0 unless $? == 0
344 0 0 if ($dylib =~ /\@rpath/iu) { }
0 0 elsif ($dylib =~ /\@loader_path/u) { }
347 0 0 unless (defined $dylib)
356 0 0 if $seen{$dylib}
357 0 0 if $dylib =~ m[^/System]u
359 0 0 if $dylib =~ m[^/usr/lib/libSystem]u
360 0 0 if $dylib =~ m[^/usr/lib/]u
361 0 0 if $dylib =~ m[darwin\-thread\-multi\-2level\/auto\/share\/dist\/Alien]u
372 0 0 wantarray ? :
391 0 0 if ($lib =~ /$RE_skip/u)
398 0 0 unless $? == 0
408 0 0 if ($seen{$name} or $name =~ /$RE_skip/u)
419 0 0 if (not -r $path) { }
0 0 elsif ($path =~ /$RE_skip/u or $path =~ m[darwin\-thread\-multi\-2level\/auto\/share\/dist\/Alien]u or $name =~ /^lib(?:c|gcc_s|stdc\+\+)\./u) { }
442 0 0 wantarray ? :
449 0 0 unless defined $target_dir
455 0 0 wantarray ? :
521 0 0 if ($details->{'key'} =~ m[^Alien/.+\.pm$]u) { }
0 0 elsif ($details->{'key'} =~ /^Gtk/u) { }
531 0 0 if $details->{'file'} =~ /$RE_DLL_EXT/u
533 0 0 unless @uses
537 0 0 unless (path($dll_path)->is_absolute)
538 0 0 if (my $pfx = &List::Util::first(sub { path($_, $dll)->exists; } , @INC))
544 0 0 if ($dll =~ /^\w:.+:/u)
548 0 0 unless -r $dll_path
557 0 0 if $package =~ m[^Alien/(Base|Build)]u
561 0 0 unless ($INC{$package_inc_name})
564 0 0 if ($@)
570 0 0 unless $package->isa("Alien::Base")
576 0 0 if ($package->install_type eq "system")
583 0 0 wantarray ? :
593 0 0 unless $ql
607 0 0 unless ($path->is_absolute)