Branch Coverage

blib/lib/Tangence/ObjectProxy.pm
Criterion Covered Total %
branch 94 152 61.8


line true false branch
155 0 0 if (@_) { }
170 0 20 if ($dim == 5)
193 0 6 unless defined wantarray
195 2 4 unless my $mdef = $self->can_method($method)
209 3 0 if ($code == 130) { }
210 2 1 $mdef->ret ? :
247 0 7 unless defined wantarray
249 0 7 unless ref(my $callback = delete $args{'on_fire'}) eq "CODE"
252 2 5 unless $self->can_event($event)
255 0 5 if (my $cbs = $_subscriptions{$event})
263 2 3 if $event eq "destroy"
273 2 0 if ($code == 131) { }
284 0 2 unless my $edef = $self->can_event($event)
288 2 0 if (my $cbs = $_subscriptions{$event})
304 0 2 unless $self->can_event($event)
307 0 2 if $event eq "destroy"
330 0 8 unless defined wantarray
332 2 6 unless my $pdef = $self->can_property($property)
343 5 0 if ($code == 130) { }
364 0 4 unless defined wantarray
366 0 4 unless my $pdef = $self->can_property($property)
380 2 2 if ($(Syntax::Keyword::Match/topic) == 2) { }
2 0 elsif ($(Syntax::Keyword::Match/topic) == 4 or $(Syntax::Keyword::Match/topic) == 3) { }
391 4 0 if ($code == 130) { }
410 17 0 if (exists $_props{$property}{'cache'})
429 0 9 unless defined wantarray
431 0 9 unless my $pdef = $self->can_property($property)
445 7 0 if ($code == 128) { }
492 5 19 if ($on_updated)
493 0 5 unless ref $on_updated eq "CODE"
499 15 37 if $on_updated and not exists $args{$name}
501 0 37 unless ref($callbacks->{$name} = delete $args{$name}) eq "CODE"
515 0 18 unless defined wantarray
517 0 18 unless my $pdef = $self->can_property($property)
525 3 15 if (my $cbs = $_props{$property}{'cbs'})
526 3 0 if ($want_initial and not $smash) { }
0 0 elsif ($want_initial and $smash) { }
529 2 1 if $callbacks->{'on_set'}
530 1 2 if $callbacks->{'on_updated'}
536 0 0 if $callbacks->{'on_set'}
537 0 0 if $callbacks->{'on_updated'}
551 2 13 if ($smash)
552 2 0 if ($want_initial)
554 2 0 if $callbacks->{'on_set'}
555 0 2 if $callbacks->{'on_updated'}
570 12 0 if ($code == 132) { }
598 0 0 unless defined wantarray
608 5 1 if ($(Syntax::Keyword::Match/topic) eq 'first') { }
1 0 elsif ($(Syntax::Keyword::Match/topic) eq 'last') { }
611 0 6 unless my $pdef = $self->can_property($property)
619 0 6 if (my $cbs = $_props{$property}{'cbs'})
625 0 6 if ($smashed)
629 0 6 unless $pdef->dimension == 3
640 6 0 if ($code == 133) { }
658 0 47 unless my $pdef = $self->can_property($prop)
665 47 0 if (my $code = $self->can("_update_property_$dimname")) { }
683 15 0 if ($(Syntax::Keyword::Match/topic) == 1) { }
708 2 6 if ($(Syntax::Keyword::Match/topic) == 1) { }
4 2 elsif ($(Syntax::Keyword::Match/topic) == 2) { }
2 0 elsif ($(Syntax::Keyword::Match/topic) == 3) { }
732 1 6 if ($(Syntax::Keyword::Match/topic) == 1) { }
3 3 elsif ($(Syntax::Keyword::Match/topic) == 4) { }
3 0 elsif ($(Syntax::Keyword::Match/topic) == 5) { }
769 0 3 if (abs $delta == 1) { }
778 4 9 if ($(Syntax::Keyword::Match/topic) == 1) { }
3 6 elsif ($(Syntax::Keyword::Match/topic) == 4) { }
1 5 elsif ($(Syntax::Keyword::Match/topic) == 5) { }
2 3 elsif ($(Syntax::Keyword::Match/topic) == 6) { }
3 0 elsif ($(Syntax::Keyword::Match/topic) == 7) { }
805 2 2 if ($(Syntax::Keyword::Match/topic) == 1) { }
1 1 elsif ($(Syntax::Keyword::Match/topic) == 2) { }
1 0 elsif ($(Syntax::Keyword::Match/topic) == 3) { }
822 0 4 unless $self->can_property($property)
863 0 6 unless $obj and my $client = $self->client
907 0 12 unless defined wantarray
920 12 0 if ($code == 134) { }