Branch Coverage

blib/lib/Tangence/Property.pm
Criterion Covered Total %
branch 50 60 83.3


line true false branch
36 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) { }
69 5 18 $_->{'on_updated'} ? :
73 94 0 if (my $code = 'Tangence::Property'->can("_accessor_for_$dimname")) { }
97 2 6 $_->{'on_updated'} ? :
106 1 3 $_->{'on_updated'} ? :
121 1 4 $_->{'on_updated'} ? :
127 1 4 unless @_
131 2 5 $_->{'on_updated'} ? :
140 1 0 $from == 2 ? :
5 1 $from == 1 ? :
150 0 6 unless my $cursors = $self->{'properties'}{$pname}->cursors
166 1 4 $_->{'on_updated'} ? :
172 1 2 unless @_
176 2 3 $_->{'on_updated'} ? :
185 2 4 $_->{'on_updated'} ? :
191 0 6 if $delta == 0
196 1 5 if (abs $delta == 1) { }
205 3 6 $_->{'on_updated'} ? :
226 0 2 $_->{'on_updated'} ? :
235 0 2 $_->{'on_updated'} ? :
241 2 0 ref $obj_or_id ? :
245 0 2 $_->{'on_updated'} ? :
280 7 5 if ($direction == 1) { }
5 0 elsif ($direction == 2) { }
281 2 5 if $count > scalar @$queue - $idx
286 1 4 if $count > $idx