Condition Coverage

blib/lib/Net/SFTP/Server/FS.pm
Criterion Covered Total %
condition 0 38 0.0


and 3 conditions

line !l l&&!r l&&r condition
113 0 0 0 $debug and $debug & 128
164 0 0 0 $debug and $debug & 2
206 0 0 0 $debug and $debug & 2
210 0 0 0 $debug and $debug & 2
223 0 0 0 $debug and $debug & 2
261 0 0 0 $debug and $debug & 2

or 2 conditions

line l !l condition
82 0 0 $errno2status[$errno] // 4
170 0 0 $self->get_file_handler($hid) // (return $self->push_status_response($id, 4, 'Bad handler'))
175 0 0 sysseek($fh, $off, 0) // (return $self->push_status_errno_response($id))
176 0 0 sysread($fh, my $data, $len) // (return $self->push_status_errno_response($id))
188 0 0 $self->get_file_handler($hid) // (return $self->push_status_response($id, 4, 'Bad handler'))
191 0 0 sysseek($fh, $off, 0) // (return $self->push_status_errno_response($id))
318 0 0 $self->get_handler($hid) // (return $self->push_status_response($id, 4, 'Bad file handler'))
339 0 0 $self->get_file_handler($hid) // (return $self->push_status_response($id, 4, 'Bad file handler'))
379 0 0 eval { do { realpath($path) } } // (return $self->push_status_errno_response($id))
397 0 0 eval { do { readlink $path } } // (return $self->push_status_errno_response($id))