line |
true |
false |
branch |
24
|
1 |
0 |
if ($args{'TESTING'})
|
37
|
0 |
0 |
if $$self{'routing_key'} =~ /%c|%p/
|
50
|
0 |
0 |
if exists $args{$name}
|
61
|
0 |
0 |
if exists $args{$name}
|
76
|
0 |
0 |
if exists $args{$name}
|
84
|
0 |
0 |
if $$self{'declare_exchange'}
|
91
|
0 |
0 |
unless (eval {
do {
$$self{'mq'} = _connect_cached($$self{'host'}, \%connect_options);
$$self{'mq'}->exchange_declare($CHANNEL, $$self{'publish_options'}{'exchange'}, $$self{'exchange_options'}) if $$self{'declare_exchange'};
1
}
})
|
118
|
0 |
0 |
if $connection_cache{$cache_key}
|
141
|
0 |
0 |
unless $mq
|
147
|
0 |
0 |
if ($$self{'interpolate_routing_key'})
|
156
|
0 |
0 |
unless (eval {
do {
$mq->publish($CHANNEL, $routing_key, $args{'message'}, $$self{'publish_options'});
1
}
})
|