Condition Coverage

lib/Beekeeper/Service/Router/Worker.pm
Criterion Covered Total %
condition 0 40 0.0


and 3 conditions

line !l l&&!r l&&r condition
315 0 0 0 keys %{$$self{'FRONTEND'};} and $self->{'wait_frontends_up'}->ready
448 0 0 0 defined $caller_id and $caller_id =~ /^\w{16,}$/
453 0 0 0 defined $caller_addr and $caller_addr =~ m[^priv/\w+\@[\w-]+$]
488 0 0 0 defined $caller_id and not $caller_id =~ /^\w{16,}$/
493 0 0 0 defined $address and not $address =~ /^$frontend_role\.[\w-]+$/

or 2 conditions

line l !l condition
37 0 0 $worker_config->{'session_timeout'} || 1800
38 0 0 $worker_config->{'shutdown_wait'} || 2
39 0 0 $worker_config->{'frontend_role'} || 'frontend'
73 0 0 $_[0] || ''
225 0 0 $mqtt_properties->{'fwd_to'} || ''
229 0 0 $mqtt_properties->{'response_topic'} || ''
347 0 0 $self->{'Addr_to_topics'}{$address} || (return)
353 0 0 $self->{'FRONTEND'}{$bus_id} || (next)
409 0 0 $self->{'Addr_to_topics'}{$addr} ||= []
413 0 0 $self->{'Addr_to_sessions'}{$addr} ||= []
423 0 0 $self->{'Addr_to_topics'}{$addr} || (return)

or 3 conditions

line l !l&&r !l&&!r condition
498 0 0 0 $caller_id or $address