| blib/lib/AnyEvent/ConnPool.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 6 | 19 | 31.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 104 | 5 | 0 | 0 | $opts{'dispatcher'} and not $opts{'init'} |
| line | l | !l | condition |
|---|---|---|---|
| 320 | 0 | 0 | $count ||= 1 |
| 331 | 0 | 0 | $count ||= 1 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 161 | 0 | 5 | 0 | $conn_count ||= delete $$self{'size'} |
| 247 | 3 | 0 | 0 | $dispatcher ||= $p2 |
| 248 | 0 | 0 | 3 | not $dispatcher or ref $dispatcher ne 'AnyEvent::ConnPool::Dispatcher' |
| 367 | 0 | 14 | 1 | $index == 0 or $index >= $count |