blib/lib/AnyEvent/ZabbixSender.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 24 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
256 | 0 | 0 | 0 | delete $self->{'send_immediate'} and $self->{'queue'} |
293 | 0 | 0 | 0 | @{$self->{'queue'};} and $self->{'queue'}[0][0] < $expire |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
133 | 0 | 0 | 0 | $self->{'host'} //= do { require POSIX; (POSIX::uname())[1] } |
138 | 0 | 0 | 0 | $self->{'linger_time'} //= $self->{'queue_time'} |
154 | 0 | 0 | 0 | @{$self->{'queue'};} or $self->{'sending'} |
203 | 0 | 0 | 0 | $self->{'delay_w'} ||= &AE::timer($self->{'delay'}, 0, sub { delete $self->{'delay_w'}; $self->{'send_immediate'} = 1; $self->_send2 unless $self->{'sending'}++; } ) |
276 | 0 | 0 | 0 | $_->[2] // $slot->[0] |
0 | 0 | 0 | $_->[3] // $self->{'host'} |