line |
true |
false |
branch |
36
|
54 |
441 |
if (defined $sort_field)
|
37
|
20 |
34 |
if ($sort_field =~ s/_reversed$//) { }
|
45
|
260 |
235 |
if ($sigil eq '$')
|
46
|
64 |
196 |
if (defined $item and !$self->{'cache'}{'item'} || $self->{'cache'}{'item'} ne $item) { }
|
56
|
412 |
83 |
unless (exists $cache{$data_field})
|
68
|
260 |
235 |
if $sigil eq '$'
|
79
|
146 |
552 |
if (@data == 0) { }
|
|
551 |
1 |
elsif (@data == 1) { }
|
|
1 |
0 |
elsif (@data % 2 == 0) { }
|
113
|
58 |
112 |
if ($sort_reverse) { }
|
131
|
308 |
105 |
if (@keys == 1)
|
133
|
132 |
176 |
if (ref $data->{$key} eq 'ARRAY')
|
148
|
2 |
149 |
unless $self->can($formatter)
|
156
|
214 |
0 |
if (exists $data{$sort_field}) { }
|
174
|
0 |
30 |
unless $loop
|
178
|
30 |
30 |
if ($loop->[$i] eq $item)
|
185
|
6 |
24 |
if $index < 1 or $index > @$loop
|
186
|
24 |
6 |
$index ? :
|
196
|
40 |
773 |
unless $sorted_data->{$name}
|
199
|
198 |
575 |
if ($self->can($formatter))
|
200
|
0 |
198 |
if (ref $sorted_data->{$name} eq 'ARRAY') { }
|
|
0 |
198 |
elsif (ref $sorted_data->{$name} eq 'HASH') { }
|
236
|
550 |
145 |
if ($self->can($method)) { }
|
252
|
0 |
3 |
unless $loop
|
255
|
3 |
3 |
if ($loop->[$i] eq $item)
|
270
|
0 |
3 |
unless $loop
|
271
|
1 |
2 |
$loop->[0] eq $item ? :
|
280
|
0 |
3 |
unless $loop
|
281
|
1 |
2 |
$loop->[-1] eq $item ? :
|
290
|
0 |
1 |
unless $loop
|
351
|
1 |
2 |
if @merged_list == $self->{'list_length'}
|
352
|
2 |
0 |
if (&$comparer($list1->[0], $list2->[0]) > 0) { }
|
360
|
1 |
0 |
if @merged_list == $self->{'list_length'}
|
365
|
3 |
17 |
if @merged_list == $self->{'list_length'}
|
379
|
17 |
481 |
unless defined $value
|
381
|
263 |
235 |
if ($sigil eq '$') { }
|
|
45 |
190 |
elsif ($sigil eq '@') { }
|
|
190 |
0 |
elsif ($sigil eq '') { }
|
382
|
262 |
1 |
if (ref $value ne 'SCALAR') { }
|
396
|
89 |
101 |
ref $value ? :
|
400
|
0 |
498 |
unless $check
|
422
|
132 |
281 |
if ($data_field) { }
|
453
|
98 |
53 |
unless defined $sort_field
|
454
|
99 |
52 |
unless defined $sort_reverse
|