line |
true |
false |
branch |
284
|
11 |
0 |
unless ($self->id) |
286
|
0 |
11 |
$schema ? : |
298
|
4 |
7 |
unless ($self->unique_expression) |
300
|
0 |
4 |
unless @pk |
302
|
0 |
4 |
@pk > 1 ? : |
306
|
11 |
0 |
if ($self->unique_expression) |
308
|
0 |
11 |
$unique_expression =~ /[^\w]/ ? : |
331
|
4 |
9 |
if ($table and $table ne $self) |
332
|
1 |
3 |
if $$join_methods{$table->id} |
425
|
0 |
6 |
unless exists $$fields_values{$name} |
462
|
2 |
3 |
if ($fields_values and $column and defined $$fields_values{$column->id} || $column->name && $$fields_values{$column->name}) { } |
465
|
2 |
0 |
if $value |
470
|
2 |
1 |
unless exists $$fields_values{$column} |
472
|
1 |
0 |
if defined $value |
475
|
2 |
3 |
unless (%result) |
478
|
2 |
3 |
if ($column->unique) |
481
|
1 |
1 |
if (defined $value) |
487
|
1 |
1 |
if not %result and $validate |
491
|
4 |
0 |
wantarray ? : |
506
|
1 |
12 |
if (@$requested_columns) |
508
|
1 |
0 |
$column_hash{$_} ? : |
525
|
1 |
15 |
if $query_from_helper |
529
|
1 |
15 |
$query_from ? : |
557
|
2 |
1 |
unless my $relation = $self->to_one_relationship($k) || $self->to_many_relationship($k) |
560
|
0 |
1 |
if $join_method ne 'JOIN' |
580
|
0 |
1 |
unless my $relationship = $self->relationship($relation_name) |
607
|
4 |
0 |
$columns{$column} ? : |
622
|
0 |
1 |
unless $result |
647
|
1 |
0 |
@args > 1 ? : |
661
|
0 |
13 |
unless my $sql_template_parameters = $self->sql_template_parameters |