| line |
true |
false |
branch |
|
28
|
1 |
1 |
if (ref $option[0]) { } |
|
51
|
0 |
2 |
unless ref $excludes eq "ARRAY" |
|
60
|
2 |
11 |
if match_glob($cmp, $file) |
|
100
|
0 |
0 |
if (exists $options->{'files'} and exists $options->{'files'}{'mode'}) |
|
104
|
0 |
0 |
if (exists $options->{'files'} and exists $options->{'files'}{'owner'}) |
|
108
|
0 |
0 |
if (exists $options->{'files'} and exists $options->{'files'}{'group'}) |
|
113
|
0 |
0 |
if (exists $options->{'directories'} and exists $options->{'directories'}{'mode'}) |
|
121
|
0 |
0 |
if (exists $options->{'directories'} and exists $options->{'directories'}{'owner'}) |
|
129
|
0 |
0 |
if (exists $options->{'directories'} and exists $options->{'directories'}{'group'}) |
|
138
|
4 |
2 |
if ($remote_dir) |
|
145
|
0 |
6 |
if ($file->{'path'} =~ /\.tpl$/u and $options->{'parse_templates'}) { } |
|
164
|
0 |
0 |
if (exists $options->{'on_change'} and ref $options->{'on_change'} eq "CODE" and scalar @uploaded_files > 0) |
|
182
|
1 |
1 |
if (ref $option[0]) { } |
|
197
|
0 |
2 |
unless ref $excludes eq "ARRAY" |
|
206
|
2 |
11 |
if match_glob($cmp, $file) |
|
242
|
4 |
2 |
if ($remote_dir) |
|
257
|
0 |
0 |
if (exists $options->{'on_change'} and ref $options->{'on_change'} eq "CODE" and scalar @diff > 0) |
|
264
|
0 |
0 |
if (substr($dest, -1) eq "/") |
|
276
|
0 |
4 |
unless (-d $source) |
|
283
|
0 |
11 |
if $entry eq "." |
|
284
|
0 |
11 |
if $entry eq ".." |
|
288
|
2 |
9 |
if &$exclude_sub($name) |
|
290
|
3 |
6 |
if (is_dir("$dir/$entry")) |
|
314
|
0 |
4 |
unless (is_dir($dest)) |
|
321
|
0 |
11 |
if $entry eq "." |
|
322
|
0 |
11 |
if $entry eq ".." |
|
326
|
2 |
9 |
if &$exclude_sub($name) |
|
328
|
3 |
6 |
if (is_dir("$dir/$entry")) |
|
359
|
12 |
0 |
if not $checksums{$file->{'name'}} or $checksums{$file->{'name'}} ne $file->{'md5'} |