Branch Coverage

blib/lib/URI/amqp.pm
Criterion Covered Total %
branch 41 44 93.1


line true false branch
54 10 9 unless length $vhost
83 1 1 if defined $self->user
84 1 1 if defined $self->password
85 2 0 if defined $self->port
86 1 1 if defined $self->vhost
87 1 1 if defined $self->query_param('channel_max')
88 1 1 if defined $self->query_param('frame_max')
89 1 1 if defined $self->query_param('heartbeat')
90 1 1 if scalar $self->query_param('connection_timeout')
92 1 1 if $self->secure
93 1 1 if defined $self->query_param('verify')
94 1 1 if defined $self->query_param('cacertfile')
123 2 0 if defined $self->host
124 2 0 if defined $self->port
125 1 1 if defined $self->user
126 1 1 if defined $self->password
127 1 1 if defined $self->vhost
128 1 1 if defined $self->query_param('connection_timeout')
130 1 1 if $self->secure
131 1 1 if defined $self->query_param('heartbeat')
132 1 1 if defined $self->query_param('channel_max')
134 1 1 if defined $self->query_param('frame_max')