lib/Beekeeper/Client.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 44 | 31.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
65 | 6 | 0 | 0 | exists $args{'username'} and exists $args{'password'} |
168 | 0 | 0 | 0 | defined $addr and $addr =~ s/^\.// |
226 | 0 | 0 | 0 | ref $request eq 'HASH' and $request->{'jsonrpc'} eq '2.0' |
236 | 0 | 0 | 0 | defined $method and $method =~ /^([\.\w-]+)\.([\w-]+)$/ |
321 | 45 | 1 | 5 | not exists $resp->{'result'} and $req->{'_raise_error'} |
377 | 0 | 0 | 0 | defined $addr and $addr =~ s/^\.// |
440 | 13 | 0 | 0 | $raise_error and not $req->{'_on_error_cb'} |
495 | 0 | 0 | 64 | ref $resp eq 'HASH' and $resp->{'jsonrpc'} eq '2.0' |
535 | 0 | 0 | 0 | defined $method and $method =~ /^([\.\w-]+)\.([\w-]+)$/ |
line | l | !l | condition |
---|---|---|---|
462 | 15 | 49 | $args{'timeout'} || 60 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
95 | 0 | 6 | 0 | delete $args{'auth_salt'} || $args{'bus_id'} |
242 | 0 | 0 | 0 | $$callbacks{"msg.$1.$2"} || $$callbacks{"msg.$1.*"} |
402 | 61 | 6 | 0 | $client->{'response_topic'} || $self->__create_response_topic |
448 | 3 | 1 | 9 | not $client->{'async_cv'} or $client->{'async_cv'}->ready |
541 | 0 | 0 | 0 | $client->{'callbacks'}{"msg.$1.$2"} || $client->{'callbacks'}{"msg.$1.*"} |