line |
true |
false |
branch |
102
|
0 |
110 |
if (-d "$home_dir/.rex/recipes") |
125
|
110 |
8 |
if (-d "File::Spec"->catdir($path, "lib")) |
128
|
110 |
0 |
if ($^O eq "linux") |
136
|
0 |
110 |
if ($^O =~ /^MSWin/u) |
138
|
0 |
0 |
if (defined $special_win_path) |
159
|
0 |
110 |
if ($^O =~ /^MSWin/u) |
184
|
8713 |
294 |
if ($pre) { } |
198
|
0 |
46525 |
if ($^O =~ /^MSWin/iu and not $o) |
204
|
8419 |
38106 |
if ($o) |
205
|
0 |
8419 |
if $fh_t |
207
|
0 |
8419 |
unless ($path =~ m[/]u) |
217
|
8419 |
0 |
if ($pre) |
229
|
0 |
6 |
if (exists $Rex::MODULE_PATHS->{$module}) |
235
|
63 |
40 |
unless (ref $_[0]{'server'}) |
249
|
1 |
106 |
if (@CONNECTION_STACK > 0) |
266
|
0 |
0 |
if (@caller) { } |
297
|
63 |
7319 |
unless (@CONNECTION_STACK) |
325
|
1189 |
6 |
if ($CONNECTION_STACK[-1]) |
327
|
0 |
1189 |
if ($ref =~ /SSH/u) |
342
|
113 |
0 |
if ($CONNECTION_STACK[-1]) |
344
|
113 |
0 |
if ($ref =~ /Local/u) |
360
|
0 |
3719 |
if (exists $CONNECTION_STACK[-1]{'server'}{'auth'}{'sudo'} and $CONNECTION_STACK[-1]{'server'}{'auth'}{'sudo'} == 1) { } |
|
0 |
7438 |
elsif (exists $CONNECTION_STACK[-1]{'server'}{'auth'}{'sudo'} and $CONNECTION_STACK[-1]{'server'}{'auth'}{'sudo'} == 0) { } |
371
|
0 |
3719 |
if ($GLOBAL_SUDO) |
373
|
3719 |
0 |
if ($CONNECTION_STACK[-1]) |
395
|
0 |
0 |
if ($CONNECTION_STACK[-1]) |
403
|
1887 |
10 |
if ($CONNECTION_STACK[-1]) |
445
|
0 |
0 |
if (not $cached_conn) { } |
458
|
0 |
0 |
unless ($conn->is_connected) |
475
|
0 |
0 |
unless ($conn->is_authenticated) |
495
|
0 |
0 |
if ($func) |
499
|
0 |
0 |
if (@msg) |
520
|
0 |
0 |
if ($version <= $v) |
533
|
0 |
0 |
if ($version > $v) |
546
|
0 |
685 |
if ($addition1 and ref $addition1 eq 'ARRAY') { } |
|
4 |
681 |
elsif ($addition1) { } |
560
|
36 |
649 |
if ($what eq "-minimal") |
568
|
4 |
637 |
if ($what eq "-base" or $what eq "base" or $what eq "-feature") |
630
|
4 |
681 |
if ($what eq "-feature" or $what eq "feature") |
632
|
4 |
0 |
unless (ref $addition1) |
639
|
3 |
1 |
if ($add =~ /^(\d+\.\d+)$/u) |
646
|
0 |
3 |
if (defined $dev_release and $c_major == $major and $c_minor > $minor) { } |
|
0 |
6 |
elsif ($c_major > $major or $c_major >= $major and $c_minor > $minor) { } |
663
|
0 |
4 |
if ($add =~ /^\d+\.\d+$/u and $add >= "1.4") |
669
|
0 |
4 |
if ($add =~ /^\d+\.\d+$/u and $add >= "1.3") |
675
|
0 |
4 |
if ($add =~ /^\d+\.\d+$/u and $add >= 1) |
681
|
0 |
4 |
if ($add =~ /^\d+\.\d+$/u and $add >= "0.56") |
687
|
0 |
4 |
if ($add =~ /^\d+\.\d+$/u and $add >= "0.55") |
693
|
1 |
3 |
if ($add =~ /^\d+\.\d+$/u and $add >= "0.54") |
703
|
1 |
3 |
if ($add =~ /^\d+\.\d+$/u and $add >= "0.53") |
709
|
1 |
3 |
if ($add =~ /^\d+\.\d+$/u and $add >= "0.51") |
736
|
1 |
3 |
if ($add =~ /^\d+\.\d+$/u and $add >= "0.4") |
743
|
1 |
3 |
if ($add =~ /^\d+\.\d+$/u and $add >= "0.35") |
750
|
3 |
1 |
if ($add =~ /^\d+\.\d+$/u and $add >= "0.31") |
756
|
1 |
3 |
if ($add eq "autodie") |
762
|
0 |
4 |
if ($add eq "no_autodie") |
768
|
0 |
4 |
if ($add eq "rex_kvm_agent") |
775
|
0 |
4 |
if ($add eq "template_ng") |
781
|
0 |
4 |
if ($add eq "no_template_ng") |
787
|
0 |
4 |
if ($add eq "register_cmdb_top_scope") |
793
|
0 |
4 |
if ($add eq "no_local_template_vars") |
799
|
0 |
4 |
if ($add eq "exit_status") |
805
|
0 |
4 |
if ($add eq "sudo_without_sh") |
812
|
0 |
4 |
if ($add eq "sudo_without_locales") |
819
|
0 |
4 |
if ($add eq "tty") |
825
|
0 |
4 |
if ($add eq "no_tty") |
831
|
0 |
4 |
if ($add eq "empty_groups") |
837
|
0 |
4 |
if ($add eq "use_server_auth") |
843
|
0 |
4 |
if ($add eq "exec_and_sleep") |
849
|
0 |
4 |
if ($add eq "disable_strict_host_key_checking") |
862
|
0 |
4 |
if ($add eq "source_profile") |
868
|
0 |
4 |
if ($add eq "source_global_profile") |
874
|
0 |
4 |
if ($add eq "no_path_cleanup") |
880
|
0 |
4 |
if ($add eq "exec_autodie") |
886
|
0 |
4 |
if ($add eq "no_cache") |
892
|
0 |
4 |
if ($add eq "verbose_run") |
898
|
0 |
4 |
if ($add eq "disable_taskname_warning") |
904
|
0 |
4 |
if ($add eq "no_task_chaining_cmdline_args") |
910
|
0 |
4 |
if ($add eq "task_chaining_cmdline_args") |
916
|
0 |
4 |
if ($add eq "write_utf8_files") |
922
|
0 |
4 |
if ($add eq "no_write_utf8_files") |
928
|
0 |
4 |
if ($found_feature == 0) |
940
|
0 |
685 |
if (exists $ENV{'REX_REPORT_TYPE'}) |
945
|
0 |
0 |
if (exists $ENV{'REX_SUDO'} and $ENV{'REX_SUDO'}) |