line |
true |
false |
branch |
101
|
1 |
20 |
unless 'ARRAY' eq ref $items |
109
|
1 |
17 |
'ARRAY' eq ref $opts{'item_class'} ? : |
|
18 |
2 |
if exists $opts{'item_class'} |
112
|
16 |
4 |
if exists $opts{'item_constructor'} |
115
|
16 |
4 |
if exists $opts{'data'} |
142
|
1 |
3 |
if (@_ == 1) { } |
156
|
1 |
3 |
$clone_items ? : |
186
|
43 |
88 |
if (my $class = $self->item_class) |
188
|
39 |
4 |
if (my $m = $self->item_constructor) |
192
|
0 |
4 |
if ref $item |
213
|
1 |
1 |
defined $no ? : |
|
2 |
170 |
unless defined $exists |
215
|
2 |
168 |
unless $exists |
217
|
164 |
4 |
if ($no >= 0) { } |
218
|
0 |
164 |
unless $no < $self->count |
221
|
0 |
4 |
unless $no >= -$self->count |
333
|
1 |
171 |
unless defined $no |
334
|
1 |
170 |
unless $no =~ /^-?\d+$/ |
335
|
1 |
169 |
if $no >= $self->count |
336
|
1 |
168 |
if $no < -$self->count |
357
|
90 |
30 |
if (defined $$self{'iter'}) |
359
|
69 |
21 |
if $self->iter < $#{$$self{'items'};} |
364
|
29 |
1 |
if $self->count |
416
|
0 |
16 |
unless defined wantarray |
422
|
2 |
14 |
if (@items == 1) { } |
|
1 |
13 |
elsif (@items) { } |
438
|
6 |
10 |
if wantarray |
453
|
6 |
158 |
if @_ > 2 |
454
|
25 |
139 |
if @_ > 1 |
468
|
24 |
51 |
if @_ > 1 |
495
|
18 |
11 |
if @_ > 1 |