| line |
true |
false |
branch |
|
23
|
12 |
0 |
if (my $name = $args{'selected'}) |
|
29
|
2 |
8 |
if ($columns and @$columns and $name eq $columns->[0]) |
|
30
|
2 |
0 |
$direction->{$name} + 0 ? : |
|
41
|
12 |
0 |
unless $args{'numeric_direction'} |
|
47
|
2 |
10 |
wantarray ? : |
|
57
|
5 |
15 |
if (ref $args{'order_by'} eq 'ARRAY') { } |
|
62
|
12 |
3 |
if ($args{'order_by'}) { } |
|
89
|
7 |
13 |
unless $args{'numeric_direction'} |
|
92
|
14 |
6 |
if ($args{'name_direction'}) { } |
|
99
|
18 |
2 |
wantarray ? : |
|
108
|
19 |
30 |
$direction->{$_} ? : |
|
121
|
1 |
20 |
$args{'uc_direction'} ? : |
|
126
|
40 |
15 |
if (defined $dir->{$_} and $dir->{$_} =~ /^\d+$/) { } |
|
128
|
5 |
28 |
$args{'show_ascending'} ? : |
|
|
33 |
7 |
$dir->{$_} ? : |
|
137
|
0 |
1 |
$args{'show_ascending'} ? : |
|
|
5 |
1 |
lc $dir->{$_} eq 'desc' ? : |
|
|
6 |
3 |
$args{'show_ascending'} ? : |
|
|
6 |
9 |
$dir->{$_} ? : |
|
147
|
60 |
0 |
if ($col =~ /^(.*?)(?:\s+(asc|desc))?$/i) |
|
151
|
9 |
51 |
$dir && lc $dir eq 'desc' ? : |
|
153
|
13 |
47 |
$dir ? : |