blib/lib/ETL/Yertl/Adapter/graphite.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 19 | 47.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
137 | 1 | 0 | 0 | $query->{'tags'} and keys %{$$query{'tags'};} |
215 | 2 | 0 | 0 | $point->{'tags'} and keys %{$$point{'tags'};} |
line | l | !l | condition |
---|---|---|---|
73 | 1 | 3 | $args{'write_port'} ||= 2003 |
74 | 1 | 3 | $args{'http_port'} ||= 8080 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
81 | 1 | 0 | 0 | $self->{'_loop'} ||= 'IO::Async::Loop'->new |
90 | 1 | 0 | 0 | $self->{'write_client'} ||= $self->_loop->connect('socktype', 'stream', 'host', $self->{'host'}, 'service', $self->{'write_port'})->get |
95 | 0 | 1 | 0 | $self->{'http_client'} ||= do { my $http = 'Net::Async::HTTP'->new; $self->_loop->add($http); $http } |