Branch Coverage

blib/lib/Class/ReluctantORM/Relationship/HasMany.pm
Criterion Covered Total %
branch 0 84 0.0


line true false branch
194 0 0 unless ($collection)
207 0 0 unless ($collection)
226 0 0 ref $inv ? :
228 0 0 $rel ? :
236 0 0 if ($collection->is_populated)
254 0 0 unless $children
256 0 0 unless ($all_exist)
261 0 0 if ($inverse_rel)
263 0 0 unless $children
265 0 0 if ('Class::ReluctantORM'->get_global_option('populate_inverse_relationships'))
287 0 0 if (@_ == 1) { }
290 0 0 if (@_ % 2)
306 0 0 ref $args{'remote_key'} eq 'ARRAY' ? :
308 0 0 ref $args{'local_key'} eq 'ARRAY' ? :
323 0 0 if ($DEBUG > 1)
352 0 0 unless ($local_rel and $local_rel->is_has_many)
353 0 0 if ($local_rel->inverse_relationship)
363 0 0 unless (@remote_has_one_rels)
372 0 0 unless array_shallow_eq(\@remote_keys1, \@local_keys1)
378 0 0 unless array_shallow_eq(\@remote_keys2, \@local_keys2)
384 0 0 if (@matches == 1) { }
403 0 0 unless (defined $collection)
411 0 0 wantarray ? :
423 0 0 unless (defined $collection)
434 0 0 wantarray ? :
465 0 0 if (exists $args{$f})
468 0 0 unless (exists $args{$f})
474 0 0 if ($args{'children'}) { }
502 0 0 if ($self->is_populated) { }
513 0 0 unless (blessed $object and $object->isa($self->rel->linked_class))
528 0 0 if ($self->is_populated or defined $$self{'_count'}) { }
564 0 0 if ($configure_for_join) { }
589 0 0 $child_ref ? :
673 0 0 unless $args{'execargs'}
727 0 0 if ($collection->is_populated)
763 0 0 if ($collection->is_populated)
794 0 0 unless ($collection->is_populated)
800 0 0 unless ($collection->is_present($child))
823 0 0 if (@_ == 1)
824 0 0 if (@_ % 2)
826 0 0 unless (defined $args{'where'})
829 0 0 if (blessed($args{'where'}) and $args{'where'}->isa(Where())) { }