Branch Coverage

lib/Beekeeper/Service/Router/Worker.pm
Criterion Covered Total %
branch 0 66 0.0


line true false branch
26 0 0 unless $self->__has_authorization_token("BKPR_ROUTER")
47 0 0 unless (@$frontends_config)
99 0 0 $delay < 10 ? :
139 0 0 unless $success
155 0 0 unless $success
185 0 0 unless $success
200 0 0 unless $frontend_bus->{'is_connected'}
244 0 0 unless $dest_queue =~ m[^req(?:/(?!_)[\w-]+)+$]
248 0 0 unless $reply_to =~ m[^priv/(\w{16,23})$]
264 0 0 if (defined $mqtt_session)
333 0 0 unless (keys %{$$self{"FRONTEND"};} and $self->{'wait_frontends_up'}->ready)
362 0 0 if (defined $address) { }
409 0 0 unless $frontend_bus->{'is_connected'}
430 0 0 if (defined $value) { }
0 0 elsif (defined $old_value) { }
435 0 0 unless defined $addr
438 0 0 if grep {$_ eq $topic;} @$relpy_topics
449 0 0 unless defined $addr
453 0 0 unless @$relpy_topics
457 0 0 unless @$caller_sessions
476 0 0 unless (defined $caller_id and $caller_id =~ /^\w{16,}$/)
478 0 0 $caller_id ? :
481 0 0 unless (defined $caller_addr and $caller_addr =~ m[^priv/\w+\@[\w-]+$])
483 0 0 $caller_id ? :
486 0 0 if (defined $address)
490 0 0 unless ($address =~ /^[\w-]+\.[\w-]+$/)
495 0 0 unless ($address =~ /^$frontend_role\./)
516 0 0 if (defined $caller_id and not $caller_id =~ /^\w{16,}$/)
521 0 0 if (defined $address and not $address =~ /^$frontend_role\.[\w-]+$/)
526 0 0 unless ($caller_id or $address)
530 0 0 if ($caller_id)
535 0 0 if ($address)
542 0 0 $sessions ? :