Branch Coverage

blib/lib/Alzabo/Runtime/Schema.pm
Criterion Covered Total %
branch 0 106 0.0


line true false branch
67 0 0 defined $$self{'maintain_integrity'} ? :
110 0 0 if defined $val
118 0 0 if defined $val
126 0 0 if defined $self->user
127 0 0 if defined $self->password
128 0 0 if defined $self->host
129 0 0 if defined $self->port
172 0 0 unless Alzabo::Utils::is_arrayref($p{'join'})
176 0 0 if (Alzabo::Utils::is_arrayref($p{'join'}[0])) { }
189 0 0 if ($p{'distinct'})
191 0 0 Alzabo::Utils::is_arrayref($p{'distinct'}) ? :
195 0 0 if ($p{'order_by'})
197 0 0 $p{'order_by'} ? :
0 0 Alzabo::Utils::is_arrayref($p{'order_by'}) ? :
210 0 0 Alzabo::Utils::is_arrayref($p{'select'}) ? :
0 0 $p{'distinct'} ? :
0 0 $p{'select'} ? :
216 0 0 if ($p{'distinct'}) { }
222 0 0 $_->prefetch ? :
232 0 0 if $distinct{$t}
235 0 0 if $t->prefetch
238 0 0 if ($p{'order_by'} and $sql->distinct_requires_order_by_in_select)
248 0 0 $_->prefetch ? :
261 0 0 if exists $p{'where'}
263 0 0 if $p{'order_by'}
266 0 0 ref $p{'limit'} ? :
0 0 if $p{'limit'}
274 0 0 if (@select_tables == 1) { }
308 0 0 Alzabo::Utils::is_arrayref($p{'select'}) && @{$p{'select'};} > 1 ? :
356 0 0 unless Alzabo::Utils::is_arrayref($p{'join'})
360 0 0 if (Alzabo::Utils::is_arrayref($p{'join'}[0])) { }
373 0 0 Alzabo::Utils::is_arrayref($p{'select'}) ? :
381 0 0 if exists $p{'where'}
384 0 0 if exists $p{'group_by'}
387 0 0 if exists $p{'having'}
390 0 0 if exists $p{'order_by'}
393 0 0 ref $p{'limit'} ? :
0 0 if $p{'limit'}
410 0 0 unless ref $p{'join'}[0]
419 0 0 if (Alzabo::Utils::is_arrayref($p{'join'}[0])) { }
431 0 0 if @$set > 5
436 0 0 if (not ref $$set[0]) { }
438 0 0 unless $$set[0] =~ /^(right|left|full)_outer_join$/i
468 0 0 if $map{$t}
472 0 0 if keys %tables
491 0 0 unless @joins
506 0 0 $sql->last_op eq 'and' || $sql->last_op eq 'condition' ? :
508 0 0 if ($fk) { }
510 0 0 unless ($fk->table_from eq $table_1 and $fk->table_to eq $table_2)
512 0 0 if ($fk->table_from eq $table_2 and $fk->table_to eq $table_1) { }
530 0 0 unless @fk
536 0 0 if @fk > 1
547 0 0 if ($op eq 'where') { }