Branch Coverage

blib/lib/Couch/DB/Document.pm
Criterion Covered Total %
branch 0 86 0.0


line true false branch
36 0 0 exists $args->{'batch'} ? :
43 0 0 if (my $content = delete $args->{'content'})
57 0 0 unless $self->{'CDD_revs'}{'_new'} or not &in_global_destruction()
72 0 0 if (my $atts = $info->{'_attachments'})
76 0 0 if $details->{'follows'}
80 0 0 if defined $details->{'data'}
102 0 0 if ($self->isLocal)
103 0 0 if $path
106 0 0 defined $path ? :
124 0 0 unless @_
157 0 0 unless $_[0]{'CDD_info'}
160 0 0 unless $_[0]->_info->{'_conflicts'}
161 0 0 unless $_[0]->_info->{'_deleted_conflicts'}
167 0 0 if $self->{'CDD_revinfo'}
170 0 0 unless my $c = $self->_info->{'_revs_info'}
191 0 0 unless $result
194 0 0 unless $v->{'ok'}
202 0 0 unless ref $data eq "HASH"
206 0 0 exists $args{'batch'} ? :
0 0 if exists $args{'batch'} ? delete $args{'batch'} : $self->batch
210 0 0 unless defined $data->{'_id'}
224 0 0 unless ref $data eq "HASH"
229 0 0 exists $args{'batch'} ? :
0 0 if exists $args{'batch'} ? delete $args{'batch'} : $self->batch
231 0 0 if exists $args{'new_edits'}
244 0 0 unless $result
249 0 0 if $flags->{'meta'}
258 0 0 $flags ? :
266 0 0 $args{'attachments'} ? :
274 0 0 unless $result
277 0 0 if $v->{'ok'}
285 0 0 exists $args{'batch'} ? :
0 0 if exists $args{'batch'} ? delete $args{'batch'} : $self->batch
301 0 0 exists $args{'batch'} ? :
0 0 if exists $args{'batch'} ? delete $args{'batch'} : $self->batch
320 0 0 exists $args{'batch'} ? :
0 0 if exists $args{'batch'} ? delete $args{'batch'} : $self->batch
324 0 0 unless my $dest_rev = $to->rev
356 0 0 unless $result
380 0 0 exists $args{'batch'} ? :
0 0 if exists $args{'batch'} ? delete $args{'batch'} : $self->batch
395 0 0 exists $args{'batch'} ? :
0 0 if exists $args{'batch'} ? delete $args{'batch'} : $self->batch