blib/lib/App/MBUtiny/Storage/SFTP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 1 | 46 | 2.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
166 | 1 | 0 | 0 | $usesftp and $NET_SFTP_FOREIGN |
179 | 0 | 0 | 0 | is_void($self->sftp_storages) and $self->storage_status($sign) <= 0 |
249 | 0 | 0 | 0 | $ostat and length $path |
272 | 0 | 0 | 0 | $ls and is_array($ls) |
333 | 0 | 0 | 0 | $ls and is_array($ls) |
394 | 0 | 0 | 0 | $ostat and length $path |
409 | 0 | 0 | 0 | $ls and is_array($ls) |
0 | 0 | 0 | $ls and is_array($ls) and @$ls | |
457 | 0 | 0 | 0 | $ls and is_array($ls) |
463 | 0 | 0 | 0 | defined $f and length $f |
line | l | !l | condition |
---|---|---|---|
142 | 0 | 0 | array($sftp_node, 'url') || [] |
143 | 0 | 0 | value($sftp_node, 'comment') || '' |
172 | 0 | 0 | $self->{'sftp_storages'} || [] |
232 | 0 | 0 | $params{'size'} || 0 |
237 | 0 | 0 | $storage->{'comment'} || '' |
277 | 0 | 0 | $file->{'a'}->size || 0 |
339 | 0 | 0 | $file->{'a'}->size || 0 |
350 | 0 | 0 | filesize($file) // 0 |