line |
true |
false |
branch |
44
|
0 |
0 |
if (wantarray) { } |
61
|
0 |
44 |
if (@_ > 2) |
73
|
237 |
0 |
if (ref $other eq 'HASH') { } |
75
|
50 |
187 |
unless exists $other->{$property} |
83
|
50 |
137 |
if $other_value ne $self_value |
92
|
12 |
2172 |
unless $proto->class->__meta__->is_uncachable |
95
|
1604 |
568 |
ref $proto ? : |
99
|
1604 |
568 |
if ($self) { } |
105
|
19 |
1585 |
unless $self->{'db_committed'} |
106
|
3 |
1582 |
if ($self->__changes__) |
112
|
0 |
1582 |
if ($ENV{'UR_DEBUG_OBJECT_RELEASE'}) |
143
|
808 |
634 |
if ('UR::BoolExpr::Template'->get($template_id)->subject_class_name->isa($class)) |
166
|
1876 |
61050 |
if (@_ == 2 and not ref $_[1]) |
167
|
0 |
1876 |
unless (defined $_[1]) |
171
|
308 |
1568 |
if $obj |
174
|
752 |
816 |
unless $_[0]->__meta__->subclasses_loaded |
195
|
290 |
1860 |
if (@_) { } |
|
1847 |
13 |
elsif (not exists $UR::Context::all_objects_are_loaded->{$class}) { } |
201
|
1 |
5841 |
if (exists $UR::Context::all_objects_are_loaded->{$parent_class}) |
227
|
303 |
442 |
if (exists $params{$name}) |
234
|
48 |
101 |
if (not defined $observer_params{'subject_id'} and ref $self) |
238
|
0 |
149 |
if (my(@unknown) = keys %params) |
243
|
0 |
149 |
if (my(@bad_params) = %params) |
248
|
0 |
149 |
unless $observer |
273
|
0 |
0 |
if (@_ >= 4) { } |
|
0 |
0 |
elsif (@_ == 3 or @_ == 2) { } |
276
|
0 |
0 |
if ref $class |
281
|
0 |
0 |
if (ref $_[0]) |
293
|
0 |
0 |
if (defined $class) |
296
|
0 |
0 |
if (defined $id) |
299
|
0 |
0 |
if (defined $property) |
302
|
0 |
0 |
if (defined $callback) |
305
|
0 |
0 |
if (defined $note) |
310
|
0 |
0 |
unless @observers |
311
|
0 |
0 |
if (@observers > 1) |
354
|
0 |
0 |
unless ($callback) |
363
|
0 |
0 |
$obj->can('id') ? : |
|
0 |
0 |
ref $obj ? : |
366
|
0 |
0 |
$type eq 'error' ? : |
389
|
0 |
0 |
if (@_ < 2) |
397
|
0 |
0 |
$self->can('id') ? : |
|
0 |
0 |
ref $self ? : |
403
|
0 |
0 |
$type eq 'error' ? : |
449
|
0 |
0 |
if ref $obj->{'owner_id'} |
458
|
0 |
0 |
if (not defined $owner_id) { } |
|
0 |
0 |
elsif (ref $owner_id) { } |
483
|
0 |
0 |
unless $stack_item =~ s/\) called at [^\)]+ line [^\)]+\s*$/)/ |
485
|
0 |
0 |
if ($stack_item =~ /^\s*([^\(]*)(.*)$/) { } |