Branch Coverage

blib/lib/Log/Log4perl/Appender/RabbitMQ.pm
Criterion Covered Total %
branch 15 22 68.1


line true false branch
24 2 0 if ($args{'TESTING'})
40 0 8 if exists $args{$name}
50 1 5 if exists $args{$name}
69 0 24 if exists $args{$name}
88 1 1 if $self->{'routing_key'} =~ /%c|%p/
100 1 0 if $self->{'declare_exchange'}
103 1 1 unless (eval {
117 2 3 if (not $self->{'_is_connected'} or $$ != $self->{'pid'})
138 0 2 if ($self->{'interpolate_routing_key'})
156 0 2 unless (eval {
171 2 0 if exists $self->{'mq'} and defined $self->{'mq'}