Condition Coverage

blib/lib/Net/AMQP/RabbitMQ/Batch.pm
Criterion Covered Total %
condition 0 20 0.0


and 3 conditions

line !l l&&!r l&&r condition
157 0 0 0 defined $options->{'publish_options'} and not defined $options->{'routing_key'}
181 0 0 0 $success and $self->_check_messages($messages, $processed_messages, $options->{'batch'})
259 0 0 0 not $options->{'ignore_size'} and scalar @$messages != scalar @$processed_messages

or 2 conditions

line l !l condition
163 0 0 $options->{'ignore_errors'} || 0
203 0 0 $opts->{'size'} ||= 10
204 0 0 $opts->{'timeout'} ||= 30
205 0 0 $opts->{'sleep'} ||= 1

or 3 conditions

line l !l&&r !l&&!r condition
155 0 0 0 $options->{'channel_id'} || int(rand 65535) + 1