| line |
true |
false |
branch |
|
47
|
0 |
0 |
unless $class ne __PACKAGE__
|
|
56
|
0 |
0 |
unless my $v = delete $args->{'api'}
|
|
57
|
0 |
0 |
builtin::blessed($v) && $v->isa('version') ? :
|
|
66
|
0 |
0 |
if ($server or not $external) { }
|
|
|
0 |
0 |
elsif ($external) { }
|
|
72
|
0 |
0 |
if (my $userinfo = $ext->userinfo)
|
|
82
|
0 |
0 |
if $create_client
|
|
100
|
0 |
0 |
$client ? :
|
|
124
|
0 |
0 |
unless exists $config->{'analyzer'}
|
|
125
|
0 |
0 |
unless exists $config->{'text'}
|
|
152
|
0 |
0 |
unless my $result = $self->requestUUIDs($bulk, "delay", 0)
|
|
153
|
0 |
0 |
unless $result->values->{'uuids'}
|
|
166
|
0 |
0 |
unless $client
|
|
168
|
0 |
0 |
unless $client->isa("Couch::DB::Client")
|
|
179
|
0 |
0 |
$role ? :
|
|
185
|
0 |
0 |
if builtin::blessed($name)
|
|
205
|
0 |
0 |
unless defined $send or $method ne "POST" and $method ne "PUT"
|
|
215
|
0 |
0 |
if ($paging and my $client = $paging->{'client'})
|
|
222
|
0 |
0 |
if (my $client = delete $args{'client'}) { }
|
|
|
0 |
0 |
elsif (my $c = delete $args{'clients'}) { }
|
|
223
|
0 |
0 |
builtin::blessed($client) ? :
|
|
226
|
0 |
0 |
ref $c eq 'ARRAY' ? :
|
|
231
|
0 |
0 |
unless @clients
|
|
246
|
0 |
0 |
unless not $introduced or $client->version >= $introduced
|
|
249
|
0 |
0 |
if ($paging) { }
|
|
255
|
0 |
0 |
unless $result
|
|
264
|
0 |
0 |
if $self->_callClient($result, $client, %args)
|
|
283
|
0 |
0 |
if ($key eq 'headers') { }
|
|
|
0 |
0 |
elsif ($key =~ /^on_/) { }
|
|
290
|
0 |
0 |
if defined $value
|
|
294
|
0 |
0 |
unless exists $config{$key}
|
|
298
|
0 |
0 |
if $config{'paging'} and not $config{'on_row'}
|
|
302
|
0 |
0 |
if keys %$args
|
|
313
|
0 |
0 |
if (my $succeeds = delete $args->{'succeed'})
|
|
316
|
0 |
0 |
if (builtin::blessed($succeeds) and $succeeds->isa('Couch::DB::Result')) { }
|
|
324
|
0 |
0 |
unless my $h = $succeeds->{'harvester'}
|
|
327
|
0 |
0 |
unless $h eq "DEFAULT" or $args->{'harvester'}
|
|
330
|
0 |
0 |
unless $succeeds->{'map'} eq "NONE" or $args->{'map'}
|
|
348
|
0 |
0 |
if ($page = delete $args->{'page'})
|
|
349
|
0 |
0 |
unless defined $size
|
|
355
|
0 |
0 |
if (my $bm = delete $args->{'bookmark'})
|
|
361
|
0 |
0 |
unless my $result = shift()
|
|
363
|
0 |
0 |
if $map
|
|
369
|
0 |
0 |
if (ref $stop ne "CODE")
|
|
370
|
0 |
0 |
if ($stop eq 'EMPTY') { }
|
|
|
0 |
0 |
elsif ($stop eq 'SMALLER') { }
|
|
|
0 |
0 |
elsif ($stop =~ /^UPTO\((\d+)\)$/) { }
|
|
377
|
0 |
0 |
if defined $first
|
|
396
|
0 |
0 |
$method eq 'GET' ? :
|
|
403
|
0 |
0 |
$paging->{'page_size'} ? :
|
|
405
|
0 |
0 |
if (my $bookmark = $paging->{'bookmarks'}{$start + $progress}) { }
|
|
427
|
0 |
0 |
unless $self->{'CD_toperl'}{$type}
|
|
432
|
0 |
0 |
unless my $conv = $self->_toPerlHandler($type)
|
|
443
|
0 |
0 |
unless my $conv = $self->_toPerlHandler($type)
|
|
465
|
0 |
0 |
unless $self->{'CD_tojson'}{$type}
|
|
470
|
0 |
0 |
unless my $conv = $self->_toJsonHandler($type)
|
|
488
|
0 |
0 |
unless $self->{'CD_toquery'}{$type} or $default_toquery{$type} or $self->{'CD_tojson'}{$type}
|
|
493
|
0 |
0 |
unless my $conv = $self->_toQueryHandler($type)
|
|
511
|
0 |
0 |
unless $_[1]
|
|
517
|
0 |
0 |
if ($change eq 'removed') { }
|
|
|
0 |
0 |
elsif ($change eq 'introduced') { }
|
|
|
0 |
0 |
elsif ($change eq 'deprecated') { }
|
|
518
|
0 |
0 |
unless $self->api < $cv
|
|
523
|
0 |
0 |
unless $self->api >= $cv or $surpress_intro{$what}++
|
|
528
|
0 |
0 |
unless $self->api >= $cv or $surpress_depr{$what}++
|