line |
true |
false |
branch |
16
|
18 |
43 |
if (@_ == 1 and ref $_[0] and ref $_[0] eq 'HASH') { } |
31
|
0 |
6 |
unless $self->field_values |
35
|
2 |
4 |
if ($pk_column and $pk_column ne '' and defined $self->column_values and $self->column_values->{$pk_column}) { } |
46
|
0 |
0 |
if defined((shift())->{'field_values'}) |
61
|
0 |
3 |
if (exists $params{'set'} and ref $params{'set'} and ref $params{'set'} eq 'HASH') { } |
69
|
0 |
3 |
unless defined $sql |
115
|
0 |
16 |
if ($pk_col and exists $$column_values{"_$pk_col"} and $$column_values{"_$pk_col"} =~ /^\s*(\w+)\.nextval\s*$/is) |
123
|
0 |
16 |
unless defined $id |
128
|
0 |
16 |
if $id =~ /^0E\d+$/ |
130
|
16 |
0 |
if $pk_col |
154
|
3 |
4 |
unless ref $record |
168
|
2 |
0 |
unless (defined $record) |
190
|
3 |
18 |
unless defined $col_value |
192
|
0 |
0 |
unless defined $col_meta or exists $$result{$$col_meta{'field_name'}} |
195
|
0 |
17 |
exists $$col_meta{'decoder'} ? : |
|
17 |
1 |
unless exists $$result{$$col_meta{'field_name'}} |
210
|
1 |
0 |
if (@_ == 1) { } |
|
0 |
0 |
elsif (@_ > 1) { } |
211
|
0 |
1 |
if exists $self->fields->{$what} |
251
|
4 |
0 |
unless defined $params{'relation'} |
268
|
2 |
2 |
if ($pack->is_collection) { } |
308
|
0 |
0 |
if ($self->can($method)) |
311
|
0 |
0 |
if ($error_code) |
318
|
0 |
0 |
unless scalar keys %$errors |
334
|
0 |
0 |
if not defined $value or $value eq '' |
343
|
0 |
0 |
if not defined $value or $value eq '' |
351
|
0 |
0 |
if not defined $value or $value eq '' |