| 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') { } |
|
176
|
0 |
0 |
$t ? : |
|
|
0 |
0 |
$data->{'time'} ? : |
|
184
|
0 |
0 |
ref $_ eq 'HASH' ? : |
|
186
|
0 |
0 |
ref $args{'data'} eq 'HASH' ? : |
|
|
0 |
0 |
ref $args{'data'} eq 'ARRAY' ? : |
|
211
|
0 |
0 |
$args{'consistency'} ? : |
|
|
0 |
0 |
$args{'rp'} ? : |
|
|
0 |
0 |
$args{'precision'} ? : |
|
|
0 |
0 |
$args{'one'} ? : |
|
220
|
0 |
0 |
if ($headers->{'Status'} eq '204') { } |
|
235
|
0 |
0 |
if (exists $args{'q'}) { } |
|
237
|
0 |
0 |
if ($q =~ /\s+INTO\s+/i) |
|
243
|
0 |
0 |
if (my $into = $args{'into'}) |
|
250
|
0 |
0 |
if (my $cond = $args{'where'}) |
|
254
|
0 |
0 |
if (my $group = $args{'group_by'}) |
|
257
|
0 |
0 |
if (my $fill = $args{'fill'}) |
|
262
|
0 |
0 |
if (my $order_by = $args{'order_by'}) |
|
266
|
0 |
0 |
if (my $limit = $args{'limit'}) |
|
269
|
0 |
0 |
if (my $offset = $args{'offset'}) |
|
274
|
0 |
0 |
if (my $slimit = $args{'slimit'}) |
|
277
|
0 |
0 |
if (my $soffset = $args{'soffset'}) |
|
301
|
0 |
0 |
$args{'rp'} ? : |
|
|
0 |
0 |
$args{'epoch'} ? : |
|
|
0 |
0 |
$args{'chunk_size'} ? : |
|
310
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
326
|
0 |
0 |
unless $values |
|
329
|
0 |
0 |
unless $data->{'results'}[0]{'series'} |
|
344
|
0 |
0 |
if (exists $args{'q'}) { } |
|
351
|
0 |
0 |
$args{'if_not_exists'} ? : |
|
362
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
376
|
0 |
0 |
if (exists $args{'q'}) { } |
|
383
|
0 |
0 |
$args{'if_exists'} ? : |
|
394
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
408
|
0 |
0 |
if (exists $args{'q'}) { } |
|
413
|
0 |
0 |
if (my $measurement = $args{'measurement'}) { } |
|
|
0 |
0 |
elsif (my $measurements = $args{'measurements'}) { } |
|
417
|
0 |
0 |
unless $measurements |
|
420
|
0 |
0 |
if (my $cond = $args{'where'}) |
|
434
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
448
|
0 |
0 |
if (exists $args{'q'}) { } |
|
453
|
0 |
0 |
if (my $measurement = $args{'measurement'}) |
|
457
|
0 |
0 |
if (my $cond = $args{'where'}) |
|
471
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
485
|
0 |
0 |
if (exists $args{'q'}) { } |
|
500
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
521
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
524
|
0 |
0 |
unless $data->{'results'}[0]{'series'} |
|
532
|
0 |
0 |
unless $values |
|
555
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
565
|
0 |
0 |
unless $values |
|
580
|
0 |
0 |
if (exists $args{'q'}) { } |
|
595
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
616
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
626
|
0 |
0 |
unless $values |
|
641
|
0 |
0 |
if (exists $args{'q'}) { } |
|
656
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
671
|
0 |
0 |
if (exists $args{'q'}) { } |
|
680
|
0 |
0 |
if $args{'default'} |
|
691
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
705
|
0 |
0 |
if (exists $args{'q'}) { } |
|
711
|
0 |
0 |
if exists $args{'duration'} |
|
712
|
0 |
0 |
if exists $args{'shard_duration'} |
|
713
|
0 |
0 |
if exists $args{'replication'} |
|
714
|
0 |
0 |
if $args{'default'} |
|
725
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
739
|
0 |
0 |
if (exists $args{'q'}) { } |
|
753
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
774
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
778
|
0 |
0 |
unless $data->{'results'}[0]{'series'}[0]{'values'} |
|
793
|
0 |
0 |
if (exists $args{'q'}) { } |
|
807
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
817
|
0 |
0 |
unless $values |
|
832
|
0 |
0 |
if (exists $args{'q'}) { } |
|
837
|
0 |
0 |
if (my $measurement = $args{'measurement'}) |
|
841
|
0 |
0 |
if (my $cond = $args{'where'}) |
|
845
|
0 |
0 |
if (my $order_by = $args{'order_by'}) |
|
849
|
0 |
0 |
if (my $limit = $args{'limit'}) |
|
852
|
0 |
0 |
if (my $offset = $args{'offset'}) |
|
867
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
872
|
0 |
0 |
unless $values |
|
887
|
0 |
0 |
if (exists $args{'q'}) { } |
|
892
|
0 |
0 |
if (my $measurement = $args{'measurement'}) |
|
893
|
0 |
0 |
$measurement =~ m[^/.*/$] ? : |
|
898
|
0 |
0 |
if (my $cond = $args{'where'}) |
|
902
|
0 |
0 |
if (my $order_by = $args{'order_by'}) |
|
906
|
0 |
0 |
if (my $limit = $args{'limit'}) |
|
909
|
0 |
0 |
if (my $offset = $args{'offset'}) |
|
924
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
929
|
0 |
0 |
unless $values |
|
944
|
0 |
0 |
if (exists $args{'q'}) { } |
|
949
|
0 |
0 |
if (my $measurement = $args{'measurement'}) |
|
953
|
0 |
0 |
if (my $cond = $args{'where'}) |
|
957
|
0 |
0 |
if (my $limit = $args{'limit'}) |
|
961
|
0 |
0 |
if (my $offset = $args{'offset'}) |
|
975
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
978
|
0 |
0 |
unless $data->{'results'}[0]{'series'} |
|
983
|
0 |
0 |
unless $values |
|
999
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1004
|
0 |
0 |
if (my $measurement = $args{'measurement'}) |
|
1008
|
0 |
0 |
if (my $keys = $args{'keys'}) { } |
|
|
0 |
0 |
elsif (my $key = $args{'key'}) { } |
|
1015
|
0 |
0 |
if (my $cond = $args{'where'}) |
|
1019
|
0 |
0 |
if (my $limit = $args{'limit'}) |
|
1023
|
0 |
0 |
if (my $offset = $args{'offset'}) |
|
1037
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
1040
|
0 |
0 |
unless $data->{'results'}[0]{'series'} |
|
1043
|
0 |
0 |
unless $cols |
|
1047
|
0 |
0 |
unless $values |
|
1065
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1070
|
0 |
0 |
if (my $measurement = $args{'measurement'}) |
|
1084
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
1087
|
0 |
0 |
unless $data->{'results'}[0]{'series'} |
|
1095
|
0 |
0 |
unless $values |
|
1111
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1117
|
0 |
0 |
if $args{'all_privileges'} |
|
1128
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
1142
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1157
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
1178
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
1188
|
0 |
0 |
unless $values |
|
1203
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1208
|
0 |
0 |
if ($args{'all_privileges'}) { } |
|
1224
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
1238
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1252
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
1262
|
0 |
0 |
unless $values |
|
1278
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1283
|
0 |
0 |
if ($args{'all_privileges'}) { } |
|
1299
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
1314
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1328
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
1342
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1346
|
0 |
0 |
if ($args{'every'} or $args{'for'}) |
|
1348
|
0 |
0 |
if ($args{'every'}) |
|
1351
|
0 |
0 |
if ($args{'for'}) |
|
1370
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
1384
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1398
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
1420
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
1423
|
0 |
0 |
unless $data->{'results'}[0]{'series'} |
|
1431
|
0 |
0 |
unless $values |
|
1447
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1455
|
0 |
0 |
unless $args{'destinations'} |
|
1458
|
0 |
0 |
ref $args{'destinations'} eq 'ARRAY' ? : |
|
1469
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |
|
1490
|
0 |
0 |
if ($headers->{'Status'} eq '200') { } |
|
1493
|
0 |
0 |
unless $data->{'results'}[0]{'series'} |
|
1501
|
0 |
0 |
unless $values |
|
1517
|
0 |
0 |
if (exists $args{'q'}) { } |
|
1532
|
0 |
0 |
if ($headers->{'Status'} eq '200' and $body eq '{"results":[{}]}') { } |