lib/SMB/Connection.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 26 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
84 | 0 | 0 | 0 | $socket and $socket->opened |
138 | 0 | 0 | 0 | $smb_num != 255 and $smb_num != 254 |
line | l | !l | condition |
---|---|---|---|
46 | 0 | 0 | shift() || die('No socket') |
47 | 0 | 0 | shift() || die('No id') |
50 | 0 | 0 | delete $options{'quiet'} || 0 |
51 | 0 | 0 | delete $options{'verbose'} || 0 |
94 | 0 | 0 | shift() || ref $this && $this->socket || (return) |
109 | 0 | 0 | $socket->read($data1, 4) // (return $self->err("Read failed: $!")) |
121 | 0 | 0 | $socket->read($data2, $packet_len) // 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
116 | 0 | 0 | 0 | $packet_type != 0 or $packet_flags > 1 |
138 | 0 | 0 | 0 | $smb_str ne 'SMB' or $smb_num != 255 and $smb_num != 254 |