line |
true |
false |
branch |
16
|
0 |
1 |
unless $params{'datastore'} |
17
|
0 |
1 |
unless $params{'sha512'} |
40
|
0 |
4 |
unless $sha512 =~ /^(.)(.)(.{6})/ |
48
|
0 |
0 |
if (-f $dir . '/' . $subFilePath) |
55
|
0 |
4 |
if ($self->{'p2p'}) { } |
73
|
0 |
0 |
unless $self->{'mirrors'} |
76
|
0 |
0 |
if ($self->{'p2p'}) |
78
|
0 |
0 |
if ($FusionInventory::Agent::Task::Deploy::File::EVAL_ERROR) { } |
87
|
0 |
0 |
if $FusionInventory::Agent::Task::Deploy::File::EVAL_ERROR |
95
|
0 |
0 |
if (-f $path) |
96
|
0 |
0 |
if $self->_getSha512ByFile($path) eq $sha512 |
101
|
0 |
0 |
if ($lastPeer) |
103
|
0 |
0 |
if $success |
109
|
0 |
0 |
if ($success) |
118
|
0 |
0 |
if $success |
134
|
0 |
0 |
unless $sha512 =~ /^(.)(.)/ |
143
|
0 |
0 |
if $response->code != 200 |
144
|
0 |
0 |
unless -f $path |
146
|
0 |
0 |
if ($self->_getSha512ByFile($path) ne $sha512) |
161
|
1 |
1 |
unless -f $filePath |
177
|
0 |
0 |
if $@ |
186
|
0 |
0 |
if (-f $filePath) |
187
|
0 |
0 |
if ($self->_getSha512ByFile($filePath) eq $self->{'sha512'}) |