| line |
true |
false |
branch |
|
349
|
0 |
0 |
if (is_freebsd()) { } |
|
|
0 |
0 |
elsif (is_debian()) { } |
|
|
0 |
0 |
elsif (is_redhat()) { } |
|
|
0 |
0 |
elsif (is_arch()) { } |
|
|
0 |
0 |
elsif (is_suse()) { } |
|
|
0 |
0 |
elsif (is_alt()) { } |
|
|
0 |
0 |
elsif (is_netbsd()) { } |
|
|
0 |
0 |
elsif (is_openbsd()) { } |
|
|
0 |
0 |
elsif (is_mageia()) { } |
|
|
0 |
0 |
elsif (is_void()) { } |
|
376
|
0 |
0 |
if ($^O eq 'linux' and -f '/usr/bin/systemctl' || -f '/bin/systemctl') { } |
|
395
|
0 |
0 |
unless (defined $self->{'opts'}{'xeno_build'}) |
|
401
|
0 |
0 |
if (defined $self->{'opts'}{'xeno_build'}{'vars'}) |
|
406
|
0 |
0 |
if (defined $self->{'opts'}{'xeno_build'}{'templated_vars'}) |
|
418
|
0 |
0 |
unless $self->{'t'}->process(\$var_template, $self->{'template_vars'}, \$output) |
|
423
|
0 |
0 |
if ($@) |
|
431
|
0 |
0 |
unless (defined $self->{'opts'}{'xeno_build'}{'order'}) |
|
437
|
0 |
0 |
unless (defined $self->{'opts'}{'xeno_build'}{'options'}) |
|
441
|
0 |
0 |
unless (defined $self->{'opts'}{'xeno_build'}{'options'}{'build_dir'}) |
|
443
|
0 |
0 |
if (defined $self->{'config'}{'xeno_build'}{'build_dir'}) { } |
|
461
|
0 |
0 |
if ($@) |
|
473
|
0 |
0 |
unless ($type =~ /^fetch[0-9]*$/ or $type =~ /^pkgs[0-9]*$/ or $type =~ /^perl[0-9]*$/ or $type =~ /^python[0-9]*$/ or $type =~ /^exec[0-9]*$/) |
|
483
|
0 |
0 |
if (defined $self->{'opts'}{'xeno_build'}{$type}) |
|
493
|
0 |
0 |
if (defined $self->{'opts'}{'xeno_build'}{$type}{'for'}) |
|
498
|
0 |
0 |
if ($for_os_check eq $self->{'os'}) |
|
505
|
0 |
0 |
if ($type =~ /^fetch[0-9]*$/ and $for_this_system) { } |
|
|
0 |
0 |
elsif ($type =~ /^pkgs[0-9]*$/ and $for_this_system) { } |
|
|
0 |
0 |
elsif ($type =~ /^perl[0-9]*$/ and $for_this_system) { } |
|
|
0 |
0 |
elsif ($type =~ /^python[0-9]*$/ and $for_this_system) { } |
|
|
0 |
0 |
elsif ($type =~ /^exec[0-9]*$/ and $for_this_system) { } |
|
|
0 |
0 |
elsif (not $for_this_system) { } |
|
516
|
0 |
0 |
if (defined $self->{'opts'}{'xeno_build'}{$type}{'items'}) |
|
519
|
0 |
0 |
if (defined $fetch_names[0]) { } |
|
526
|
0 |
0 |
if (defined $self->{'opts'}{'xeno_build'}{$type}{'template'}) |
|
534
|
0 |
0 |
unless (defined $self->{'opts'}{'xeno_build'}{$type}{'items'}{$fetch_name}{$fetch_value}) |
|
553
|
0 |
0 |
if ($template_it) |
|
557
|
0 |
0 |
unless $self->{'t'}->process(\$url, $self->{'template_vars'}, \$output) |
|
560
|
0 |
0 |
if ($@) |
|
573
|
0 |
0 |
unless $self->{'t'}->process(\$dst, $self->{'template_vars'}, \$output) |
|
576
|
0 |
0 |
if ($@) |
|
599
|
0 |
0 |
if (defined $ENV{'HTTP_PROXY'}) |
|
602
|
0 |
0 |
if (defined $ENV{'HTTPS_PROXY'}) |
|
605
|
0 |
0 |
if (defined $ENV{'FTP_PROXY'}) |
|
614
|
0 |
0 |
if ($response->is_success) { } |
|
623
|
0 |
0 |
if ($@) |
|
646
|
0 |
0 |
if (defined $self->{'opts'}{'xeno_build'}{$type}{'absent'}{$self->{'os'}}[0]) |
|
649
|
0 |
0 |
if ($@) |
|
661
|
0 |
0 |
if (defined $self->{'opts'}{'xeno_build'}{$type}{'present'}{$self->{'os'}} and defined $self->{'opts'}{'xeno_build'}{$type}{'present'}{$self->{'os'}}[0]) |
|
670
|
0 |
0 |
if ($@) |
|
682
|
0 |
0 |
if (defined $self->{'opts'}{'xeno_build'}{$type}{'latest'}{$self->{'os'}} and defined $self->{'opts'}{'xeno_build'}{$type}{'latest'}{$self->{'os'}}[0]) |
|
689
|
0 |
0 |
if ($@) |
|
698
|
0 |
0 |
if ($@) |
|
718
|
0 |
0 |
if (defined $self->{'opts'}{'xeno_build'}{$type}{'modules'}) |
|
728
|
0 |
0 |
if (defined $self->{'opts'}{'xeno_build'}{$type}{'pkgs'}) |
|
737
|
0 |
0 |
if (defined $self->{'opts'}{'xeno_build'}{$type}{'pkgs_always_try'} and $self->{'opts'}{'xeno_build'}{$type}{'pkgs_always_try'} or not defined $self->{'opts'}{'xeno_build'}{$type}{'pkgs_always_try'}) |
|
757
|
0 |
0 |
if (defined $self->{'opts'}{'xeno_build'}{$type}{'pkgs_require'}) |
|
772
|
0 |
0 |
if ($returned) { } |
|
796
|
0 |
0 |
if ($returned) |
|
807
|
0 |
0 |
if (defined $self->{'opts'}{'xeno_build'}{$type}{'cpanm_install'} and $self->{'opts'}{'xeno_build'}{$type}{'cpanm_install'}) |
|
811
|
0 |
0 |
if ($@) |
|
825
|
0 |
0 |
unless (defined $modules_installed{$module}) |
|
826
|
0 |
0 |
unless ($installed_cpanm) |
|
828
|
0 |
0 |
if ($@) |
|
839
|
0 |
0 |
if (defined $self->{'opts'}{'xeno_build'}{$type}{'reinstall'} and $self->{'opts'}{'xeno_build'}{$type}{'reinstall'}) |
|
844
|
0 |
0 |
if (defined $self->{'opts'}{'xeno_build'}{$type}{'notest'} and $self->{'opts'}{'xeno_build'}{$type}{'notest'}) |
|
849
|
0 |
0 |
if (defined $self->{'opts'}{'xeno_build'}{$type}{'install_force'} and $self->{'opts'}{'xeno_build'}{$type}{'install_force'}) |
|
860
|
0 |
0 |
if ($? != 0) |
|
884
|
0 |
0 |
if (defined $self->{'opts'}{'xeno_build'}{$type}{'pip_install'} and not $self->{'opts'}{'xeno_build'}{$type}{'pip_install'}) |
|
892
|
0 |
0 |
if (defined $self->{'opts'}{'xeno_build'}{$type}{'pip'} and defined $self->{'opts'}{'xeno_build'}{$type}{'pip'}[0]) |
|
899
|
0 |
0 |
if (defined $self->{'opts'}{'xeno_build'}{$type}{'pkgs_require'} and defined $self->{'opts'}{'xeno_build'}{$type}{'pkgs_require'}[0]) |
|
906
|
0 |
0 |
if ($@) |
|
919
|
0 |
0 |
if (defined $self->{'opts'}{'xeno_build'}{$type}{'pkgs'} and defined $self->{'opts'}{'xeno_build'}{$type}{'pkgs'}[0]) |
|
924
|
0 |
0 |
if (defined $pkgs[0]) |
|
927
|
0 |
0 |
if ($@) { } |
|
937
|
0 |
0 |
unless ($installed{$module}) |
|
938
|
0 |
0 |
unless ($pip_installed) |
|
940
|
0 |
0 |
if ($@) |
|
950
|
0 |
0 |
if ($? == 0) { } |
|
960
|
0 |
0 |
if ($? != 0) |
|
982
|
0 |
0 |
if (defined $self->{'opts'}{'xeno_build'}{$type}{'command'}) |
|
987
|
0 |
0 |
if (defined $self->{'opts'}{'xeno_build'}{$type}{'commands'} and defined $self->{'opts'}{'xeno_build'}{$type}{'commands'}[0]) |
|
997
|
0 |
0 |
if (defined $self->{'opts'}{'xeno_build'}{$type}{'command'} or defined $command_hash->{'command'}) |
|
1001
|
0 |
0 |
if (not defined $command_hash->{$to_copy} and defined $self->{'opts'}{'xeno_build'}{$type}{$to_copy}) { } |
|
|
0 |
0 |
elsif (not defined $command_hash->{$to_copy} || defined $self->{'opts'}{'xeno_build'}{$type}{$to_copy}) { } |
|
1008
|
0 |
0 |
if ($to_copy eq 'exits') { } |
|
|
0 |
0 |
elsif ($to_copy eq 'template') { } |
|
|
0 |
0 |
elsif ($to_copy eq 'for') { } |
|
1024
|
0 |
0 |
if ($command_hash->{'template'}) |
|
1029
|
0 |
0 |
unless $self->{'t'}->process(\$command, $self->{'template_vars'}, \$output) |
|
1035
|
0 |
0 |
unless $self->{'t'}->process(\$dir, $self->{'template_vars'}, \$output) |
|
1043
|
0 |
0 |
if ($@) |
|
1062
|
0 |
0 |
if ($command_hash->{'dir'}) |
|
1064
|
0 |
0 |
if ($@) |
|
1075
|
0 |
0 |
if (getcwd() ne $self->{'opts'}{'xeno_build'}{'options'}{'tmpdir'}) |
|
1081
|
0 |
0 |
if ($? == -1) { } |
|
1088
|
0 |
0 |
if ($exit_code == $desired_exit_code) |
|
1092
|
0 |
0 |
if (not $exit_code_matched) { } |