Condition Coverage

lib/UR/BoolExpr/Template.pm
Criterion Covered Total %
condition 54 72 75.0


and 3 conditions

line !l l&&!r l&&r condition
154 0 0 3830 ref $other_template and $self->isa(ref $other_template)
204 13 10 23 defined $my_limit and defined $other_limit
10 9 4 not defined $my_limit and defined $other_limit
208 7 6 10 $my_offset >= $other_offset && $my_last <= $other_last
238 756 696 0 defined $op and $op eq '' || $op eq '='
568 40 1412 0 @keys_sorted and not $logic_detail
40 1412 0 $logic_detail and not @keys_sorted
602 816 0 0 defined $legacy_params_hash->{'id'} and not ref $legacy_params_hash->{'id'}
653 857 595 0 $self->is_unique and not $legacy_params_hash->{'_unique'}
658 595 857 0 not $self->is_unique and $legacy_params_hash->{'_unique'}

or 2 conditions

line l !l condition
149 6998 600 $self->{'__cache'}{'is_subset_of'} ||= {}
198 28 18 $self->offset || 0
200 23 23 $other_template->offset || 0
408 3165 8170 $_[0]{'_property_meta_hash'}{$_[1]}{'operator'} || '='
415 208 308 $_[0]{'_property_meta_hash'}{$_}{'operator'} || '='
514 2419 12 $logic_detail || ''

or 3 conditions

line l !l&&r !l&&!r condition
161 1555 22 2253 $my_class eq $other_class or $my_class->isa($other_class)
186 42 19 352 $self->offset or defined $self->limit
61 3 349 $self->offset or defined $self->limit or $other_template->offset
22 4 345 $self->offset or defined $self->limit or $other_template->offset or defined $other_template->limit
196 22 0 46 @$only_my or @$only_other
238 0 595 101 $op eq '' || $op eq '='
263 0 0 0 $_->{'operator'} =~ /^(not |)like(-.|)$/i || $_->{'operator'} =~ /^(not |)in/i
462 25486 90 0 shift() || UR::BoolExpr::Util::values_to_value_id()
568 0 0 1452 @keys_sorted and not $logic_detail or $logic_detail and not @keys_sorted
591 593 0 103 $id_op->{''} or $id_op->{'='}