| line |
true |
false |
branch |
|
24
|
3 |
28 |
if $self->{'join'} and ref $self->{'join'} ne 'ARRAY' |
|
39
|
31 |
0 |
if (@columns) |
|
46
|
7 |
24 |
if (my $joins = $self->{'join'}) |
|
52
|
1 |
30 |
if (my $where = $params{'where'}) |
|
53
|
1 |
0 |
unless (&Scalar::Util::blessed($where)) |
|
61
|
1 |
0 |
if (my $where_sql = $where->to_sql) |
|
67
|
4 |
27 |
if (my $group_bys = $params{'group_by'}) |
|
68
|
3 |
1 |
unless ref $group_bys eq 'ARRAY' |
|
75
|
2 |
4 |
ref $group_by ? : |
|
81
|
1 |
30 |
if (my $having = $params{'having'}) |
|
82
|
1 |
0 |
unless (&Scalar::Util::blessed($having)) |
|
90
|
1 |
0 |
if (my $having_sql = $having->to_sql) |
|
96
|
8 |
23 |
if (my $order_by = $params{'order_by'}) |
|
98
|
7 |
1 |
if (ref $order_by) { } |
|
99
|
6 |
1 |
if (ref $order_by eq 'ARRAY') { } |
|
|
1 |
0 |
elsif (ref $order_by eq 'SCALAR') { } |
|
104
|
1 |
6 |
if (ref $value) { } |
|
109
|
4 |
2 |
if ($order_type eq 'ASC' or $order_type eq 'DESC') { } |
|
117
|
1 |
6 |
if (ref $key eq 'SCALAR') { } |
|
139
|
4 |
27 |
if (defined(my $limit = $params{'limit'})) |
|
143
|
2 |
29 |
if (defined(my $offset = $params{'offset'})) |
|
147
|
1 |
30 |
if ($params{'for_update'}) |
|
160
|
0 |
30 |
unless (shift())->{'bind'} |
|
184
|
1 |
60 |
if (ref $column eq 'SCALAR') { } |
|
|
3 |
57 |
elsif (ref $column eq 'HASH') { } |
|
193
|
1 |
1 |
if (ref $$value eq 'ARRAY') { } |
|
206
|
2 |
1 |
ref $$column{-'col'} ? : |
|
219
|
2 |
18 |
if (ref $column eq 'HASH') { } |
|
|
1 |
17 |
elsif (ref $column eq 'SCALAR') { } |
|
243
|
3 |
6 |
if (my $subjoins = $join->{'join'}) |
|
244
|
0 |
3 |
unless ref $subjoins eq 'ARRAY' |
|
255
|
24 |
10 |
unless $joins and @$joins |
|
259
|
9 |
2 |
if (my $join_columns = $join_params->{'columns'}) |
|
265
|
6 |
3 |
$join_params->{'as'} ? : |
|
268
|
3 |
8 |
if (my $subjoins = $join_params->{'join'}) |
|
269
|
0 |
3 |
unless ref $subjoins eq 'ARRAY' |
|
282
|
0 |
10 |
unless ref $joins eq 'ARRAY' |
|
293
|
3 |
8 |
if (my $subjoin = $join_params->{'join'}) |