| lib/SMB/v2/Commands.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 0 | 43 | 0.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 182 | 0 | 0 | 0 | $is_chained and not $is_first |
| 220 | 0 | 0 | 0 | $command->is_error && !$command->is('SessionSetup') |
| 227 | 0 | 0 | 0 | $command->is('Negotiate') and not $is_response |
| 230 | 0 | 0 | 0 | $size > $size0 and not $payload_allowed |
| 0 | 0 | 0 | $size > $size0 and not $payload_allowed and not $is_error_packet | |
| 235 | 0 | 0 | 0 | $is_chained and not $is_last |
| line | l | !l | condition |
|---|---|---|---|
| 82 | 0 | 0 | shift() || die() |
| 202 | 0 | 0 | $header->credits || 1 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 138 | 0 | 0 | 0 | $INC{$command_filename} or $main::_INC{$command_filename} |
| 148 | 0 | 0 | 0 | $command->is_success or $command->is('SessionSetup') |
| 171 | 0 | 0 | 0 | $options{'struct_size'} // $command_struct_sizes[$header->code][$is_response] |
| 0 | 0 | 0 | ($options{'struct_size'} // $command_struct_sizes[$header->code][$is_response]) // $header->struct_size | |
| 189 | 0 | 0 | 0 | not $is_chained or $is_first |
| 223 | 0 | 0 | 0 | $is_error_packet ||= $command->is_error |
| 243 | 0 | 0 | 0 | not $is_chained or $is_last |