Branch Coverage

blib/lib/Class/DBI/Relationship/IsA.pm
Criterion Covered Total %
branch 0 62 0.0


line true false branch
86 0 0 if ref $class
87 0 0 unless my $column = $class->find_column(shift())
89 0 0 unless my $f_class = shift()
94 0 0 unless $f_col eq $f_class->primary_column
112 0 0 if (my $f_obj = $_[0]->$column)
132 0 0 $foreign_class->columns('Primary') ? :
139 0 0 if $f_col eq $acc_name or $f_col =~ /$forbidden_fields/i or $$parent_relation_fields{$f_col}
140 0 0 if ($class->can('pure_accessor_name')) { }
149 0 0 if ($class->mutator_name($f_col) eq $class->accessor_name($f_col)) { }
163 0 0 if $self->class->can('search_where')
185 0 0 if $self->has_real_column($key)
186 0 0 if $SUPER->has_real_column($key)
188 0 0 if (%parent) { }
209 0 0 if $self->has_real_column($key)
210 0 0 if $SUPER->has_real_column($key)
212 0 0 if (%parent) { }
234 0 0 if $self->has_real_column($key)
235 0 0 if $SUPER->has_real_column($key)
237 0 0 if (%parent) { }
271 0 0 if ($class->can('meta_info'))
276 0 0 if $relation_type eq 'is_a'
283 0 0 if ($foreign_class->can('meta_info'))
288 0 0 if $relation_type eq 'is_a'
326 0 0 unless defined $self->_attrs($_)
330 0 0 if ($self->_attrs($f_pk))
351 0 0 if ref $value and $value->isa($f_class)
363 0 0 unless $_->name eq $class->primary_column->name
382 0 0 if ($mode eq 'rw')
386 0 0 if (@args) { }
395 0 0 if ($mode eq 'ro')
402 0 0 if ($mode eq 'wo') { }