Branch Coverage

lib/Apache/Solr/Result.pm
Criterion Covered Total %
branch 0 80 0.0


line true false branch
39 0 0 unless my $p = $self->{'ASR_params'} = $args->{'params'}
40 0 0 unless $self->{'ASR_endpoint'} = $args->{'endpoint'}
51 0 0 if ($self->{'ASR_core'} = $args->{'core'})
75 0 0 unless @_ and $_[0]
82 0 0 unless @_ and $_[0]
89 0 0 unless @_
96 0 0 unless my $done = $self->{'ASR_dec_done'}
105 0 0 unless my $dec = (shift())->decoded
110 0 0 unless my $dec = (shift())->decoded
112 0 0 defined $qtime ? :
116 0 0 unless my $dec = (shift())->decoded
120 0 0 length $msg ? :
124 0 0 unless my $resp = (shift())->response
129 0 0 unless my $resp = (shift())->response
130 0 0 unless $resp->code != 200
132 0 0 unless $ct eq "text/html"
146 0 0 if (my $h = $self->httpError)
147 0 0 if (my $a = $self->serverError)
151 0 0 if (my $s = $self->solrError)
163 0 0 unless my $results = (shift())->_responseData
175 0 0 if ref $docs eq "HASH"
181 0 0 unless my $data = $self->_responseData
189 0 0 if ($rank >= $startnr)
191 0 0 if ($rank - $startnr < @$docs)
198 0 0 unless $rank < $data->{'numFound'}
219 0 0 unless my $hl = $self->selectedPage($pagenr)->decoded->{'highlighting'}
227 0 0 if @_
229 0 0 unless my $r = $self->{'ASR_terms'}{$field}
244 0 0 $req ? :
249 0 0 if ($req)
255 0 0 if (my $resp = $self->response)
264 0 0 if (my $dec = $self->decoded)
267 0 0 if (defined(my $qt = $self->solrQTime))
270 0 0 if (my $error = $self->solrError)
279 0 0 $pz ? :
292 0 0 ref $docs eq 'ARRAY' ? :
0 0 ref $docs eq 'HASH' ? :
308 0 0 unless $client
325 0 0 if ($seq and $pagenr != 0)
338 0 0 if $new->{$k}