line |
true |
false |
branch |
107
|
0 |
0 |
unless (ref $data eq 'HASH') |
113
|
0 |
0 |
unless ($$data{'id'}) |
120
|
0 |
0 |
if exists $$data{'rev'} and $$data{'rev'} |
122
|
0 |
0 |
if ($rev or $params) |
124
|
0 |
0 |
if $rev |
125
|
0 |
0 |
if $params |
138
|
0 |
0 |
unless (ref $data eq 'HASH') |
144
|
0 |
0 |
unless ($$data{'id'}) |
154
|
0 |
0 |
if $rev |
167
|
0 |
0 |
if $params |
172
|
0 |
0 |
unless $$res{'rows'}[0] |
185
|
0 |
0 |
if $params |
190
|
0 |
0 |
unless $$res{'rows'}[0] |
191
|
0 |
0 |
if ref $data eq 'HASH' and $$data{'include_docs'} |
207
|
0 |
0 |
unless (exists $$data{'doc'} and ref $$data{'doc'} eq 'HASH') |
215
|
0 |
0 |
if (exists $$data{'doc'}{'_id'} and defined $$data{'doc'}{'_id'}) { } |
225
|
0 |
0 |
if $params |
229
|
0 |
0 |
if exists $$res{'rev'} |
231
|
0 |
0 |
if wantarray |
239
|
0 |
0 |
unless (ref $data eq 'HASH') |
246
|
0 |
0 |
unless ($id) |
254
|
0 |
0 |
unless ($rev) |
259
|
0 |
0 |
unless ($rev) |
266
|
0 |
0 |
if $params |
271
|
0 |
0 |
if wantarray |
279
|
0 |
0 |
unless (ref $data eq 'HASH' and exists $$data{'doc'} and ref $$data{'doc'} eq 'HASH') |
287
|
0 |
0 |
if ($$data{'name'}) |
291
|
0 |
0 |
unless (exists $$data{'doc'}{'_id'} and defined $$data{'doc'}{'_id'}) |
299
|
0 |
0 |
unless ($rev) |
314
|
0 |
0 |
unless (ref $data eq 'HASH') |
318
|
0 |
0 |
unless ($$data{'id'}) |
327
|
0 |
0 |
unless ($doc) |
344
|
0 |
0 |
unless ($$data{'show'}) |
360
|
0 |
0 |
unless ($$data{'view'}) |
375
|
0 |
0 |
unless ($$res{'rows'}[0]) |
380
|
0 |
0 |
unless $$res{'rows'}[0] |
385
|
0 |
0 |
if ($$doc{'doc'}) { } |
389
|
0 |
0 |
unless exists $$doc{'value'} |
390
|
0 |
0 |
if (ref $$doc{'key'} eq 'ARRAY') { } |
409
|
0 |
0 |
unless ($$data{'view'}) |
413
|
0 |
0 |
unless ($$data{'opts'}) |
421
|
0 |
0 |
if ($$data{'opts'}) |
431
|
0 |
0 |
unless exists $$doc{'value'} |
443
|
0 |
0 |
unless ($$data{'view'}) |
458
|
0 |
0 |
unless ($$res{'rows'}[0]) |
465
|
0 |
0 |
if ($$doc{'doc'}) { } |
469
|
0 |
0 |
unless exists $$doc{'value'} |
470
|
0 |
0 |
if (ref $$doc{'value'} eq 'HASH') { } |
487
|
0 |
0 |
unless ($$data{'view'}) |
502
|
0 |
0 |
unless ($$res{'rows'}[0]) |
509
|
0 |
0 |
if ($$doc{'doc'}) { } |
513
|
0 |
0 |
unless exists $$doc{'value'} |
514
|
0 |
0 |
if (ref $$doc{'value'} eq 'HASH') { } |
531
|
0 |
0 |
unless ($$data{'list'}) |
536
|
0 |
0 |
unless ($$data{'view'}) |
560
|
0 |
0 |
if $params |
576
|
0 |
0 |
unless $$res{'results'}[0] |
584
|
0 |
0 |
unless exists $$_del{'deleted'} and $$_del{'deleted'} eq 'true' || $$_del{'deleted'} == 1 |
601
|
0 |
0 |
if ($$data{'purge'}) |
605
|
0 |
0 |
if ($$data{'view_compact'}) |
626
|
0 |
0 |
unless ($$data{'file'}) |
630
|
0 |
0 |
unless ($$data{'filename'}) |
640
|
0 |
0 |
if (not $rev and $id) |
642
|
0 |
0 |
if $self->debug |
646
|
0 |
0 |
unless $id |
654
|
0 |
0 |
if wantarray |
664
|
0 |
0 |
unless ($$data{'id'}) |
668
|
0 |
0 |
unless ($$data{'filename'}) |
685
|
0 |
0 |
unless $self->$key($$data{$key}) |
694
|
0 |
0 |
if ($db) |
708
|
1 |
0 |
if ($db) |
725
|
0 |
0 |
unless $res |
731
|
0 |
0 |
if (ref $data eq 'HASH' and exists $$data{'dbname'} and defined $$data{'dbname'}) |
739
|
0 |
0 |
unless ($self->has_db) |
750
|
0 |
0 |
unless ref $options eq 'HASH' |
760
|
0 |
0 |
if ($key =~ /key/) { } |
763
|
0 |
0 |
if $compat and not ref $value |
766
|
0 |
0 |
unless (ref $value) |
772
|
0 |
0 |
if $cvalue eq 'true' |
773
|
0 |
0 |
if $cvalue eq 'false' |
792
|
0 |
0 |
if (exists $$data{'view'}) |
797
|
0 |
0 |
if (exists $$data{'show'}) |
802
|
0 |
0 |
if exists $$data{'list'} |
805
|
0 |
0 |
if ($list) { } |
|
0 |
0 |
elsif ($show) { } |
|
0 |
0 |
elsif ($view) { } |
810
|
0 |
0 |
if defined $$data{'id'} |
816
|
0 |
0 |
if (keys %{$$data{'opts'};}) |
818
|
0 |
0 |
if $params |
827
|
0 |
1 |
if $self->debug |
830
|
0 |
1 |
if $self->has_error |
832
|
0 |
1 |
$self->ssl ? : |
833
|
0 |
1 |
if $self->user and $self->pass |
837
|
0 |
1 |
if $self->debug |
843
|
0 |
1 |
if ($content) |
852
|
0 |
0 |
if (ref $c eq 'HASH' and not defined $ct) |
853
|
0 |
0 |
if exists $$c{'_id'} |
856
|
0 |
0 |
if ($self->debug) |
861
|
0 |
0 |
$ct ? : |
871
|
0 |
1 |
if ($self->method eq 'HEAD' and $res->header('ETag')) |
872
|
0 |
0 |
if $self->debug |
879
|
0 |
1 |
unless ($@) |
880
|
0 |
0 |
if $self->debug |
883
|
0 |
1 |
if ($res->is_success) { } |
884
|
0 |
0 |
if $result |
886
|
0 |
0 |
if ($self->debug) |
907
|
0 |
0 |
if ($#tail == 0) { } |
919
|
0 |
0 |
if ($self->debug) { } |
928
|
0 |
0 |
unless 'Store::CouchDB'->can('p') |
931
|
0 |
0 |
if (ref $obj) { } |