Branch Coverage

blib/lib/Mojo/RabbitMQ/Client/Channel.pm
Criterion Covered Total %
branch 0 46 0.0


line true false branch
29 0 0 if ($self->is_open)
57 0 0 if ($frame->isa('Net::AMQP::Frame::Method')) { }
60 0 0 if ($method_frame->isa('Net::AMQP::Protocol::Channel::Close')) { }
0 0 elsif ($method_frame->isa('Net::AMQP::Protocol::Basic::Deliver')) { }
0 0 elsif ($method_frame->isa('Net::AMQP::Protocol::Basic::Return')) { }
0 0 elsif ($method_frame->isa('Net::AMQP::Protocol::Channel::Flow')) { }
121 0 0 unless my $connection = $self->client
123 0 0 unless $self->is_open
125 0 0 if 0 == scalar keys %{$self->consumer_cbs;}
129 0 0 unless &isweak($self)
151 0 0 unless 0 == scalar keys %{$self->consumer_cbs;}
175 0 0 unless $self->is_open and $self->is_active
503 0 0 if $frame->method_frame->isa('Net::AMQP::Protocol::Basic::GetEmpty')
537 0 0 if (ref $_[0] eq 'HASH') { }
538 0 0 if (defined $_[0]{'ok'}) { }
0 0 elsif (defined $_[0]{'deliver'}) { }
547 0 0 unless defined $args{'delivery_tag'}
553 0 0 defined $args{'delivery_tag'} && $args{'delivery_tag'} != 0 ? :
621 0 0 unless $frame->isa('Net::AMQP::Frame::Header')
625 0 0 unless $header_frame->isa('Net::AMQP::Protocol::Basic::ContentHeader')
640 0 0 unless $frame->isa('Net::AMQP::Frame::Body')
645 0 0 if (length $body_payload < $body_size) { }
664 0 0 if defined $self