| line |
true |
false |
branch |
|
62
|
4 |
41 |
unless $value |
|
109
|
1 |
16 |
unless defined $socket |
|
112
|
15 |
1 |
if ($self->tcp_nodelay) |
|
113
|
0 |
15 |
unless $socket->setsockopt(6, 1, 1) |
|
117
|
6 |
10 |
unless defined $self->timeout_provider |
|
196
|
3 |
0 |
if (defined $response) |
|
197
|
1 |
2 |
$return_all ? : |
|
214
|
5 |
1 |
if (defined $response) |
|
215
|
1 |
4 |
$return_all ? : |
|
235
|
0 |
2 |
!defined($response) ? : |
|
264
|
1 |
0 |
if defined $response |
|
277
|
1 |
17 |
if $self->has_pr |
|
314
|
2 |
1 |
if ($content_type ||= 'application/json') eq 'application/json' |
|
326
|
0 |
7 |
if $vclock |
|
328
|
1 |
6 |
if $self->has_pw |
|
339
|
0 |
7 |
$indexes ? : |
|
342
|
0 |
0 |
ref $v eq 'ARRAY' ? : |
|
369
|
1 |
3 |
if $self->has_rw |
|
370
|
1 |
3 |
if $self->has_pr |
|
371
|
1 |
3 |
if $self->has_pw |
|
423
|
0 |
6 |
if ref $value_to_match |
|
427
|
0 |
3 |
if defined $extra_parameters and $extra_parameters->{'stream'} |
|
438
|
0 |
6 |
$query_type ? : |
|
453
|
0 |
6 |
$query_type ? : |
|
462
|
0 |
3 |
ref $request ? : |
|
464
|
1 |
2 |
if $callback |
|
529
|
6 |
65 |
unless $self->autodie |
|
532
|
1 |
70 |
if ($self->_pid_change) |
|
538
|
6 |
65 |
unless $self->driver->perform_request('code', $request_code, 'body', $request_body) |
|
561
|
19 |
49 |
if defined $response_error |
|
568
|
1 |
48 |
if $response_code == $ERROR_RESPONSE_CODE |
|
575
|
1 |
47 |
if $response_code != $expected_code |
|
581
|
0 |
47 |
if $response_code == $GET_CLIENT_ID_RESPONSE_CODE |
|
585
|
16 |
31 |
if $response_code == $GET_RESPONSE_CODE |
|
592
|
3 |
28 |
if ($response_code == $GET_KEYS_RESPONSE_CODE) { } |
|
|
5 |
23 |
elsif ($response_code == $QUERY_INDEX_RESPONSE_CODE) { } |
|
|
4 |
19 |
elsif ($response_code == $MAP_REDUCE_RESPONSE_CODE) { } |
|
595
|
3 |
0 |
if ($callback) { } |
|
597
|
2 |
1 |
if $obj->done |
|
602
|
0 |
0 |
if $obj->done |
|
612
|
3 |
2 |
if ($paginate and wantarray) { } |
|
623
|
4 |
0 |
$decode ? : |
|
628
|
2 |
2 |
if ($callback) { } |
|
629
|
1 |
1 |
if $obj->done |
|
634
|
1 |
1 |
if $obj->done |
|
650
|
0 |
0 |
unless defined $encoded_message |
|
661
|
1 |
15 |
unless defined $encoded_message |
|
667
|
13 |
2 |
if (ref $contents eq 'ARRAY') |
|
673
|
4 |
9 |
$decode ? : |
|
703
|
20 |
8 |
if ($operation eq $PING) { } |
|
|
1 |
7 |
elsif ($operation eq $QUERY_INDEX) { } |
|
|
1 |
6 |
elsif ($operation eq $MAP_REDUCE) { } |
|
718
|
24 |
4 |
if $self->autodie |