blib/lib/ETL/Yertl/Adapter/influxdb.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 24 | 66.6 |
line | true | false | branch |
---|---|---|---|
61 | 3 | 2 | if (@_ == 1) { } |
62 | 2 | 1 | if ($_[0] =~ m[://([^:]+)(?::([^/]+))?]) |
70 | 1 | 4 | unless $args{'host'} |
133 | 0 | 1 | if ($tags and keys %$tags) |
136 | 0 | 1 | if (my $start = $query->{'start'}) |
139 | 0 | 1 | if (my $end = $query->{'end'}) |
142 | 0 | 1 | if (@where) |
153 | 0 | 1 | if ($res->is_error) |
165 | 0 | 2 | $field ne 'value' ? : |
209 | 0 | 2 | if ($point->{'tags'}) |
214 | 1 | 1 | if ($point->{'timestamp'}) |
231 | 0 | 1 | if ($res->is_error) |