| 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) |
|
97
|
0 |
0 |
if ($self->has_jwt) |
|
101
|
0 |
0 |
if ($method eq 'POST') |
|
102
|
0 |
0 |
if (defined $post_data) { } |
|
105
|
0 |
0 |
if (my $q = $url->query_param_delete('q')) |
|
111
|
0 |
0 |
if ($self->_is_ssl) |
|
133
|
0 |
0 |
exists $args{'wait_for_leader'} ? : |
|
141
|
0 |
0 |
if ($headers->{'Status'} eq '204') { } |
|
181
|
0 |
0 |
$t ? : |
|
|
0 |
0 |
$data->{'time'} ? : |
|
189
|
0 |
0 |
ref $_ eq 'HASH' ? : |
|
191
|
0 |
0 |
ref $args{'data'} eq 'HASH' ? : |
|
|
0 |
0 |
ref $args{'data'} eq 'ARRAY' ? : |
|
216
|
0 |
0 |
$args{'consistency'} ? : |
|
|
0 |
0 |
$args{'rp'} ? : |
|
|
0 |
0 |
$args{'precision'} ? : |
|
|
0 |
0 |
$args{'one'} ? : |
|
225
|
0 |
0 |
if ($headers->{'Status'} eq '204') { } |
|
240
|
0 |
0 |
if (exists $args{'q'}) { } |
|
242
|
0 |
0 |
if ($q =~ /\s+INTO\s+/i) |
|
248
|
0 |
0 |
if (my $into = $args{'into'}) |
|
255
|
0 |
0 |
if (my $cond = $args{'where'}) |
|
259
|
0 |
0 |
if (my $group = $args{'group_by'}) |
|
262
|
0 |
0 |
if (my $fill = $args{'fill'}) |
|
267
|
0 |
0 |
if (my $order_by = $args{'order_by'}) |
|
271
|
0 |
0 |
if (my $limit = $args{'limit'}) |
|
274
|
0 |
0 |
if (my $offset = $args{'offset'}) |
|
279
|
0 |
0 |
if (my $slimit = $args{'slimit'}) |
|
282
|
0 |
0 |
if (my $soffset = $args{'soffset'}) |
|
306
|
0 |
0 |
$args{'rp'} ? : |
|
|
0 |
0 |
$args{'epoch'} ? : |
|
|
0 |
0 |
$args{'chunk_size'} ? : |
|
315
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
331
|
0 |
0 |
unless $values |
|
334
|
0 |
0 |
unless $data->{'results'}[0]{'series'} |
|
349
|
0 |
0 |
if (exists $args{'q'}) { } |
|
363
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
377
|
0 |
0 |
if (exists $args{'q'}) { } |
|
391
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
405
|
0 |
0 |
if (exists $args{'q'}) { } |
|
410
|
0 |
0 |
if (my $measurement = $args{'measurement'}) { } |
|
|
0 |
0 |
elsif (my $measurements = $args{'measurements'}) { } |
|
414
|
0 |
0 |
unless $measurements |
|
417
|
0 |
0 |
if (my $cond = $args{'where'}) |
|
431
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
445
|
0 |
0 |
if (exists $args{'q'}) { } |
|
450
|
0 |
0 |
if (my $measurement = $args{'measurement'}) |
|
454
|
0 |
0 |
if (my $cond = $args{'where'}) |
|
468
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
482
|
0 |
0 |
if (exists $args{'q'}) { } |
|
497
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
518
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
521
|
0 |
0 |
unless $data->{'results'}[0]{'series'} |
|
529
|
0 |
0 |
unless $values |
|
552
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
562
|
0 |
0 |
unless $values |
|
577
|
0 |
0 |
if (exists $args{'q'}) { } |
|
592
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
613
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
623
|
0 |
0 |
unless $values |
|
638
|
0 |
0 |
if (exists $args{'q'}) { } |
|
653
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
668
|
0 |
0 |
if (exists $args{'q'}) { } |
|
677
|
0 |
0 |
if $args{'default'} |
|
688
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
702
|
0 |
0 |
if (exists $args{'q'}) { } |
|
708
|
0 |
0 |
if exists $args{'duration'} |
|
709
|
0 |
0 |
if exists $args{'shard_duration'} |
|
710
|
0 |
0 |
if exists $args{'replication'} |
|
711
|
0 |
0 |
if $args{'default'} |
|
722
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
736
|
0 |
0 |
if (exists $args{'q'}) { } |
|
750
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
771
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
775
|
0 |
0 |
unless $data->{'results'}[0]{'series'}[0]{'values'} |
|
790
|
0 |
0 |
if (exists $args{'q'}) { } |
|
804
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
814
|
0 |
0 |
unless $values |
|
829
|
0 |
0 |
if (exists $args{'q'}) { } |
|
834
|
0 |
0 |
if (my $measurement = $args{'measurement'}) |
|
838
|
0 |
0 |
if (my $cond = $args{'where'}) |
|
842
|
0 |
0 |
if (my $order_by = $args{'order_by'}) |
|
846
|
0 |
0 |
if (my $limit = $args{'limit'}) |
|
849
|
0 |
0 |
if (my $offset = $args{'offset'}) |
|
864
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
869
|
0 |
0 |
unless $values |
|
884
|
0 |
0 |
if (exists $args{'q'}) { } |
|
889
|
0 |
0 |
if (my $measurement = $args{'measurement'}) |
|
890
|
0 |
0 |
$measurement =~ m[^/.*/$] ? : |
|
895
|
0 |
0 |
if (my $cond = $args{'where'}) |
|
899
|
0 |
0 |
if (my $order_by = $args{'order_by'}) |
|
903
|
0 |
0 |
if (my $limit = $args{'limit'}) |
|
906
|
0 |
0 |
if (my $offset = $args{'offset'}) |
|
921
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
926
|
0 |
0 |
unless $values |
|
941
|
0 |
0 |
if (exists $args{'q'}) { } |
|
946
|
0 |
0 |
if (my $measurement = $args{'measurement'}) |
|
950
|
0 |
0 |
if (my $cond = $args{'where'}) |
|
954
|
0 |
0 |
if (my $limit = $args{'limit'}) |
|
958
|
0 |
0 |
if (my $offset = $args{'offset'}) |
|
972
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
975
|
0 |
0 |
unless $data->{'results'}[0]{'series'} |
|
980
|
0 |
0 |
unless $values |
|
996
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1001
|
0 |
0 |
if (my $measurement = $args{'measurement'}) |
|
1005
|
0 |
0 |
if (my $keys = $args{'keys'}) { } |
|
|
0 |
0 |
elsif (my $key = $args{'key'}) { } |
|
1012
|
0 |
0 |
if (my $cond = $args{'where'}) |
|
1016
|
0 |
0 |
if (my $limit = $args{'limit'}) |
|
1020
|
0 |
0 |
if (my $offset = $args{'offset'}) |
|
1034
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
1037
|
0 |
0 |
unless $data->{'results'}[0]{'series'} |
|
1040
|
0 |
0 |
unless $cols |
|
1044
|
0 |
0 |
unless $values |
|
1062
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1067
|
0 |
0 |
if (my $measurement = $args{'measurement'}) |
|
1081
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
1084
|
0 |
0 |
unless $data->{'results'}[0]{'series'} |
|
1092
|
0 |
0 |
unless $values |
|
1108
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1114
|
0 |
0 |
if $args{'all_privileges'} |
|
1125
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
1139
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1154
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
1175
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
1185
|
0 |
0 |
unless $values |
|
1200
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1205
|
0 |
0 |
if ($args{'all_privileges'}) { } |
|
1221
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
1235
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1249
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
1259
|
0 |
0 |
unless $values |
|
1275
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1280
|
0 |
0 |
if ($args{'all_privileges'}) { } |
|
1296
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
1311
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1325
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
1339
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1343
|
0 |
0 |
if ($args{'every'} or $args{'for'}) |
|
1345
|
0 |
0 |
if ($args{'every'}) |
|
1348
|
0 |
0 |
if ($args{'for'}) |
|
1367
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
1381
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1395
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
1417
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
1420
|
0 |
0 |
unless $data->{'results'}[0]{'series'} |
|
1428
|
0 |
0 |
unless $values |
|
1444
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1452
|
0 |
0 |
unless $args{'destinations'} |
|
1455
|
0 |
0 |
ref $args{'destinations'} eq 'ARRAY' ? : |
|
1466
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
1487
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
1490
|
0 |
0 |
unless $data->{'results'}[0]{'series'} |
|
1498
|
0 |
0 |
unless $values |
|
1514
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1529
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |