Condition Coverage

blib/lib/Net/SFTP/Foreign/Common.pm
Criterion Covered Total %
condition 0 72 0.0


and 3 conditions

line !l l&&!r l&&r condition
42 0 0 0 ${^TAINT} and &tainted($str)
45 0 0 0 defined $str and length $str
48 0 0 0 $debug and $debug & 64
65 0 0 0 ${^TAINT} and &tainted($str)
71 0 0 0 $debug and $debug & 64
94 0 0 0 $sftp->{'_error'} and $sftp->{'_error'} == 37
151 0 0 0 $on_error and $sftp->error
198 0 0 0 $follow_links && _is_lnk($entry->{'a'}->perm)
203 0 0 0 defined $rp and not $rpdone{$rp}++
244 0 0 0 _is_dir($a->perm) and $done{$fn}++
329 0 0 0 @parts and @res
351 0 0 0 @parts || $follow_links and _is_lnk($e->{'a'}->perm)
382 0 0 0 $on_error and $sftp->_call_on_error($on_error, $parent)

or 3 conditions

line l !l&&r !l&&!r condition
46 0 0 0 $status_str{$code} || "Unknown status ($code)"
146 0 0 0 $best_effort || !$sftp->{'_error'}
200 0 0 0 $follow or $realpath
217 0 0 0 not $wanted or &$wanted($self, $entry)
241 0 0 0 $try->{'a'} ||= $self->lstat($fn)
249 0 0 0 not $descend or &$descend($self, $try)
250 0 0 0 $ordered or $atomic_readdir
351 0 0 0 @parts || $follow_links
361 0 0 0 not $wanted or &$wanted($sftp, $e)
386 0 0 0 @parts || $follow_links
389 0 0 0 not $wanted or &$wanted($sftp, $e)