line |
true |
false |
branch |
40
|
0 |
1 |
if $trace_sql_enabled |
43
|
0 |
1 |
if $trace_filter_enabled |
50
|
4 |
7 |
if ($action) { } |
55
|
0 |
11 |
$is_wrapped ? : |
59
|
1 |
10 |
if ($filter_enabled) |
74
|
0 |
1 |
if (UNIVERSAL::isa($_[0], 'DBI::db')) { } |
|
1 |
0 |
elsif (UNIVERSAL::isa($_[0], 'SQL::Interpolate::SQLFilter')) { } |
90
|
1 |
0 |
if $filter->can('filter_text') |
92
|
1 |
0 |
if $filter->can('init') |
94
|
1 |
0 |
if $filter->can('filter_text_fragment') |
116
|
126 |
112 |
if (UNIVERSAL::isa($items[0], 'SQL::Interpolate')) { } |
|
0 |
112 |
elsif (UNIVERSAL::isa($items[0], 'DBI::db')) { } |
124
|
238 |
0 |
if ($macros_enabled) { } |
125
|
126 |
112 |
if ($interp) |
131
|
0 |
0 |
if $state |
140
|
36 |
200 |
if ($varobj_used) |
143
|
28 |
36 |
unless ref $val |
148
|
126 |
110 |
if ($interp) |
155
|
0 |
236 |
if $trace_sql_enabled |
177
|
24 |
498 |
if (ref $item eq 'SQL::Interpolate::Variable') |
178
|
20 |
4 |
unless (keys %$item == 1 and defined $$item{'value'}) |
185
|
0 |
522 |
if (ref $item eq 'SQL::Interpolate::SQL') { } |
|
198 |
324 |
elsif (ref $item) { } |
191
|
25 |
173 |
if ($sql =~ /\bIN\s*$/is) { } |
|
8 |
165 |
elsif ($sql =~ /\bSET\s*$/is and ref $item eq 'HASH') { } |
|
40 |
125 |
elsif ($sql =~ /\bINSERT[\w\s]*\sINTO\s*$id_match\s*$/is) { } |
|
88 |
37 |
elsif (ref $item eq 'SCALAR') { } |
|
36 |
1 |
elsif (ref $item eq 'HASH') { } |
192
|
4 |
21 |
if ref $item eq 'SCALAR' |
193
|
24 |
1 |
if (ref $item eq 'ARRAY') { } |
194
|
8 |
16 |
if (@$item == 0) { } |
195
|
0 |
8 |
unless $sql =~ s/$id_match\s+IN\s*$/1=0/is |
209
|
0 |
8 |
if keys %$item == 0 |
220
|
4 |
36 |
if ref $item eq 'SCALAR' |
221
|
24 |
16 |
if (ref $item eq 'ARRAY') { } |
|
16 |
0 |
elsif (ref $item eq 'HASH') { } |
242
|
4 |
32 |
if (keys %$item == 0) { } |
249
|
16 |
36 |
if (ref $val eq 'ARRAY') { } |
259
|
20 |
12 |
if keys %$item > 1 |
267
|
64 |
260 |
unless $sql =~ /(^|\s)$/ or $item =~ /^\s/ |
272
|
20 |
500 |
if ($varobj) |
293
|
56 |
116 |
if (ref $ele) { } |
296
|
16 |
40 |
if ref $bind2[0] |
309
|
4 |
12 |
if (@$list == 0) { } |
343
|
2 |
0 |
$idx > 0 ? : |
344
|
2 |
0 |
defined $prev ? : |
357
|
0 |
4 |
unless scalar caller() eq 'SQL::Interpolate::Macro' |
364
|
0 |
0 |
unless scalar caller() eq 'DBIx::Interpolate' |
386
|
0 |
38 |
unless ref $value |
416
|
0 |
3 |
ref $b eq 'SQL::Interpolate::SQL' ? : |
417
|
0 |
3 |
if $inverted |