Branch Coverage

blib/lib/Alzabo/Runtime/ForeignKey.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
69 0 0 if $type eq 'insert' and $$pair[0]->is_primary_key
73 0 0 if ($type eq 'update' || $$pair[1]->is_primary_key and not $$pair[0]->is_primary_key)
76 0 0 if defined $vals{$$pair[0]->name}
83 0 0 if ($self->is_one_to_one and not $has_nulls)
90 0 0 if ($self->is_one_to_one and not $has_nulls)
92 0 0 if (@one_to_one_where and $self->table_from->row_count('where', \@one_to_one_where))
106 0 0 unless ($self->table_to->row_count('where', [$col, '=', $val]))
119 0 0 unless $self->to_is_dependent or @update
130 0 0 if $Alzabo::Runtime::ForeignKey::DELETED{$related_row->id_as_string}
132 0 0 if ($self->to_is_dependent) { }
0 0 elsif (@update) { }