| line |
true |
false |
branch |
|
11
|
5 |
1 |
if (exists $options->{'on_conflict'}) |
|
13
|
1 |
4 |
if (ref $on_conflict eq 'HASH') { } |
|
|
1 |
3 |
elsif ($on_conflict eq 'ignore') { } |
|
|
1 |
2 |
elsif ($on_conflict eq 'replace') { } |
|
29
|
4 |
0 |
wantarray ? : |
|
38
|
2 |
2 |
if $param eq "share" |
|
39
|
1 |
1 |
if $param eq "update" |
|
59
|
3 |
13 |
if ref $options ne "HASH" or grep {/^-(?:desc|asc)/iu;} keys %$options |
|
62
|
6 |
7 |
if defined $options->{'group_by'} |
|
65
|
3 |
9 |
if (defined $options->{'having'}) |
|
72
|
2 |
10 |
if defined $options->{'order_by'} |
|
76
|
20 |
4 |
unless defined $options->{$name} |
|
82
|
6 |
6 |
if defined $options->{'for'} |
|
90
|
26 |
3 |
unless ref $fields eq "ARRAY" |
|
97
|
0 |
2 |
if @$field < 2 |
|
116
|
17 |
15 |
unless ref $table eq "ARRAY" |
|
120
|
14 |
19 |
if (ref $jt eq 'ARRAY') { } |
|
129
|
6 |
8 |
if ($join->[0] =~ /^-(.+)/u) |
|
138
|
2 |
12 |
if ($type eq ' natural') { } |
|
|
1 |
11 |
elsif (@$join == 1) { } |
|
139
|
1 |
1 |
if @$join |
|
149
|
1 |
10 |
if @$join < 2 |
|
150
|
1 |
9 |
if @$join % 2 |
|
154
|
3 |
9 |
index($fk, $sep) > 0 ? : |
|
|
3 |
9 |
index($pk, $sep) > 0 ? : |