Condition Coverage

lib/SMB/v2/Commands.pm
Criterion Covered Total %
condition 0 40 0.0


and 3 conditions

line !l l&&!r l&&r condition
172 0 0 0 $is_chained and not $is_first
211 0 0 0 $command->is_error && !$command->is('SessionSetup')
217 0 0 0 $command->is('Negotiate') and not $is_response
220 0 0 0 $size > $size0 and not $payload_allowed
0 0 0 $size > $size0 and not $payload_allowed and not $is_error_packet
225 0 0 0 $is_chained and not $is_last

or 2 conditions

line l !l condition
82 0 0 shift() || die()
192 0 0 $header->credits || 1

or 3 conditions

line l !l&&r !l&&!r condition
130 0 0 0 $INC{$command_filename} or $main::_INC{$command_filename}
140 0 0 0 $command->is_success or $command->is('SessionSetup')
161 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
179 0 0 0 not $is_chained or $is_first
233 0 0 0 not $is_chained or $is_last