line |
true |
false |
branch |
38
|
4 |
1 |
ref $joins eq 'ARRAY' ? :
|
49
|
0 |
0 |
if (@{$self->select;})
|
52
|
0 |
0 |
if (exists $select_map{$term}) { }
|
62
|
0 |
0 |
if (keys %{$self->replace;})
|
80
|
15 |
17 |
if (@{$self->select;})
|
84
|
30 |
16 |
if (exists $select_map{$term}) { }
|
89
|
24 |
6 |
if ($alias and $term =~ /(?:^|\.)\Q$alias\E$/) { }
|
107
|
5 |
27 |
if ($self->joins and @{$self->joins;})
|
111
|
5 |
3 |
unless $initial_table_written++
|
123
|
1 |
4 |
if @{$self->from;}
|
134
|
4 |
28 |
if (keys %{$self->replace;})
|
146
|
18 |
14 |
unless my $n = $self->limit
|
148
|
1 |
13 |
$self->offset ? :
|
156
|
16 |
48 |
if (my $attribute = $self->$set)
|
157
|
3 |
13 |
ref $attribute eq 'ARRAY' ? :
|
163
|
11 |
8 |
$_->{'desc'} ? :
|
174
|
26 |
19 |
$self->where && @{$self->where;} ? :
|
182
|
4 |
28 |
$self->having && @{$self->having;} ? :
|
210
|
3 |
0 |
if (my $orig = $self->select_map_reverse->{$col})
|
230
|
11 |
45 |
if (ref $val eq 'ARRAY') { }
|
|
14 |
31 |
elsif (ref $val eq 'HASH') { }
|
|
4 |
27 |
elsif (ref $val eq 'SCALAR') { }
|
231
|
9 |
2 |
if (ref $val->[0] or $val->[0] eq '-and') { }
|
234
|
7 |
2 |
if ($val->[0] eq '-and')
|