| line | % | coverage | branch |
| 38 | 0 | T | F | unless defined $_[1] |
| 39 | 0 | T | F | if exists $_CACHE{$_[1]} |
| 44 | 0 | T | F | if (not exists $$self{'peer_handle'} or not $$self{'peer_handle'}) |
| 67 | 0 | T | F | if (not exists $$self{'peer_handle'} or not $$self{'peer_handle'}) |
| 83 | 0 | T | F | unless $sess_id and $remote_id and $service |
| 87 | 0 | T | F | unless $sess_id and $remote_id and $service |
| 89 | 0 | T | F | if (my $thingy = $class->find($sess_id)) |
| 94 | 0 | T | F | if ($service eq 'client') |
| 112 | 0 | T | F | if defined $max_requests |
| 139 | 0 | T | F | if defined $datum |
| 148 | 0 | T | F | if not $$self{'max_requests'} |
| 149 | 0 | T | F | $$self{'requests'} <= $$self{'max_requests'} ? : |
| 154 | 0 | T | F | if ($payload) |
| 162 | 0 | T | F | if ($type) |
| 163 | 0 | T | F | if $self->endpoint == SERVER() |
| 171 | 0 | T | F | if ($type) |
| 183 | 0 | T | F | if $conf->bootstrap->domains |
| 185 | 0 | T | F | unless ($router_name and $domain) |
| 196 | 0 | T | F | if defined $state |
| 210 | 0 | T | F | if not defined $api_level |
| 218 | 0 | T | F | if ($app ne 'opensrf.settings' or $c->has_config) |
| 231 | 0 | T | F | if (not $peer_handle) |
| 235 | 0 | T | F | $quiet ? : |
| 258 | 0 | T | F | if defined $err |
| 292 | 0 | T | F | if (ref $self and ($self->state and $self->state == CONNECTED())) { } |
| 297 | 0 | T | F | if ref $self and ($self->state and $self->state == CONNECTED()) |
| 302 | 0 | T | F | unless defined $api_level |
| 304 | 0 | T | F | if not ref $self |
| 306 | 0 | T | F | unless $self |
| 339 | 0 | T | F | unless $self->state == CONNECTED() |
| 348 | 0 | T | F | if (not $self->session_id) |
| 357 | 0 | T | F | if (exists $$self{'callbacks'}{$type}) |
| 375 | 0 | T | F | if (not $self->session_id) |
| 378 | 0 | T | F | if (exists $$self{'callbacks'}{'death'}) |
| 394 | 0 | T | F | if (exists $$self{'callbacks'}{'disconnect'}) |
| 400 | 0 | T | F | if (not $self->stateless and $self->state != DISCONNECTED()) |
| 401 | 0 | T | F | if $self->endpoint == CLIENT() |
| 411 | 0 | T | F | unless $self |
| 417 | 0 | T | F | if (not ref $meth) { } |
| 433 | 0 | T | F | if (not ref $meth) { } |
| 448 | 0 | T | F | unless $self and $$self{'peer_handle'} |
| 454 | 0 | T | F | if (@payload_list % 2) |
| 456 | 0 | T | F | if (not @payload_list) |
| 470 | 0 | T | F | if ($msg_type eq 'DISCONNECT') |
| 472 | 0 | T | F | if ($self->state == DISCONNECTED() and not $connecting) |
| 477 | 0 | T | F | if ($msg_type eq 'CONNECT') |
| 488 | 0 | T | F | if ($msg->type eq 'REQUEST') |
| 489 | 0 | T | F | if (not defined $tT or $self->last_threadTrace != $tT) |
| 498 | 0 | T | F | if $payload |
| 501 | 0 | T | F | if $locale |
| 511 | 0 | T | F | if ($self->endpoint == CLIENT() and not $disconnect) |
| 515 | 0 | T | F | if ($self->stateless and $self->state != CONNECTED()) |
| 520 | 0 | T | F | if (not $self->stateless and $self->state != CONNECTED()) |
| 524 | 0 | T | F | unless ($self->state == CONNECTING() and $connecting) |
| 527 | 0 | T | F | if (not $v) |
| 531 | 0 | T | F | if (ref $v and $v->can('class') and $v->class->isa('OpenSRF::EX')) |
| 546 | 0 | T | F | if ($disconnect) |
| 559 | 0 | T | F | unless defined $tT |
| 588 | 0 | T | F | if $req |
| 597 | 0 | T | F | if (defined $new_last_threadTrace) |
| 599 | 0 | T | F | unless $old_last_threadTrace |
| 610 | 0 | T | F | if (defined $new_last_threadTrace) |
| 612 | 0 | T | F | unless $old_last_threadTrace |
| 623 | 0 | T | F | if (defined $new_last_message_type) |
| 625 | 0 | T | F | unless $old_last_message_type |
| 636 | 0 | T | F | if (defined $new_last_message_api_level) |
| 638 | 0 | T | F | unless $old_last_message_api_level |
| 649 | 0 | T | F | if (defined $new_remote_id) |
| 651 | 0 | T | F | unless $old_remote_id |
| 663 | 0 | T | F | if (defined $new_ua) |
| 665 | 0 | T | F | unless $old_ua |
| 676 | 0 | T | F | if (defined $new_state) |
| 678 | 0 | T | F | unless $old_state |
| 695 | 0 | T | F | if (@proto_args) |
| 696 | 0 | T | F | if (not @proto_args % 2) { } |
| 0 | T | F | elsif (@proto_args == 1) { } |
| 705 | 0 | T | F | if (exists $args{'timeout'}) |
| 712 | 0 | T | F | if (defined $args{'timeout'}) |
| 719 | 0 | T | F | if (not $args{'count'}) |
| 720 | 0 | T | F | if (wantarray) { } |
| 728 | 0 | T | F | if $self->complete |
| 732 | 0 | T | F | if ($$self{'timeout_reset'}) { } |
| 740 | 0 | T | F | if $$self{'remaining_recv_timeout'} <= 0 |
| 745 | 0 | T | F | if scalar @list >= $args{'count'} |
| 751 | 0 | T | F | if not wantarray |
| 758 | 0 | T | F | if defined $out |
| 771 | 0 | T | F | unless $req->complete |
| 778 | 0 | T | F | if (not $$self{'peer_handle'}) |
| 797 | 0 | T | F | unless $self |
| 845 | 0 | T | F | if (defined $timeout) |
| 859 | 0 | T | F | unless $self and $self->session and not $self->complete |
| 865 | 0 | T | F | unless $self->session |
| 877 | 0 | T | F | if $$self{'complete'} |
| 878 | 0 | T | F | if (defined $complete) { } |
| 880 | 0 | T | F | if $$self{'complete'} |
| 915 | 0 | T | F | if (not $resp) |
| 916 | 0 | T | F | if (UNIVERSAL::isa($resp, 'Error')) |
| 938 | 0 | T | F | unless $self and $self->session and not $self->complete |
| 946 | 0 | T | F | unless $self and $self->session and not $self->complete |
| 962 | 0 | T | F | unless $self and $self->session and not $self->complete |
| 965 | 0 | T | F | if (ref $msg and UNIVERSAL::isa($msg, 'OpenSRF::DomainObject::oilsResult')) { } |
| 978 | 0 | T | F | unless $self and $self->session and not $self->complete |
| 981 | 0 | T | F | if (ref $msg and UNIVERSAL::isa($msg, 'OpenSRF::DomainObject::oilsResult')) { } |
| 1012 | 0 | T | F | if ($self->failed) |
| 1016 | 0 | T | F | if (not $resp) |
| 1018 | 0 | T | F | if ($finish) |
| 1028 | 0 | T | F | if defined $resp |
| 1043 | 0 | T | F | if $s |