| blib/lib/Class/ReluctantORM/Relationship/HasMany.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 0 | 32 | 0.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 254 | 0 | 0 | 0 | $all_exist &&= $c->is_inserted |
| 352 | 0 | 0 | 0 | $local_rel and $local_rel->is_has_many |
| 513 | 0 | 0 | 0 | blessed $object and $object->isa($self->rel->linked_class) |
| 829 | 0 | 0 | 0 | blessed($args{'where'}) and $args{'where'}->isa(Where()) |
| line | l | !l | condition |
|---|---|---|---|
| 251 | 0 | 0 | $$new_args{$rel->method_name} || undef |
| 486 | 0 | 0 | $COLLECTION_REGISTRY_BY_RELATION{$args{'relationship'}} ||= [] |
| 550 | 0 | 0 | shift() || 0 |
| 672 | 0 | 0 | $args{'where'} || '1=1' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 302 | 0 | 0 | 0 | $args{'method_name'} ||= pluralize(Class::ReluctantORM::Utilities::camel_case_to_underscore_case((split(/::/, $args{'class'}, 0))[-1])) |
| 305 | 0 | 0 | 0 | $args{'remote_key'} ||= $cro_base_class->primary_key_columns |
| 307 | 0 | 0 | 0 | $args{'local_key'} ||= $cro_base_class->primary_key_columns |
| 528 | 0 | 0 | 0 | $self->is_populated or defined $$self{'_count'} |