line |
true |
false |
branch |
21
|
12 |
0 |
if (my $name = $args{'selected'}) |
27
|
2 |
8 |
if ($columns and @$columns and $name eq $$columns[0]) |
28
|
2 |
0 |
$$direction{$name} + 0 ? : |
38
|
12 |
0 |
unless $args{'numeric_direction'} |
45
|
2 |
10 |
wantarray ? : |
55
|
5 |
15 |
if (ref $args{'order_by'} eq 'ARRAY') { } |
60
|
12 |
3 |
if ($args{'order_by'}) { } |
86
|
7 |
13 |
unless $args{'numeric_direction'} |
90
|
14 |
6 |
if ($args{'name_direction'}) { } |
97
|
18 |
2 |
wantarray ? : |
105
|
19 |
30 |
$$direction{$_} ? : |
118
|
1 |
20 |
$args{'uc_direction'} ? : |
124
|
40 |
15 |
if (defined $$dir{$_} and $$dir{$_} =~ /^\d+$/) { } |
125
|
5 |
28 |
$args{'show_ascending'} ? : |
|
33 |
7 |
$$dir{$_} ? : |
131
|
0 |
1 |
$args{'show_ascending'} ? : |
|
5 |
1 |
lc $$dir{$_} eq 'desc' ? : |
|
6 |
3 |
$args{'show_ascending'} ? : |
|
6 |
9 |
$$dir{$_} ? : |
145
|
60 |
0 |
if ($col =~ /^(.*?)(?:\s+(asc|desc))?$/i) |
149
|
9 |
51 |
$dir && lc $dir eq 'desc' ? : |
151
|
13 |
47 |
$dir ? : |