Branch Coverage

blib/lib/RPC/ExtDirect/Client/Async.pm
Criterion Covered Total %
branch 44 60 73.3


line true false branch
93 2 0 'ARRAY' eq ref $@ ? :
2 62 if ($@)
127 1 11 if ($api) { }
131 1 0 if $cv
136 1 0 if $api_cb
138 1 0 if $cv
154 10 1 if ($success) { }
162 2 9 if $self->api_cb
192 1 10 unless ($success)
193 1 0 if ($status ne '200') { }
0 0 elsif (not $content_length) { }
202 11 0 if $cv
213 11 0 if $cv
283 1 61 unless $api_success
287 8 53 $type eq 'poll' ? :
297 29 32 if (my $xcpt = $@)
298 29 0 'ARRAY' eq ref $xcpt ? :
324 0 62 if (my $fatal_exception = $self->exception) { }
24 38 elsif ($self->api_ready) { }
356 8 26 if ($$to{'headers'} and my $cookies = $$to{'headers'}{'Cookie'})
376 0 32 unless $success
381 32 0 if $success
389 0 32 'ARRAY' eq ref $@ ? :
391 0 32 if $error
394 23 1 'HASH' eq ref $response ? :
8 24 'poll' eq $type ? :
415 2 62 if 'CODE' ne ref $cb and not $cb && $cb->isa('AnyEvent::CondVar')
432 30 32 if $cv
441 62 0 if $cb
442 30 32 if $cv