Branch Coverage

blib/lib/Image/SVG/Transform.pm
Criterion Covered Total %
branch 26 36 72.2


line true false branch
161 1 33 unless ($transform)
171 0 33 unless (@transformers)
179 1 40 unless exists $valid_transforms->{$transform_type}
180 1 39 unless scalar @params
181 3 36 if scalar @params > $valid_transforms->{$transform_type}
183 1 35 if ($transform_type eq 'rotate' and @params == 2) { }
1 67 elsif ($transform_type eq 'matrix' and @params != 6) { }
189 1 33 if ($transform_type eq 'rotate' and @params == 3) { }
225 0 9 unless $self->has_transforms
245 0 2 unless $self->has_transforms
261 7 6 if ($t->{'type'} eq 'translate') { }
4 2 elsif ($t->{'type'} eq 'scale') { }
2 0 elsif ($t->{'type'} eq 'rotate') { }
0 0 elsif ($t->{'type'} eq 'skewX') { }
0 0 elsif ($t->{'type'} eq 'skewY') { }
0 0 elsif ($t->{'type'} eq 'matrix') { }
263 6 1 defined $t->{'params'}[1] ? :
272 1 3 defined $t->{'params'}[1] ? :