Branch Coverage

lib/SMB/Connection.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
58 0 0 unless ($self->log_level == 0)
60 0 0 $id =~ /^-(.*)/ ? :
79 0 0 unless $socket and $socket->opened
94 0 0 wantarray ? :
106 0 0 if ($len != 4)
111 0 0 if ($packet_type != 0 or $packet_flags > 1)
115 0 0 if $packet_flags
117 0 0 if ($len != $packet_len)
128 0 0 unless $self->recv_nbss
134 0 0 if ($smb_str ne 'SMB' or $smb_num != 255 and $smb_num != 254)
146 0 0 $is_smb1 ? :
150 0 0 if ($command) { }
154 0 0 $is_smb1 ? :
156 0 0 unless $command and $command->has_next_in_chain
168 0 0 if (not $self->socket->write($data, length $data))
182 0 0 $command->is_smb1 ? :
193 0 0 if $level > $self->{'log_level'}