Condition Coverage

lib/UR/Object.pm
Criterion Covered Total %
condition 47 93 50.5


and 3 conditions

line !l l&&!r l&&r condition
208 17944 0 0 $ENV{'UR_USE_DUMMY_AUTOGENERATED_IDS'} and $property_metadata->is_id
17944 0 0 $ENV{'UR_USE_DUMMY_AUTOGENERATED_IDS'} and $property_metadata->is_id and defined $value
0 0 0 $ENV{'UR_USE_DUMMY_AUTOGENERATED_IDS'} and $property_metadata->is_id and defined $value and index($value, '-') == 0
0 0 0 $ENV{'UR_USE_DUMMY_AUTOGENERATED_IDS'} and $property_metadata->is_id and defined $value and index($value, '-') == 0 and defined $data_length
261 13617 26 0 defined $data_length and $data_length < length $value
404 50 0 15 &Scalar::Util::blessed($_[0]) and $_[0]->isa('UR::BoolExpr')
453 0 0 0 $property->is_delegated || $property->is_optional and not exists $params{$property_name}
535 0 2 96 $orig->{$prop_name} ne $self->{$prop_name} && ($self->can($prop_name) && !'UR::Object'->can($prop_name)) && defined $property_meta && !$property_meta->is_transient
555 518 27 48 $self->{'__defined'} && $self->{'_change_count'} == 1
612 56920 38459 504 $UR::initialized and $_[0] ne 'UR::Object::Property'
660 4368 2 0 exists $self->{'__weakened'} && $self->{'__weakened'}
677 2197 0 0 exists $self->{'__strengthened'} && $self->{'__strengthened'}
693 156 2032 0 $self->{'__get_serial'} and $self->__changes__
2188 0 0 $self->{'__get_serial'} and $self->__changes__ and @{[$self->__changes__];}
757 116 0 295 &isweak($UR::Context::all_objects_loaded->{$class}{$id}) and &refaddr($UR::Context::all_objects_loaded->{$class}{$id}) == &refaddr($obj)

or 3 conditions

line l !l&&r !l&&!r condition
38 2 3 3 $_->is_delegated || $_->is_id
140 0 0 0 ref $self || $self
199 581 323 17946 $is_delegated or $is_calculated
212 9740 8109 95 $is_optional or defined $value
228 47 1871 11725 $generic_data_type eq 'Float' or $generic_data_type eq 'Integer'
340 0 26 0 ref $class || $class
453 0 0 0 $property->is_delegated || $property->is_optional
456 0 0 0 $property->is_mutable or $property->is_calculated
0 0 0 $property->is_mutable or $property->is_calculated or $property->is_delegated
524 718 0 209 $meta->is_transactional or $meta->is_meta_meta
528 31 0 687 $self->{'db_saved_uncommitted'} || $self->{'db_committed'}
533 0 339 6 $prop_metas{$prop_name} ||= $meta->property_meta_for_name($prop_name)
701 6 0 961 $self->{'db_saved_uncommitted'} || $self->{'db_committed'}
711 0 4 329 defined $property_meta->is_id || !defined($property_meta->column_name) || $property_meta->is_delegated || $property_meta->is_legacy_eav || !$property_meta->is_mutable || $property_meta->is_transient || $property_meta->is_constant
740 8 0 321 $self->{'db_saved_uncommitted'} || $self->{'db_committed'}
774 0 0 0 $obj->__meta__->is_meta_meta or @{[$obj->__changes__];}