Branch Coverage

blib/lib/Dezi/Client.pm
Criterion Covered Total %
branch 0 64 0.0


line true false branch
104 0 0 unless (%args and exists $args{'server'})
110 0 0 if ($self->{'debug'})
115 0 0 if ($args{'search'} and $args{'index'}) { }
125 0 0 if ($args{'server_params'})
131 0 0 unless ($resp->is_success)
135 0 0 unless ($resp->is_success and $paths and $paths->{'search'} and $paths->{'index'})
157 0 0 if (%args)
207 0 0 unless my $doc = shift()
214 0 0 if (not ref $doc) { }
0 0 elsif (ref $doc eq 'SCALAR') { }
0 0 elsif (ref $doc and $doc->isa('Dezi::Doc')) { }
216 0 0 unless (defined $buf)
223 0 0 unless (defined $uri or length $uri)
238 0 0 if ($payload_params) { }
0 0 elsif ($self->{'server_params'}) { }
246 0 0 unless $req->header('Content-Type')
250 0 0 if (defined $self->{'_creds'}{'username'} and defined $self->{'_creds'}{'password'})
257 0 0 if $self->{'debug'}
280 0 0 unless (exists $args{'q'})
287 0 0 if ($self->{'server_params'})
291 0 0 unless ($resp->is_success)
295 0 0 if $self->{'debug'}
327 0 0 unless my $uri = shift()
330 0 0 if ($self->{'server_params'})
334 0 0 if (defined $self->{'_creds'}{'username'} and defined $self->{'_creds'}{'password'})
340 0 0 if $self->{'debug'}
373 0 0 if ($self->{'server_params'})
377 0 0 if (defined $self->{'_creds'}{'username'} and defined $self->{'_creds'}{'password'})
383 0 0 if $self->{'debug'}
411 0 0 if ($self->{'server_params'})
415 0 0 if (defined $self->{'_creds'}{'username'} and defined $self->{'_creds'}{'password'})
421 0 0 if $self->{'debug'}