| 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) { } |
|
108
|
1 |
5 |
unless defined $value |
|
110
|
4 |
2 |
if ($order_type eq 'ASC' or $order_type eq 'DESC') { } |
|
118
|
1 |
6 |
if (ref $key eq 'SCALAR') { } |
|
140
|
4 |
27 |
if (defined(my $limit = $params{'limit'})) |
|
144
|
2 |
29 |
if (defined(my $offset = $params{'offset'})) |
|
148
|
1 |
30 |
if ($params{'for_update'}) |
|
161
|
0 |
30 |
unless (shift())->{'bind'} |
|
185
|
1 |
60 |
if (ref $column eq 'SCALAR') { } |
|
|
3 |
57 |
elsif (ref $column eq 'HASH') { } |
|
194
|
1 |
1 |
if (ref $$value eq 'ARRAY') { } |
|
207
|
2 |
1 |
ref $$column{-'col'} ? : |
|
220
|
2 |
18 |
if (ref $column eq 'HASH') { } |
|
|
1 |
17 |
elsif (ref $column eq 'SCALAR') { } |
|
244
|
3 |
6 |
if (my $subjoins = $join->{'join'}) |
|
245
|
0 |
3 |
unless ref $subjoins eq 'ARRAY' |
|
256
|
24 |
10 |
unless $joins and @$joins |
|
260
|
9 |
2 |
if (my $join_columns = $join_params->{'columns'}) |
|
266
|
6 |
3 |
$join_params->{'as'} ? : |
|
269
|
3 |
8 |
if (my $subjoins = $join_params->{'join'}) |
|
270
|
0 |
3 |
unless ref $subjoins eq 'ARRAY' |
|
283
|
0 |
10 |
unless ref $joins eq 'ARRAY' |
|
294
|
3 |
8 |
if (my $subjoin = $join_params->{'join'}) |