Branch Coverage

blib/lib/DBIx/Class/Smooth/Helper/Row/Creation.pm
Criterion Covered Total %
branch 9 18 50.0


line true false branch
58 6 0 if (ref $relation_name_or_definition eq 'HASH') { }
0 0 elsif (ref $definition_or_undef eq 'HASH') { }
73 6 0 if (exists $definition->{'_smooth_foreign_key'})
89 6 6 if (exists $primary_key_col->{$attr})
95 0 6 unless (exists $definition->{'data_type'})
98 0 6 exists $definition->{'sql'} ? :
99 0 6 exists $definition->{'related_name'} ? :
102 0 6 exists $definition->{'related_sql'} ? :
107 6 0 if (defined $related_name)