line |
true |
false |
branch |
37
|
20 |
2 |
$b && $b ne 'false' && $b ne 'off' ? : |
|
0 |
22 |
!defined($b) ? : |
45
|
2 |
2 |
if ($class eq "Apache::Solr") |
47
|
0 |
2 |
unless $format eq "XML" or $format eq "JSON" |
50
|
0 |
2 |
if $@ |
59
|
0 |
4 |
exists $args->{'autocommit'} ? : |
71
|
0 |
1 |
@_ ? : |
73
|
0 |
0 |
@_ ? : |
80
|
1 |
4 |
unless $uri |
81
|
4 |
0 |
unless &blessed($uri) and $uri->isa("URI") |
91
|
0 |
0 |
@_ && ref $_[0] eq 'HASH' ? : |
107
|
0 |
0 |
if ref $docs ne "ARRAY" |
113
|
0 |
0 |
exists $args{'commit'} ? : |
115
|
0 |
0 |
if (my $cw = $args{'commitWithin'}) |
116
|
0 |
0 |
if ($sv lt '3.4') { } |
121
|
0 |
0 |
if exists $args{'overwrite'} |
124
|
0 |
0 |
if (exists $args{$depr}) |
125
|
0 |
0 |
if ($sv ge '4.0') { } |
|
0 |
0 |
elsif ($sv ge '1.0') { } |
140
|
0 |
0 |
if (exists $args{'waitFlush'}) |
141
|
0 |
0 |
if ($sv ge '4.0') { } |
|
0 |
0 |
elsif ($sv ge '1.4') { } |
148
|
0 |
0 |
if exists $args{'waitSearcher'} |
150
|
0 |
0 |
if (exists $args{'softCommit'}) |
151
|
0 |
0 |
if ($sv lt '4.0') { } |
155
|
0 |
0 |
if (exists $args{'expungeDeletes'}) |
156
|
0 |
0 |
if ($sv lt '1.4') { } |
170
|
0 |
0 |
if (exists $args{'waitFlush'}) |
171
|
0 |
0 |
if ($sv ge '4.0') { } |
|
0 |
0 |
elsif ($sv ge '1.4') { } |
178
|
0 |
0 |
if exists $args{'waitSearcher'} |
180
|
0 |
0 |
if (exists $args{'softCommit'}) |
181
|
0 |
0 |
if ($sv lt '4.0') { } |
185
|
0 |
0 |
if (exists $args{'maxSegments'}) |
186
|
0 |
0 |
if ($sv lt '1.3') { } |
200
|
0 |
0 |
exists $args{'commit'} ? : |
202
|
0 |
0 |
if (exists $args{'fromPending'}) |
206
|
0 |
0 |
if (exists $args{'fromCommitted'}) |
212
|
0 |
0 |
if (my $id = $args{'id'}) |
213
|
0 |
0 |
ref $id eq 'ARRAY' ? : |
215
|
0 |
0 |
if (my $q = $args{'query'}) |
216
|
0 |
0 |
ref $q eq 'ARRAY' ? : |
218
|
0 |
0 |
unless @which |
222
|
0 |
0 |
if ($self->serverVersion ge '1.4' and not $self->isa('Apache::Solr::JSON')) { } |
236
|
0 |
0 |
unless $self->serverVersion ge "1.4" |
246
|
0 |
0 |
unless $self->serverVersion ge "1.4" |
255
|
0 |
0 |
if $fn and not ref $fn |
258
|
0 |
0 |
unless exists $p{'commit'} |
260
|
0 |
0 |
if (defined $p{'string'}) { } |
|
0 |
0 |
elsif ($fn) { } |
265
|
0 |
0 |
ref $p{'string'} eq 'SCALAR' ? : |
|
0 |
0 |
ref $p{'string'} eq 'SCALAR' ? : |
|
0 |
0 |
$ct =~ m[^text/]i ? : |
271
|
0 |
0 |
if (ref $fn eq 'GLOB') { } |
274
|
0 |
0 |
unless open IN, "<:raw", $fn |
277
|
0 |
0 |
unless close IN |
330
|
1 |
3 |
if not $sub or index($sub, "Apache::Solr::") < 0 |
336
|
15 |
11 |
ref $p eq 'HASH' ? : |
343
|
43 |
47 |
if defined $prefix and index($k, $prefix) != 0 |
344
|
2 |
88 |
$k =~ /^f\.[^\.]+\.(.*)/ ? : |
347
|
1 |
89 |
if ($dv = $Apache::Solr::deprecated{$param} and $sv ge $dv) { } |
|
0 |
169 |
elsif ($iv = $Apache::Solr::introduced{$param} and $iv gt $sv) { } |
358
|
7 |
83 |
ref $v eq 'ARRAY' ? : |
|
22 |
75 |
$Apache::Solr::boolparams{$param} ? : |
366
|
0 |
1 |
@_ == 1 ? : |
368
|
1 |
0 |
wantarray ? : |
374
|
4 |
0 |
ref $v eq 'HASH' ? : |
382
|
0 |
1 |
@_ == 1 ? : |
386
|
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') { } |
395
|
1 |
0 |
@s ? : |
396
|
1 |
0 |
wantarray ? : |
423
|
2 |
35 |
$per_field ? : |
425
|
15 |
22 |
if (my $def = $sets{$set}) { } |
|
0 |
22 |
elsif (ref $v eq 'HASH') { } |
427
|
0 |
2 |
unless not $per_field or $def->[0] |
431
|
15 |
0 |
if (ref $v eq 'HASH') { } |
|
0 |
0 |
elsif ($more) { } |
432
|
0 |
15 |
if $more |
449
|
1 |
8 |
wantarray ? : |
455
|
0 |
1 |
if $self->{'AS_depr_msg'}{$msg}++ |
462
|
0 |
0 |
if $self->{'AS_ign_msg'}{$msg}++ |
469
|
0 |
0 |
if $self->{'AS_rem_msg'}{$msg}++ |
480
|
1 |
0 |
defined $core ? : |
484
|
0 |
1 |
if ref $params eq "HASH" |
485
|
0 |
1 |
unless @$params |
491
|
2 |
0 |
if defined $p[1] |
495
|
1 |
0 |
if @params |
503
|
0 |
0 |
if (not $body) { } |
509
|
0 |
0 |
ref $body eq 'SCALAR' ? : |