Condition Coverage

lib/SMB/Connection.pm
Criterion Covered Total %
condition 0 25 0.0


and 3 conditions

line !l l&&!r l&&r condition
79 0 0 0 $socket and $socket->opened
134 0 0 0 $smb_num != 255 and $smb_num != 254
156 0 0 0 $command and $command->has_next_in_chain

or 2 conditions

line l !l condition
46 0 0 shift() || die('No socket')
47 0 0 shift() || die('No id')
89 0 0 shift() || ref $this && $this->socket || (return)
104 0 0 $socket->read($data1, 4) // (return $self->err("Socket read failed: $!"))
116 0 0 $socket->read($data2, $packet_len) // 0

or 3 conditions

line l !l&&r !l&&!r condition
111 0 0 0 $packet_type != 0 or $packet_flags > 1
134 0 0 0 $smb_str ne 'SMB' or $smb_num != 255 and $smb_num != 254