Condition Coverage

lib/UR/Object/Join.pm
Criterion Covered Total %
condition 30 48 62.5


and 3 conditions

line !l l&&!r l&&r condition
82 0 0 244 defined $foreign_class and $foreign_class->can('get')
135 0 105 0 $via and not $to
157 93 10 0 $via_meta->to and $via_meta->to eq '-filter'
170 0 25 0 $join and $join->{'foreign_class'}
187 0 5 98 $to and $to ne '__self__'
5 0 98 $to and $to ne '__self__' and $to ne '-filter'
250 0 0 191 defined $foreign_class and $foreign_class->can('get')
299 0 105 5 $id_by_property and $id_by_property->is_delegated
356 0 0 52 defined $foreign_class and $foreign_class->can('get')

or 3 conditions

line l !l&&r !l&&!r condition
62 490 351 0 $resolve_chain{$class_name}{$property_chain} ||= do { my $class_meta = $class_name->__meta__; my(@pmeta) = $class_meta->property_meta_for_name($property_chain); my @joins; foreach my $pmeta (@pmeta) { push @joins, $class->_resolve_chain_for_property_meta($pmeta); } ; \@joins }
77 105 0 244 $pmeta->via or $pmeta->to
85 110 81 53 $pmeta->id_by or $foreign_class->isa('UR::Value')
209 61 3 2 $return_class_name eq 'UR::Value::SloppyPrimitive' or $final_class_name eq 'UR::Value::SloppyPrimitive'
327 58 133 0 $foreign_name_for_source ||= '<' . $source_class . '::' . $source_name_for_foreign
329 2 0 189 $pmeta->is_optional || $pmeta->is_many
402 14 38 2 $pmeta->is_optional || $pmeta->is_many