Branch Coverage

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


line true false branch
84 0 0 if ($parser->size < $MIN_MESSAGE_SIZE)
100 0 0 if ($flags & 2) { }
127 0 0 if ($command_name) { }
130 0 0 unless ($INC{$command_filename} or $main::_INC{$command_filename})
132 0 0 unless (eval { do { require $command_filename; 1 } })
140 0 0 unless $command->is_success or $command->is('SessionSetup')
142 0 0 unless $command = $command->parse($parser)
167 0 0 if ($is_response) { }
172 0 0 if ($is_chained and not $is_first) { }
179 0 0 if (not $is_chained or $is_first)
190 0 0 $is_response ? :
198 0 0 if ($flags & 2) { }
208 0 0 $command->is_success ? :
211 0 0 if $command->is_success or $command->is('SessionSetup')
212 0 0 if $command->is_error and not $command->is('SessionSetup')
215 0 0 if $command->is('Negotiate') and not $is_response
218 0 0 if $size > $size0 and not $payload_allowed
220 0 0 if $size0 > $size
223 0 0 if ($is_chained and not $is_last)
231 0 0 if (not $is_chained or $is_last)