Condition Coverage

lib/UR/Observer.pm
Criterion Covered Total %
condition 15 17 88.2


or 2 conditions

line l !l condition
150 53 740 $UR::Context::all_change_subscriptions->{$subject_class_name}{$aspect}{$subject_id} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
209 18 22 0 $subject_class_name || keys %{$UR::Context::all_change_subscriptions;}
211 296 505 18 $aspect || keys %{$$UR::Context::all_change_subscriptions{$subject_class_name};}
213 13 1 821 $subject_id || keys %{$$UR::Context::all_change_subscriptions{$subject_class_name}{$aspect};}
244 1 20 18 not $subject_class_name or $subject_class_name eq 'UR::Object'
255 12 17 0 $subject_class_name eq '' or $subject_class_name->inform_subscription_cancellation($aspect, $subject_id, $self->{'callback'})