blib/lib/Queue/Beanstalk.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 58 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
76 | 0 | 0 | 0 | $$self{'random_servers'} and not $internal |
94 | 0 | 0 | 0 | $internal and $$self{'_connect_retries'}++ >= $$self{'max_autoretry'} |
125 | 0 | 0 | 0 | not $ret and $$self{'connect_timeout'} |
0 | 0 | 0 | not $ret and $$self{'connect_timeout'} and $! == 115 | |
133 | 0 | 0 | 0 | not $ret and $! == 106 |
200 | 0 | 0 | 0 | not defined $res and $! == 11 |
218 | 0 | 0 | 0 | not defined $res and $! == 11 |
227 | 0 | 0 | 0 | $state == 1 and $ret =~ /\r\n/ |
239 | 0 | 0 | 0 | $state == 2 and $offset - 2 == $toread |
293 | 0 | 0 | 0 | not defined $res and $! == 11 |
310 | 0 | 0 | 0 | not defined $res and $! == 11 |
459 | 0 | 0 | 0 | defined $$self{'job_id'} and $$self{'job_id'} |
line | l | !l | condition |
---|---|---|---|
74 | 0 | 0 | shift() || 0 |
170 | 0 | 0 | $check_header ||= sub { if (/OK (\d+)/) { return $1; } else { return 0; }; } |
265 | 0 | 0 | $check_complete ||= sub { return rindex($ret, "\r\n") + 2 == length $ret; } |
348 | 0 | 0 | $pri ||= 4294967295 |
350 | 0 | 0 | $delay ||= 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
189 | 0 | 0 | 0 | $state == 1 or $state == 2 |
202 | 0 | 0 | 0 | not defined $res or $res <= 0 |
295 | 0 | 0 | 0 | not defined $res or $res <= 0 |
436 | 0 | 0 | 0 | $pri % 4294967296 || $$self{'job_pri'} |