Branch Coverage

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


line true false branch
39 0 0 unless my $name = $self->{'CDD_name'} = delete $args->{'name'}
40 0 0 unless $name =~ m[^[a-z][a-z0-9_$()+/-]*$]
43 0 0 unless $self->{'CDD_couch'} = delete $args->{'couch'}
56 0 0 defined $_[1] ? :
73 0 0 $result->code eq 200 ? :
0 0 if ($result->code eq 404) { }
96 0 0 $part ? :
164 0 0 unless $raw->{'instance_start_time'}
277 0 0 if builtin::blessed($which) and $which->isa("Couch::DB::Design")
284 0 0 unless $method eq "POST"
297 0 0 unless my $answer = $result->answer->{'rows'}[$index]
313 0 0 if (@search)
317 0 0 if (@search == 1) { }
330 0 0 $send ? :
337 0 0 unless my $answer = $result->answer->{'indexes'}[$index]
348 0 0 if $values{'ddoc'}
379 0 0 unless $result
387 0 0 unless my $doc = delete $deletes{$id} || delete $saves{$id}
390 0 0 if ($report->{'ok'}) { }
392 0 0 if $delete
418 0 0 if $rev ne "_new"
428 0 0 unless @plan
431 0 0 if exists $args{'new_edits'}
448 0 0 if exists $args{'revs'}
451 0 0 unless @$docs
466 0 0 unless my $answer = $result->answer->{'rows'}[$index]
485 0 0 builtin::blessed($ddoc) ? :
489 0 0 unless not $view or $ddoc
490 0 0 if $local and $part
491 0 0 if $local and $view
492 0 0 unless not $part or @search < 2
494 0 0 $part ? :
0 0 $view ? :
0 0 $local ? :
499 0 0 !@search || $part ? :
506 0 0 if ($method eq 'GET') { }
0 0 elsif (@send == 1) { }
507 0 0 unless @send < 2
539 0 0 if ($method eq 'GET') { }
563 0 0 unless my $answer = $result->answer->{'docs'}[$index]
580 0 0 if $part
594 0 0 unless $method eq "POST"
612 0 0 if $part