Branch Coverage

blib/lib/Tangence/Property.pm
Criterion Covered Total %
branch 43 52 82.6


line true false branch
48 52 65 if (my $code = $self->can("init_prop_$pname")) { }
28 37 elsif ($dim == 1) { }
11 26 elsif ($dim == 2) { }
13 13 elsif ($dim == 3 or $dim == 4) { }
13 0 elsif ($dim == 5) { }
81 5 18 $_->{'on_updated'} ? :
85 94 0 if (my $code = __PACKAGE__->can("_accessor_for_$dimname")) { }
109 2 6 $_->{'on_updated'} ? :
118 1 3 $_->{'on_updated'} ? :
133 1 4 $_->{'on_updated'} ? :
139 1 4 unless @_
143 2 5 $_->{'on_updated'} ? :
152 1 0 $from == 2 ? :
5 1 $from == 1 ? :
162 0 6 unless my $cursors = $self->{'properties'}{$pname}->cursors
178 1 4 $_->{'on_updated'} ? :
184 1 2 unless @_
188 2 3 $_->{'on_updated'} ? :
197 2 4 $_->{'on_updated'} ? :
203 0 6 if $delta == 0
208 1 5 if (abs $delta == 1) { }
217 3 6 $_->{'on_updated'} ? :
238 0 2 $_->{'on_updated'} ? :
247 0 2 $_->{'on_updated'} ? :
253 2 0 ref $obj_or_id ? :
257 0 2 $_->{'on_updated'} ? :