line |
true |
false |
branch |
41
|
20 |
2 |
$b && $b ne 'false' && $b ne 'off' ? : |
|
0 |
22 |
!defined($b) ? : |
49
|
2 |
2 |
if ($class eq "Apache::Solr") |
51
|
0 |
2 |
unless $format eq "XML" or $format eq "JSON" |
54
|
0 |
2 |
if $@ |
63
|
0 |
4 |
exists $args->{'autocommit'} ? : |
78
|
0 |
1 |
@_ ? : |
80
|
0 |
0 |
@_ ? : |
87
|
1 |
4 |
unless $uri |
88
|
4 |
0 |
unless &blessed($uri) and $uri->isa("URI") |
98
|
0 |
0 |
@_ && ref $_[0] eq 'HASH' ? : |
114
|
0 |
0 |
if ref $docs ne "ARRAY" |
120
|
0 |
0 |
exists $args{'commit'} ? : |
122
|
0 |
0 |
if (my $cw = $args{'commitWithin'}) |
123
|
0 |
0 |
if ($sv lt '3.4') { } |
128
|
0 |
0 |
if exists $args{'overwrite'} |
131
|
0 |
0 |
if (exists $args{$depr}) |
132
|
0 |
0 |
if ($sv ge '4.0') { } |
|
0 |
0 |
elsif ($sv ge '1.0') { } |
147
|
0 |
0 |
if (exists $args{'waitFlush'}) |
148
|
0 |
0 |
if ($sv ge '4.0') { } |
|
0 |
0 |
elsif ($sv ge '1.4') { } |
155
|
0 |
0 |
if exists $args{'waitSearcher'} |
157
|
0 |
0 |
if (exists $args{'softCommit'}) |
158
|
0 |
0 |
if ($sv lt '4.0') { } |
162
|
0 |
0 |
if (exists $args{'expungeDeletes'}) |
163
|
0 |
0 |
if ($sv lt '1.4') { } |
177
|
0 |
0 |
if (exists $args{'waitFlush'}) |
178
|
0 |
0 |
if ($sv ge '4.0') { } |
|
0 |
0 |
elsif ($sv ge '1.4') { } |
185
|
0 |
0 |
if exists $args{'waitSearcher'} |
187
|
0 |
0 |
if (exists $args{'softCommit'}) |
188
|
0 |
0 |
if ($sv lt '4.0') { } |
192
|
0 |
0 |
if (exists $args{'maxSegments'}) |
193
|
0 |
0 |
if ($sv lt '1.3') { } |
207
|
0 |
0 |
exists $args{'commit'} ? : |
209
|
0 |
0 |
if (exists $args{'fromPending'}) |
213
|
0 |
0 |
if (exists $args{'fromCommitted'}) |
219
|
0 |
0 |
if (my $id = $args{'id'}) |
220
|
0 |
0 |
ref $id eq 'ARRAY' ? : |
222
|
0 |
0 |
if (my $q = $args{'query'}) |
223
|
0 |
0 |
ref $q eq 'ARRAY' ? : |
225
|
0 |
0 |
unless @which |
229
|
0 |
0 |
if ($self->serverVersion ge '1.4' and not $self->isa('Apache::Solr::JSON')) { } |
243
|
0 |
0 |
unless $self->serverVersion ge "1.4" |
253
|
0 |
0 |
unless $self->serverVersion ge "1.4" |
262
|
0 |
0 |
if $fn and not ref $fn |
265
|
0 |
0 |
unless exists $p{'commit'} |
267
|
0 |
0 |
if (defined $p{'string'}) { } |
|
0 |
0 |
elsif ($fn) { } |
272
|
0 |
0 |
ref $p{'string'} eq 'SCALAR' ? : |
|
0 |
0 |
ref $p{'string'} eq 'SCALAR' ? : |
|
0 |
0 |
$ct =~ m[^text/]i ? : |
278
|
0 |
0 |
if (ref $fn eq 'GLOB') { } |
281
|
0 |
0 |
unless open IN, "<:raw", $fn |
284
|
0 |
0 |
unless close IN |
337
|
1 |
3 |
if not $sub or index($sub, "Apache::Solr::") < 0 |
343
|
15 |
11 |
ref $p eq 'HASH' ? : |
350
|
43 |
47 |
if defined $prefix and index($k, $prefix) != 0 |
351
|
2 |
88 |
$k =~ /^f\.[^\.]+\.(.*)/ ? : |
354
|
1 |
89 |
if ($dv = $Apache::Solr::deprecated{$param} and $sv ge $dv) { } |
|
0 |
169 |
elsif ($iv = $Apache::Solr::introduced{$param} and $iv gt $sv) { } |
365
|
7 |
83 |
ref $v eq 'ARRAY' ? : |
|
22 |
75 |
$Apache::Solr::boolparams{$param} ? : |
373
|
0 |
1 |
@_ == 1 ? : |
375
|
1 |
0 |
wantarray ? : |
381
|
4 |
0 |
ref $v eq 'HASH' ? : |
389
|
0 |
1 |
@_ == 1 ? : |
393
|
6 |
4 |
if (not ref $v or ref $v eq 'SCALAR') { } |
|
2 |
2 |
elsif ($k eq 'literal' or $k eq 'literals') { } |
|
2 |
0 |
elsif ($k eq 'fmap' or $k eq 'boost' or $k eq 'resource') { } |
402
|
1 |
0 |
@s ? : |
403
|
1 |
0 |
wantarray ? : |
430
|
2 |
35 |
$per_field ? : |
432
|
15 |
22 |
if (my $def = $sets{$set}) { } |
|
0 |
22 |
elsif (ref $v eq 'HASH') { } |
434
|
0 |
2 |
unless not $per_field or $def->[0] |
438
|
15 |
0 |
if (ref $v eq 'HASH') { } |
|
0 |
0 |
elsif ($more) { } |
439
|
0 |
15 |
if $more |
456
|
1 |
8 |
wantarray ? : |
462
|
0 |
1 |
if $self->{'AS_depr_msg'}{$msg}++ |
469
|
0 |
0 |
if $self->{'AS_ign_msg'}{$msg}++ |
476
|
0 |
0 |
if $self->{'AS_rem_msg'}{$msg}++ |
487
|
1 |
0 |
defined $core ? : |
491
|
0 |
1 |
if ref $params eq "HASH" |
492
|
0 |
1 |
unless @$params |
498
|
2 |
0 |
if defined $p[1] |
502
|
1 |
0 |
if @params |
510
|
0 |
0 |
if ($body) { } |
512
|
0 |
0 |
ref $body eq 'SCALAR' ? : |
534
|
0 |
0 |
if $resp->is_success |
536
|
0 |
0 |
if ($resp->code != 500) |
545
|
0 |
0 |
if $wait and $retries |
548
|
0 |
0 |
unless ($resp->is_success) |
550
|
0 |
0 |
$resp->code == 500 ? : |