blib/lib/ResourcePool.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 12 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
96 | 228 | 11 | 18 | not $rec and $maxtry-- > 0 |
239 | 0 | 18 | not $rec and $maxtry-- > 0 and $self->sleepit($maxtry) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
33 | 0 | 24 | 0 | ref $proto || $proto |
222 | 0 | 52 | 31 | not defined $$self{'Max'} or $PoolSize < $$self{'Max'} |