Branch Coverage

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


line true false branch
63 0 0 unless ($self->disable_log)
65 0 0 $id =~ /^-(.*)/ ? :
84 0 0 unless $socket and $socket->opened
99 0 0 wantarray ? :
111 0 0 if ($len != 4)
116 0 0 if ($packet_type != 0 or $packet_flags > 1)
120 0 0 if $packet_flags
122 0 0 if ($len != $packet_len)
133 0 0 unless $self->recv_nbss
138 0 0 if ($smb_str ne 'SMB' or $smb_num != 255 and $smb_num != 254)
144 0 0 if $self->verbose
147 0 0 $is_smb1 ? :
151 0 0 if ($command) { }
154 0 0 $is_smb1 ? :
164 0 0 if $self->verbose
167 0 0 if (not $self->socket->write($data, length $data))
181 0 0 $command->is_smb1 ? :
192 0 0 if $$self{'disable_log'}