line |
true |
false |
branch |
17
|
7 |
6 |
if ref $commands[$#commands] eq 'IPC::Open3::Callback::Command::CommandOptions' |
19
|
3 |
10 |
if ref $commands[$#commands] eq 'HASH' |
21
|
7 |
6 |
if $command_options |
50
|
8 |
5 |
if ref $_[0] eq 'IPC::Open3::Callback::Command::CommandOptions' |
53
|
7 |
6 |
if ref $_[0] eq 'IPC::Open3::Callback::Command::CommandOptions' |
57
|
5 |
8 |
unless $source_command_options |
58
|
6 |
7 |
unless $destination_command_options |
62
|
6 |
7 |
if ($cp_options{'file'}) { } |
65
|
1 |
5 |
if ($cp_options{'compress'}) { } |
78
|
2 |
5 |
if ($cp_options{'archive'} and $cp_options{'archive'} eq 'zip') { } |
94
|
1 |
4 |
if ($cp_options{'status'}) |
109
|
2 |
3 |
if ($cp_options{'compress'}) |
183
|
1 |
1 |
if (ref $args[$#args] eq 'HASH') |
188
|
0 |
2 |
if $options->{'in_place'} |
189
|
0 |
2 |
if (defined $options->{'temp_script_file'}) { } |
191
|
0 |
0 |
if scalar @args |
198
|
0 |
0 |
if defined $options->{'replace_map'} |
203
|
1 |
1 |
if scalar @args |
208
|
1 |
1 |
if defined $options->{'replace_map'} |
210
|
0 |
2 |
if $options->{'files'} |
219
|
24 |
108 |
if (defined $sudo_username) |
220
|
22 |
2 |
$sudo_username ? : |
229
|
4 |
1 |
if ref $lines[$#lines] eq 'IPC::Open3::Callback::Command::CommandOptions' |
231
|
3 |
2 |
if ref $lines[$#lines] eq 'HASH' |
234
|
3 |
2 |
if (defined $write_options and defined $write_options->{'mode'}) { } |
|
1 |
1 |
elsif (defined $command_options) { } |
235
|
3 |
0 |
if (defined $command_options) { } |
|
0 |
0 |
elsif (defined $command_options) { } |
252
|
2 |
3 |
defined $write_options && defined $write_options->{'line_separator'} ? : |
263
|
40 |
43 |
if (ref $args[$#args] eq 'IPC::Open3::Callback::Command::CommandOptions') |
276
|
126 |
0 |
if (defined $command) |
277
|
43 |
83 |
if ($commands++ > 0) |
279
|
0 |
43 |
if ($pretty) |
292
|
3 |
80 |
if ($wrap_options->{'subshell'}) |
296
|
54 |
24 |
unless (defined $username or defined $hostname) |
302
|
1 |
4 |
$ssh =~ /plink(?:\.exe)?$/ ? : |
|
5 |
24 |
$username ? : |
324
|
3 |
2 |
if (exists $instance->{'hostname'} and not exists $options{'hostname'}) |
327
|
0 |
5 |
if (exists $instance->{'ssh'} and not exists $options{'ssh'}) |
330
|
0 |
5 |
if (exists $instance->{'username'} and not exists $options{'username'}) |
333
|
0 |
5 |
if (exists $instance->{'sudo_username'} and not exists $options{'sudo_username'}) |
336
|
0 |
5 |
if (exists $instance->{'pretty'} and not exists $options{'pretty'}) |
345
|
32 |
13 |
if defined $options{'hostname'} |
346
|
1 |
44 |
if defined $options{'ssh'} |
347
|
5 |
40 |
if defined $options{'username'} |
348
|
17 |
28 |
if defined $options{'sudo_username'} |
349
|
0 |
45 |
if defined $options{'pretty'} |