line |
true |
false |
branch |
18
|
0 |
33 |
@_ == 1 ? : |
22
|
297 |
0 |
unless ($self->$name and ref $self->$name eq 'ARRAY') |
23
|
0 |
297 |
$self->$name ? : |
27
|
132 |
0 |
unless $self->$name and ref $self->$name eq 'HASH' |
30
|
33 |
0 |
unless $self->distinct |
47
|
6 |
2 |
ref $joins eq 'ARRAY' ? : |
56
|
1 |
0 |
ref $$hint{'list'} eq 'ARRAY' ? : |
65
|
15 |
18 |
if (@{$self->select;}) |
67
|
1 |
14 |
if $self->distinct |
70
|
16 |
2 |
$alias && /(?:^|\.)\Q$alias\E$/ ? : |
|
0 |
18 |
!$alias ? : |
78
|
8 |
25 |
if ($self->joins and @{$self->joins;}) |
83
|
8 |
3 |
unless $initial_table_written++ |
87
|
1 |
12 |
if (ref $$join{'condition'}) { } |
95
|
1 |
7 |
if @{$self->from;} |
98
|
26 |
7 |
if ($self->from and @{$self->from;}) |
111
|
3 |
29 |
if ($comment and $comment =~ /([ 0-9a-zA-Z.:;()_#&,]+)/) |
112
|
3 |
0 |
if $1 |
122
|
29 |
4 |
unless my $n = $self->limit |
124
|
1 |
3 |
if $n =~ /\D/ |
125
|
1 |
2 |
$self->offset ? : |
132
|
0 |
66 |
unless my $attribute = $self->$set |
136
|
56 |
10 |
if ($ref eq 'ARRAY' and scalar @$attribute == 0) |
140
|
3 |
7 |
$ref eq 'ARRAY' ? : |
141
|
8 |
5 |
$$_{'desc'} ? : |
150
|
19 |
29 |
$self->where && @{$self->where;} ? : |
157
|
1 |
32 |
$self->having && @{$self->having;} ? : |
186
|
2 |
1 |
if $bind |
197
|
3 |
6 |
unless (ref $t) |
198
|
3 |
0 |
if uc($t) =~ /^-?(OR|AND|OR_NOT|AND_NOT)$/ |
203
|
5 |
1 |
if (ref $t eq 'HASH') { } |
|
1 |
0 |
elsif (ref $t eq 'ARRAY') { } |
221
|
3 |
3 |
@out ? : |
238
|
1 |
0 |
if (my $orig = $self->select_map_reverse->{$col}) |
249
|
0 |
32 |
$self->for_update ? : |
257
|
7 |
27 |
if (ref $val eq 'ARRAY') { } |
|
7 |
20 |
elsif (ref $val eq 'HASH') { } |
|
1 |
19 |
elsif (ref $val eq 'SCALAR') { } |
258
|
5 |
2 |
if (ref $$val[0] or ($$val[0] || '') eq '-and') { } |
261
|
4 |
1 |
if ($$val[0] eq '-and') |
274
|
0 |
2 |
if $m = $self->column_mutator |
275
|
2 |
0 |
if (scalar @$val) { } |
284
|
0 |
7 |
if $m = $self->column_mutator |
288
|
2 |
5 |
if ($op eq 'IN' || $op eq 'NOT IN' and ref $v eq 'ARRAY') { } |
289
|
2 |
0 |
if (scalar @$v) { } |
293
|
0 |
0 |
if ($op eq 'IN') { } |
304
|
0 |
1 |
if $m = $self->column_mutator |
307
|
0 |
19 |
if $m = $self->column_mutator |
318
|
35 |
3 |
unless $hint and ref $hint eq 'HASH' |
319
|
3 |
0 |
if ($$hint{'list'} and @{$$hint{'list'};}) |