| line |
true |
false |
branch |
|
57
|
4 |
35 |
unless $value |
|
102
|
1 |
16 |
unless defined $socket |
|
105
|
15 |
1 |
if ($self->tcp_nodelay) |
|
106
|
0 |
15 |
unless $socket->setsockopt(6, 1, 1) |
|
110
|
6 |
10 |
unless defined $self->timeout_provider |
|
189
|
3 |
0 |
if (defined $response) |
|
190
|
1 |
2 |
$return_all ? : |
|
207
|
3 |
1 |
if (defined $response) |
|
208
|
1 |
2 |
$return_all ? : |
|
228
|
0 |
2 |
!defined($response) ? : |
|
257
|
1 |
0 |
if defined $response |
|
303
|
2 |
1 |
if ($content_type ||= 'application/json') eq 'application/json' |
|
315
|
0 |
5 |
if $vclock |
|
326
|
0 |
5 |
$indexes ? : |
|
329
|
0 |
0 |
ref $v eq 'ARRAY' ? : |
|
400
|
0 |
6 |
if ref $value_to_match |
|
403
|
0 |
6 |
if defined $extra_parameters and $$extra_parameters{'stream'} |
|
415
|
0 |
6 |
$query_type ? : |
|
419
|
0 |
6 |
$query_type ? : |
|
439
|
0 |
3 |
ref $request ? : |
|
441
|
1 |
2 |
if $callback |
|
506
|
6 |
59 |
unless $self->autodie |
|
509
|
1 |
64 |
if ($self->_pid_change) |
|
515
|
6 |
59 |
unless $self->driver->perform_request('code', $request_code, 'body', $request_body) |
|
538
|
19 |
43 |
if defined $response_error |
|
545
|
1 |
42 |
if $response_code == $ERROR_RESPONSE_CODE |
|
552
|
1 |
41 |
if $response_code != $expected_code |
|
558
|
0 |
41 |
if $response_code == $GET_CLIENT_ID_RESPONSE_CODE |
|
562
|
14 |
27 |
if $response_code == $GET_RESPONSE_CODE |
|
569
|
3 |
24 |
if ($response_code == $GET_KEYS_RESPONSE_CODE) { } |
|
|
5 |
19 |
elsif ($response_code == $QUERY_INDEX_RESPONSE_CODE) { } |
|
|
4 |
15 |
elsif ($response_code == $MAP_REDUCE_RESPONSE_CODE) { } |
|
572
|
3 |
0 |
if ($callback) { } |
|
574
|
2 |
1 |
if $obj->done |
|
579
|
0 |
0 |
if $obj->done |
|
589
|
3 |
2 |
if ($paginate and wantarray) { } |
|
600
|
4 |
0 |
$decode ? : |
|
605
|
2 |
2 |
if ($callback) { } |
|
606
|
1 |
1 |
if $obj->done |
|
611
|
1 |
1 |
if $obj->done |
|
627
|
0 |
0 |
unless defined $encoded_message |
|
638
|
1 |
13 |
unless defined $encoded_message |
|
644
|
11 |
2 |
if (ref $contents eq 'ARRAY') |
|
650
|
2 |
9 |
$decode ? : |
|
680
|
20 |
8 |
if ($operation eq $PING) { } |
|
|
1 |
7 |
elsif ($operation eq $QUERY_INDEX) { } |
|
|
1 |
6 |
elsif ($operation eq $MAP_REDUCE) { } |
|
695
|
24 |
4 |
if $self->autodie |