Condition Coverage

blib/lib/App/MBUtiny/Storage/SFTP.pm
Criterion Covered Total %
condition 1 46 2.1


and 3 conditions

line !l l&&!r l&&r condition
167 1 0 0 $usesftp and $NET_SFTP_FOREIGN
180 0 0 0 is_void($self->sftp_storages) and $self->storage_status($sign) <= 0
250 0 0 0 $ostat and length $path
273 0 0 0 $ls and is_array($ls)
334 0 0 0 $ls and is_array($ls)
395 0 0 0 $ostat and length $path
410 0 0 0 $ls and is_array($ls)
0 0 0 $ls and is_array($ls) and @$ls
458 0 0 0 $ls and is_array($ls)
464 0 0 0 defined $f and length $f

or 2 conditions

line l !l condition
143 0 0 array($sftp_node, 'url') || []
144 0 0 value($sftp_node, 'comment') || ''
173 0 0 $self->{'sftp_storages'} || []
233 0 0 $params{'size'} || 0
238 0 0 $storage->{'comment'} || ''
278 0 0 $file->{'a'}->size || 0
340 0 0 $file->{'a'}->size || 0
351 0 0 filesize($file) // 0