Condition Coverage

lib/Beekeeper/Client.pm
Criterion Covered Total %
condition 14 44 31.8


and 3 conditions

line !l l&&!r l&&r condition
65 6 0 0 exists $args{'username'} and exists $args{'password'}
170 0 0 0 defined $addr and $addr =~ s/^\.//
228 0 0 0 ref $request eq "HASH" and $request->{'jsonrpc'} eq "2.0"
238 0 0 0 defined $method and $method =~ /^([\.\w-]+)\.([\w-]+)$/
323 45 1 5 not exists $resp->{'result'} and $req->{'_raise_error'}
379 0 0 0 defined $addr and $addr =~ s/^\.//
442 13 0 0 $raise_error and not $req->{'_on_error_cb'}
509 0 0 64 ref $resp eq "HASH" and $resp->{'jsonrpc'} eq "2.0"
549 0 0 0 defined $method and $method =~ /^([\.\w-]+)\.([\w-]+)$/

or 2 conditions

line l !l condition
464 15 49 $args{'timeout'} || 60

or 3 conditions

line l !l&&r !l&&!r condition
97 0 6 0 delete $args{'auth_salt'} || $args{'bus_id'}
244 0 0 0 $$callbacks{"msg.$1.$2"} || $$callbacks{"msg.$1.*"}
404 61 6 0 $client->{'response_topic'} || $self->__create_response_topic
450 3 1 9 not $client->{'async_cv'} or $client->{'async_cv'}->ready
555 0 0 0 $client->{'callbacks'}{"msg.$1.$2"} || $client->{'callbacks'}{"msg.$1.*"}