| line |
true |
false |
branch |
|
57
|
9 |
5 |
if (defined $ENV{'ALIEN_INSTALL_TYPE'}) { } |
|
|
2 |
3 |
elsif (defined $ENV{'ALIEN_FORCE'}) { } |
|
59
|
3 |
6 |
if ($ENV{'ALIEN_INSTALL_TYPE'} eq 'share') { } |
|
|
3 |
3 |
elsif ($ENV{'ALIEN_INSTALL_TYPE'} eq 'system') { } |
|
205
|
2 |
36 |
if (not defined $ENV{'ALIEN_INSTALL_TYPE'} || defined $ENV{'ALIEN_FORCE'} and defined $self->alien_install_type) |
|
206
|
1 |
1 |
if ($self->alien_install_type eq 'share') { } |
|
|
1 |
0 |
elsif ($self->alien_install_type eq 'system') { } |
|
214
|
38 |
0 |
unless defined $self->alien_helper->{'pkg_config'} |
|
223
|
0 |
38 |
if ($ab_version < "0.77") |
|
231
|
36 |
2 |
if ($Force or not $self->alien_check_installed_version) |
|
232
|
4 |
59 |
ref $_ ? : |
|
|
29 |
7 |
if (&any(sub {
/(?alien_build_commands;}))) |
|
236
|
0 |
36 |
if ($^O eq 'MSWin32' and $self->config_data('autoconf') || $self->alien_msys) { } |
|
245
|
1 |
6 |
if ($tool eq "Alien::CMake" and $version < "0.07") |
|
253
|
1 |
35 |
ref $args{'alien_repository'} eq 'ARRAY' ? : |
|
257
|
31 |
5 |
unless defined $repo |
|
258
|
2 |
3 |
if (($repo->{'protocol'} || '') eq "https") |
|
270
|
38 |
0 |
if ($ENV{'AUTOMATED_TESTING'}) |
|
276
|
4 |
63 |
ref $_ ? : |
|
|
0 |
38 |
if (&any(sub {
/(?alien_build_commands;}))) |
|
291
|
6 |
0 |
unless (-d $temp_dir) |
|
292
|
0 |
6 |
unless mkdir $temp_dir |
|
296
|
6 |
0 |
unless (-d $share_dir) |
|
297
|
0 |
6 |
unless mkdir $share_dir |
|
307
|
0 |
6 |
unless open my $fh, ">", "README" |
|
329
|
0 |
0 |
ref $cmd ? : |
|
335
|
0 |
0 |
ref $cmd ? : |
|
345
|
0 |
4 |
if ($self->notes('ACTION_alien_completed')) { } |
|
357
|
4 |
0 |
unless (-e $file) |
|
379
|
0 |
4 |
if ($self->alien_arch) |
|
382
|
0 |
0 |
unless -d $arch_dir |
|
388
|
3 |
1 |
if $self->alien_stage_install |
|
396
|
4 |
0 |
if $self->notes("alien_blib_scheme") or $self->alien_stage_install |
|
403
|
0 |
3 |
unless $ae->extract |
|
418
|
4 |
0 |
unless $self->config_data("Force") |
|
421
|
1 |
3 |
if ($version) |
|
425
|
1 |
0 |
if defined $self->alien_provides_cflags |
|
427
|
1 |
0 |
if defined $self->alien_provides_libs |
|
433
|
0 |
3 |
if ($self->config_data("ForceSystem")) |
|
452
|
0 |
3 |
unless (defined $file) |
|
461
|
0 |
3 |
unless $filename |
|
469
|
3 |
0 |
if ($file->platform eq "src") |
|
471
|
0 |
3 |
unless ($self->alien_do_commands("build")) |
|
489
|
3 |
0 |
unless (defined $version) |
|
494
|
1 |
0 |
unless ($version or $pc_version) |
|
504
|
0 |
2 |
if ($version and $pc_version and &versioncmp($version, $pc_version)) |
|
519
|
0 |
0 |
if ($self->config_data("install_type") eq "share") |
|
520
|
0 |
0 |
if (defined(my $wdir = $self->config_data("working_directory"))) |
|
522
|
0 |
0 |
unless $self->alien_do_commands("test") |
|
537
|
0 |
1 |
if ($self->alien_stage_install) { } |
|
549
|
1 |
3 |
if $self->config_data("install_type") eq "system" |
|
554
|
0 |
3 |
if (defined $destdir and not $self->alien_stage_install) |
|
568
|
0 |
3 |
unless (-e "README") |
|
573
|
3 |
0 |
unless ($self->config_data("finished_installing")) |
|
577
|
0 |
3 |
if defined $destdir and not $self->alien_stage_install |
|
579
|
0 |
3 |
unless $self->alien_do_commands("install") |
|
583
|
0 |
3 |
if ($self->alien_isolate_dynamic) |
|
586
|
0 |
0 |
unless -d "dynamic" |
|
588
|
0 |
0 |
unless -d $dir |
|
590
|
0 |
0 |
unless /\.so/ |
|
595
|
0 |
0 |
if -e $to |
|
606
|
3 |
0 |
if ($self->notes('alien_blib_scheme') or $self->alien_stage_install) { } |
|
649
|
3 |
0 |
if (ref $repo_specs eq "HASH") |
|
663
|
0 |
3 |
unless (@$repo_specs) |
|
675
|
0 |
0 |
if defined $repo->{$key} |
|
679
|
3 |
0 |
unless defined $repo->{'platform'} |
|
685
|
0 |
0 |
if ($repo->{'protocol'} eq $var_protocol) |
|
698
|
0 |
3 |
unless (@repos) |
|
712
|
1 |
6 |
unless defined $platform |
|
715
|
4 |
2 |
if ($platform eq "src") |
|
727
|
0 |
2 |
$self->alien_arch ? : |
|
|
104 |
2 |
$self->notes('alien_blib_scheme') || $self->alien_stage_install ? : |
|
742
|
3 |
1 |
if $self->alien_stage_install |
|
743
|
0 |
1 |
if defined $ENV{'ALIEN_BLIB'} |
|
752
|
0 |
1 |
unless @dirs |
|
754
|
1 |
0 |
if ($dirs[1] and $dirs[1] eq "lib") |
|
787
|
1 |
1 |
unless (eval {
do {
$mod->can("new")
}
}) |
|
792
|
1 |
0 |
if $version |
|
795
|
1 |
1 |
if ($mod->can("alien_helper")) |
|
799
|
1 |
3 |
if defined $self->alien_helper->{$k} |
|
811
|
0 |
12 |
if ($self->config_data("msys")) |
|
822
|
0 |
1 |
if ($mod eq 'Alien::MSYS') { } |
|
|
0 |
1 |
elsif ($mod eq 'Alien::TinyCC') { } |
|
|
0 |
1 |
elsif ($mod eq 'Alien::Autotools') { } |
|
|
1 |
0 |
elsif (eval {
do {
$mod->can('bin_dir')
}
}) { } |
|
846
|
0 |
12 |
if ($self->config_data("autoconf") and not defined $ENV{'CONFIG_SITE'}) |
|
852
|
0 |
0 |
if $^O eq "darwin" |
|
871
|
0 |
0 |
if $^O eq "MSWin32" |
|
879
|
6 |
3 |
defined $value ? : |
|
884
|
4 |
8 |
if ($config) |
|
885
|
0 |
4 |
if ($^O eq 'MSWin32') { } |
|
899
|
11 |
1 |
ref $command ? : |
|
921
|
0 |
8 |
unless ($result{'success'}) |
|
934
|
30 |
12 |
ref $_[-1] ? : |
|
952
|
12 |
30 |
$verbose ? : |
|
965
|
42 |
0 |
wantarray ? : |
|
971
|
1 |
43 |
unless defined $code |
|
973
|
41 |
2 |
if (ref $code ne "CODE") |
|
977
|
1 |
40 |
if $@ |
|
1006
|
0 |
94 |
if $^O eq "MSWin32" |
|
1011
|
2 |
92 |
if ($string =~ /(?
|
|
1013
|
1 |
1 |
if (not defined $version) { } |
|
1030
|
0 |
95 |
if ($self->is_windowsish) { } |
|
1040
|
0 |
94 |
if ($self->config_data('msys')) { } |
|
1045
|
94 |
0 |
if ($self->alien_autoconf_with_pic) |
|
1067
|
0 |
3 |
unless $pc_objects{'_manual'} = $self->alien_generate_manual_pkgconfig($dir) |
|
1079
|
0 |
3 |
unless $pc_objects->{'_manual'} = $self->alien_generate_manual_pkgconfig($dir) |
|
1101
|
9 |
1 |
unless ($provides_libs) |
|
1114
|
0 |
10 |
if $provides_cflags |
|
1150
|
2 |
12 |
if $libs |
|
1164
|
8 |
72 |
unless $ext |
|
1168
|
32 |
40 |
if ($ext eq ".h") |
|
1175
|
14 |
26 |
if (@libs) |
|
1176
|
8 |
6 |
unless &any(sub {
$file eq $_;
}
, @libs) |
|
1179
|
12 |
20 |
if &any(sub {
$file eq $_;
}
, @lib_files) |
|
1199
|
0 |
0 |
unless $self->create_packlist |
|
1202
|
0 |
0 |
if defined $self->destdir |
|
1216
|
0 |
0 |
if defined $self->destdir |
|
1219
|
0 |
0 |
if $packlist->{$file} |
|
1225
|
0 |
0 |
if $changed |
|
1232
|
0 |
0 |
unless $^O eq "darwin" |
|
1235
|
0 |
0 |
$self->alien_arch ? : |
|
1239
|
0 |
0 |
if (/\.dylib$/) |
|
1243
|
0 |
0 |
unless -w $File::Find::name |
|
1262
|
0 |
28 |
if defined $destdir |
|
1264
|
0 |
28 |
if defined $destdir |
|
1276
|
0 |
130 |
if $^O eq "MSWin32" |
|
1281
|
4 |
25 |
defined $ENV{'ALIEN_INSTALL_NETWORK'} ? : |
|
1286
|
32 |
14 |
if (defined $ENV{'ALIEN_DOWNLOAD_RULE'}) |
|
1287
|
1 |
31 |
if $ENV{'ALIEN_DOWNLOAD_RULE'} eq "default" |
|
1288
|
30 |
1 |
if $ENV{'ALIEN_DOWNLOAD_RULE'} =~ /^(warn|digest|encrypt|digest_or_encrypt|digest_and_encrypt)$/ |