| blib/lib/ETL/Yertl/Adapter/graphite.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 11 | 22 | 50.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 138 | 1 | 0 | 0 | $query->{'tags'} and keys %{$$query{'tags'};} |
| 216 | 3 | 0 | 0 | $point->{'tags'} and keys %{$$point{'tags'};} |
| line | l | !l | condition |
|---|---|---|---|
| 74 | 1 | 3 | $args{'write_port'} ||= 2003 |
| 75 | 1 | 3 | $args{'http_port'} ||= 8080 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 82 | 1 | 0 | 0 | $self->{'_loop'} ||= 'IO::Async::Loop'->new |
| 91 | 1 | 0 | 0 | $self->{'write_client'} ||= $self->_loop->connect('socktype', 'stream', 'host', $self->{'host'}, 'service', $self->{'write_port'})->get |
| 96 | 0 | 1 | 0 | $self->{'http_client'} ||= do { my $http = 'Net::Async::HTTP'->new; $self->_loop->add($http); $http } |
| 217 | 2 | 1 | 0 | $point->{'timestamp'} ||= time |