| line |
true |
false |
branch |
|
43
|
0 |
0 |
unless $self->has_ssl_options |
|
61
|
0 |
0 |
if ($self->has_username and $self->has_password) |
|
86
|
0 |
0 |
if ($self->has_on_request) |
|
96
|
0 |
0 |
if ($method eq 'POST') |
|
97
|
0 |
0 |
if (defined $post_data) { } |
|
100
|
0 |
0 |
if (my $q = $url->query_param_delete('q')) |
|
106
|
0 |
0 |
if ($self->_is_ssl) |
|
128
|
0 |
0 |
exists $args{'wait_for_leader'} ? : |
|
136
|
0 |
0 |
if ($headers->{'Status'} eq '204') { } |
|
151
|
0 |
0 |
if (exists $args{'q'}) { } |
|
158
|
0 |
0 |
$args{'if_not_exists'} ? : |
|
169
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
183
|
0 |
0 |
if (exists $args{'q'}) { } |
|
190
|
0 |
0 |
$args{'if_exists'} ? : |
|
201
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
215
|
0 |
0 |
if (exists $args{'q'}) { } |
|
220
|
0 |
0 |
if (my $measurement = $args{'measurement'}) { } |
|
|
0 |
0 |
elsif (my $measurements = $args{'measurements'}) { } |
|
224
|
0 |
0 |
unless $measurements |
|
227
|
0 |
0 |
if (my $cond = $args{'where'}) |
|
241
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
255
|
0 |
0 |
if (exists $args{'q'}) { } |
|
260
|
0 |
0 |
if (my $measurement = $args{'measurement'}) |
|
264
|
0 |
0 |
if (my $cond = $args{'where'}) |
|
278
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
292
|
0 |
0 |
if (exists $args{'q'}) { } |
|
307
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
328
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
331
|
0 |
0 |
unless $data->{'results'}[0]{'series'} |
|
339
|
0 |
0 |
unless $values |
|
362
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
372
|
0 |
0 |
unless $values |
|
387
|
0 |
0 |
if (exists $args{'q'}) { } |
|
402
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
423
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
433
|
0 |
0 |
unless $values |
|
448
|
0 |
0 |
if (exists $args{'q'}) { } |
|
463
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
478
|
0 |
0 |
if (exists $args{'q'}) { } |
|
487
|
0 |
0 |
if $args{'default'} |
|
498
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
512
|
0 |
0 |
if (exists $args{'q'}) { } |
|
518
|
0 |
0 |
if exists $args{'duration'} |
|
519
|
0 |
0 |
if exists $args{'shard_duration'} |
|
520
|
0 |
0 |
if exists $args{'replication'} |
|
521
|
0 |
0 |
if $args{'default'} |
|
532
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
546
|
0 |
0 |
if (exists $args{'q'}) { } |
|
560
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
581
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
585
|
0 |
0 |
unless $data->{'results'}[0]{'series'}[0]{'values'} |
|
600
|
0 |
0 |
if (exists $args{'q'}) { } |
|
614
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
624
|
0 |
0 |
unless $values |
|
639
|
0 |
0 |
if (exists $args{'q'}) { } |
|
644
|
0 |
0 |
if (my $measurement = $args{'measurement'}) |
|
648
|
0 |
0 |
if (my $cond = $args{'where'}) |
|
652
|
0 |
0 |
if (my $order_by = $args{'order_by'}) |
|
656
|
0 |
0 |
if (my $limit = $args{'limit'}) |
|
659
|
0 |
0 |
if (my $offset = $args{'offset'}) |
|
674
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
679
|
0 |
0 |
unless $values |
|
694
|
0 |
0 |
if (exists $args{'q'}) { } |
|
699
|
0 |
0 |
if (my $measurement = $args{'measurement'}) |
|
700
|
0 |
0 |
$measurement =~ m[^/.*/$] ? : |
|
705
|
0 |
0 |
if (my $cond = $args{'where'}) |
|
709
|
0 |
0 |
if (my $order_by = $args{'order_by'}) |
|
713
|
0 |
0 |
if (my $limit = $args{'limit'}) |
|
716
|
0 |
0 |
if (my $offset = $args{'offset'}) |
|
731
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
736
|
0 |
0 |
unless $values |
|
751
|
0 |
0 |
if (exists $args{'q'}) { } |
|
756
|
0 |
0 |
if (my $measurement = $args{'measurement'}) |
|
760
|
0 |
0 |
if (my $cond = $args{'where'}) |
|
764
|
0 |
0 |
if (my $limit = $args{'limit'}) |
|
768
|
0 |
0 |
if (my $offset = $args{'offset'}) |
|
782
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
785
|
0 |
0 |
unless $data->{'results'}[0]{'series'} |
|
790
|
0 |
0 |
unless $values |
|
806
|
0 |
0 |
if (exists $args{'q'}) { } |
|
811
|
0 |
0 |
if (my $measurement = $args{'measurement'}) |
|
815
|
0 |
0 |
if (my $keys = $args{'keys'}) { } |
|
|
0 |
0 |
elsif (my $key = $args{'key'}) { } |
|
822
|
0 |
0 |
if (my $cond = $args{'where'}) |
|
826
|
0 |
0 |
if (my $limit = $args{'limit'}) |
|
830
|
0 |
0 |
if (my $offset = $args{'offset'}) |
|
844
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
847
|
0 |
0 |
unless $data->{'results'}[0]{'series'} |
|
850
|
0 |
0 |
unless $cols |
|
854
|
0 |
0 |
unless $values |
|
872
|
0 |
0 |
if (exists $args{'q'}) { } |
|
877
|
0 |
0 |
if (my $measurement = $args{'measurement'}) |
|
891
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
894
|
0 |
0 |
unless $data->{'results'}[0]{'series'} |
|
899
|
0 |
0 |
unless $values |
|
915
|
0 |
0 |
if (exists $args{'q'}) { } |
|
921
|
0 |
0 |
if $args{'all_privileges'} |
|
932
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
946
|
0 |
0 |
if (exists $args{'q'}) { } |
|
961
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
982
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
992
|
0 |
0 |
unless $values |
|
1007
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1012
|
0 |
0 |
if ($args{'all_privileges'}) { } |
|
1028
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
1042
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1056
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
1066
|
0 |
0 |
unless $values |
|
1082
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1087
|
0 |
0 |
if ($args{'all_privileges'}) { } |
|
1103
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
1118
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1132
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
1146
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1150
|
0 |
0 |
if ($args{'every'} or $args{'for'}) |
|
1152
|
0 |
0 |
if ($args{'every'}) |
|
1155
|
0 |
0 |
if ($args{'for'}) |
|
1174
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
1188
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1202
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
1224
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
1227
|
0 |
0 |
unless $data->{'results'}[0]{'series'} |
|
1235
|
0 |
0 |
unless $values |
|
1278
|
0 |
0 |
$t ? : |
|
|
0 |
0 |
$data->{'time'} ? : |
|
1286
|
0 |
0 |
ref $_ eq 'HASH' ? : |
|
1288
|
0 |
0 |
ref $args{'data'} eq 'HASH' ? : |
|
|
0 |
0 |
ref $args{'data'} eq 'ARRAY' ? : |
|
1313
|
0 |
0 |
$args{'consistency'} ? : |
|
|
0 |
0 |
$args{'rp'} ? : |
|
|
0 |
0 |
$args{'precision'} ? : |
|
|
0 |
0 |
$args{'one'} ? : |
|
1322
|
0 |
0 |
if ($headers->{'Status'} eq '204') { } |
|
1337
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1339
|
0 |
0 |
if ($q =~ /\s+INTO\s+/i) |
|
1345
|
0 |
0 |
if (my $into = $args{'into'}) |
|
1352
|
0 |
0 |
if (my $cond = $args{'where'}) |
|
1356
|
0 |
0 |
if (my $group = $args{'group_by'}) |
|
1359
|
0 |
0 |
if (my $fill = $args{'fill'}) |
|
1364
|
0 |
0 |
if (my $order_by = $args{'order_by'}) |
|
1368
|
0 |
0 |
if (my $limit = $args{'limit'}) |
|
1371
|
0 |
0 |
if (my $offset = $args{'offset'}) |
|
1376
|
0 |
0 |
if (my $slimit = $args{'slimit'}) |
|
1379
|
0 |
0 |
if (my $soffset = $args{'soffset'}) |
|
1403
|
0 |
0 |
$args{'rp'} ? : |
|
|
0 |
0 |
$args{'epoch'} ? : |
|
|
0 |
0 |
$args{'chunk_size'} ? : |
|
1412
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
1428
|
0 |
0 |
unless $values |
|
1431
|
0 |
0 |
unless $data->{'results'}[0]{'series'} |
|
1463
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1471
|
0 |
0 |
unless $args{'destinations'} |
|
1474
|
0 |
0 |
ref $args{'destinations'} eq 'ARRAY' ? : |
|
1485
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
1506
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
1509
|
0 |
0 |
unless $data->{'results'}[0]{'series'} |
|
1517
|
0 |
0 |
unless $values |
|
1533
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1548
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |