Branch Coverage

blib/lib/Class/DBI/DataMigration/Mapping/HasAToHasA.pm
Criterion Covered Total %
branch 7 26 26.9


line true false branch
110 0 1 unless $source_class->can('new')
111 0 1 if $@
112 0 1 unless $self->target_class->can('new')
113 0 1 if $@
116 0 1 if $@
123 0 1 if (not @target_class_objs == 1) { }
125 0 0 if (@target_class_objs < 1)
126 0 0 unless ($self->target_allows_null)
128 0 0 if (defined $self->default_target_search_key_value)
136 0 0 $self->default_target_search_key_value ? :
0 0 unless @target_class_objs > 0
147 0 0 if (@target_class_objs > 1)
154 0 1 if $Carp::Assert::DEBUG