| blib/lib/ETL/Yertl/Adapter/influxdb.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 17 | 26 | 65.3 |
| line | true | false | branch |
|---|---|---|---|
| 62 | 3 | 2 | if (@_ == 1) { } |
| 63 | 2 | 1 | if ($_[0] =~ m[://([^:]+)(?::([^/]+))?]) |
| 71 | 1 | 4 | unless $args{'host'} |
| 134 | 0 | 1 | if ($tags and keys %$tags) |
| 137 | 0 | 1 | if (my $start = $query->{'start'}) |
| 140 | 0 | 1 | if (my $end = $query->{'end'}) |
| 143 | 0 | 1 | if (@where) |
| 154 | 0 | 1 | if ($res->is_error) |
| 166 | 0 | 2 | $field ne 'value' ? : |
| 210 | 0 | 3 | if ($point->{'tags'}) |
| 215 | 3 | 0 | if (my $epoch = $point->{'timestamp'} || time) |
| 216 | 1 | 2 | unless (&looks_like_number($epoch)) |
| 233 | 0 | 1 | if ($res->is_error) |