line |
true |
false |
branch |
25
|
0 |
0 |
unless $self->primary_key |
44
|
0 |
0 |
unless (exists $$vals{$pk->name}) |
46
|
0 |
0 |
if ($pk->sequenced) { } |
61
|
0 |
0 |
if $c->is_primary_key |
63
|
0 |
0 |
unless (defined $$vals{$c->name} or $c->nullable or defined $c->default) |
73
|
0 |
0 |
if not defined $$vals{$c->name} and defined $c->default |
78
|
0 |
0 |
if $schema->referential_integrity |
88
|
0 |
0 |
if @fk |
104
|
0 |
0 |
defined $$vals{$pk->name} ? : |
111
|
0 |
0 |
if @fk |
113
|
0 |
0 |
if (my $e = $@) |
120
|
0 |
0 |
unless defined wantarray or $p{'potential_row'} |
129
|
0 |
0 |
unless $self->primary_key |
145
|
0 |
0 |
if ($p{'values'}) |
150
|
0 |
0 |
if (Alzabo::Utils::safe_isa($val, 'Alzabo::SQLMaker::Function')) { } |
187
|
0 |
0 |
if $c->is_primary_key or $c->nullable or defined $c->default |
189
|
0 |
0 |
unless ($cols{$c->name}) |
220
|
0 |
0 |
unless $self->primary_key |
229
|
0 |
0 |
if ref $pk_val and @pk != scalar keys %$pk_val |
233
|
0 |
0 |
if (@pk > 1) |
235
|
0 |
0 |
unless ref $pk_val |
242
|
0 |
0 |
unless defined $$pk_val{$pk->name} |
257
|
0 |
0 |
$p{'row_class'} ? : |
283
|
0 |
0 |
if exists $p{'where'} |
298
|
0 |
0 |
if exists $p{'where'} |
300
|
0 |
0 |
if exists $p{'order_by'} |
302
|
0 |
0 |
if (exists $p{'limit'}) |
304
|
0 |
0 |
ref $p{'limit'} ? : |
310
|
0 |
0 |
unless my(@return) = $self->schema->driver->one_row('sql', $sql->sql, 'bind', $sql->bind) |
321
|
0 |
0 |
if (@return) |
348
|
0 |
0 |
unless $self->primary_key |
351
|
0 |
0 |
$self->prefetch ? : |
371
|
0 |
0 |
if exists $p{'order_by'} |
373
|
0 |
0 |
if (exists $p{'limit'}) |
375
|
0 |
0 |
ref $p{'limit'} ? : |
392
|
0 |
0 |
unless $self->primary_key |
395
|
0 |
0 |
$p{'row_class'} ? : |
421
|
0 |
0 |
Alzabo::Utils::is_arrayref($p{'select'}) && @{$p{'select'};} > 1 ? : |
465
|
0 |
0 |
Alzabo::Utils::is_arrayref($p{'select'}) ? : |
469
|
0 |
0 |
if exists $p{'where'} |
472
|
0 |
0 |
if exists $p{'group_by'} |
475
|
0 |
0 |
if exists $p{'having'} |
478
|
0 |
0 |
if exists $p{'order_by'} |
481
|
0 |
0 |
ref $p{'limit'} ? : |
|
0 |
0 |
if $p{'limit'} |
501
|
0 |
0 |
unless $self->has_column($c->name) |
512
|
0 |
0 |
ref $$self{'prefetch'} ? : |
524
|
0 |
0 |
unless $self->has_column($col->name) |
527
|
0 |
0 |
if $col->is_primary_key |
537
|
0 |
0 |
exists $$self{'groups'}{$col} ? : |
571
|
0 |
0 |
if ($$self{'alias_name'}) { } |
577
|
0 |
0 |
unless ($col->table eq $self) |
586
|
0 |
0 |
if $col->is_primary_key |
617
|
0 |
0 |
wantarray ? : |