| line |
true |
false |
branch |
|
13
|
0 |
4 |
if @_ % 2 |
|
38
|
310 |
4 |
if @_ == 1 |
|
39
|
2 |
2 |
unless $ival |
|
46
|
0 |
4 |
if $cb and 'CODE' ne ref $cb |
|
55
|
3 |
1 |
unless ($cb) |
|
60
|
0 |
1 |
unless 'CODE' eq ref $cb |
|
68
|
63846 |
0 |
if (@data) |
|
69
|
63708 |
138 |
if ($$self{'unique_cb'}) { } |
|
73
|
0 |
63708 |
if ref $key or not defined $key |
|
75
|
62707 |
1001 |
if exists $$self{'exists'}{$key} |
|
91
|
12962 |
0 |
if (@data) |
|
92
|
0 |
12962 |
if ($$self{'unique_cb'}) { } |
|
96
|
0 |
0 |
if ref $key or not defined $key |
|
98
|
0 |
0 |
if exists $$self{'exists'}{$key} |
|
115
|
0 |
1 |
unless $$self{'lock'} |
|
116
|
1 |
0 |
unless ($$self{'unique_cb'}) |
|
125
|
0 |
0 |
if exists $$self{'exists'}{$key} |
|
137
|
76922 |
4 |
if @_ == 1 |
|
147
|
2 |
130 |
unless @{$$self{'queue'};} |
|
148
|
0 |
130 |
unless $$self{'on_flush'} |
|
149
|
0 |
130 |
if ($$self{'lock'}) |
|
159
|
0 |
130 |
unless $self |
|
163
|
0 |
130 |
if ($$self{'do_flush'}) |
|
165
|
0 |
0 |
unless @{$$self{'queue'};} |
|
168
|
0 |
0 |
if $self |
|
172
|
0 |
130 |
unless $self |
|
173
|
129 |
1 |
unless @{$$self{'queue'};} |
|
176
|
1 |
0 |
if $self |
|
190
|
12 |
76801 |
if $$self{'lock'} |
|
191
|
0 |
76801 |
unless $$self{'on_flush'} |
|
193
|
5 |
76796 |
unless (@{$$self{'queue'};}) |
|
198
|
126 |
76670 |
if ($self->size) |
|
199
|
26 |
100 |
if (@{$$self{'queue'};} >= $self->size) |
|
205
|
76565 |
205 |
if $$self{'timer'} |
|
206
|
100 |
105 |
unless $self->interval |