| line |
true |
false |
branch |
|
92
|
0 |
5 |
unless ($opts{'constructor'}) |
|
96
|
0 |
5 |
if (ref $opts{'constructor'} ne 'CODE') |
|
100
|
0 |
5 |
if ($opts{'dispatcher'} and not $opts{'init'}) |
|
106
|
1 |
4 |
if ($opts{'check'}) |
|
107
|
0 |
1 |
if (ref $opts{'check'} ne 'HASH') |
|
110
|
0 |
1 |
unless ($opts{'check'}{'cb'}) |
|
114
|
0 |
1 |
if (ref $opts{'check'}{'cb'} ne 'CODE') |
|
117
|
0 |
1 |
unless ($opts{'check'}{'interval'}) |
|
125
|
5 |
0 |
if ($opts{'size'}) |
|
133
|
4 |
1 |
if ($opts{'init'}) |
|
137
|
0 |
5 |
if ($opts{'dispatcher'}) |
|
153
|
0 |
5 |
if ($$self{'init'}) |
|
159
|
0 |
5 |
unless ($conn_count) |
|
167
|
1 |
4 |
if ($$self{'check'}) |
|
178
|
0 |
3 |
unless (eval {
do {
$$self{'check'}{'cb'}($conn);
1
}
}) |
|
247
|
3 |
62 |
if (defined $index) |
|
251
|
2 |
60 |
if ($$self{'index'} + 1 > $$self{'count'}) |
|
257
|
15 |
47 |
if ($retval->locked) { } |
|
265
|
0 |
62 |
if (wantarray) { } |
|
308
|
15 |
29 |
unless ($conn->locked) |
|
326
|
14 |
1 |
if ($index == 0 or $index >= $count) |
|
337
|
0 |
26 |
if (defined $position) { } |
|
485
|
1 |
0 |
if ($$self{'_constructor'}) |