Branch Coverage

blib/lib/Imager/Matrix2d.pm
Criterion Covered Total %
branch 28 54 51.8


line true false branch
91 3 5 if (defined $opts{'radians'}) { }
5 0 elsif (defined $opts{'degrees'}) { }
102 3 5 if ($opts{'x'} or $opts{'y'}) { }
131 9 0 if (defined $opts{'x'} or defined $opts{'y'})
155 1 0 if (defined $opts{'x'} or defined $opts{'y'})
179 0 0 if (defined $opts{'axis'})
181 0 0 if ($opts{'axis'} eq 'y') { }
0 0 elsif ($opts{'axis'} eq 'x') { }
195 0 0 if (defined $opts{'radians'}) { }
0 0 elsif (defined $opts{'degrees'}) { }
223 1 0 if (defined $opts{'x'} or defined $opts{'y'}) { }
224 0 1 unless defined $opts{'x'}
225 0 1 unless defined $opts{'y'}
226 0 1 if ($opts{'cx'} or $opts{'cy'}) { }
252 4 1 if (@self == 9) { }
272 1 0 if (abs $sz > 1e-06) { }
305 0 0 unless @in
338 11 3 if (ref $right) { }
2 1 elsif (defined $right and &looks_like_number($right)) { }
339 10 1 if (&reftype($right) eq 'ARRAY') { }
340 1 9 unless @$right == 9
342 1 8 if ($order)
383 0 0 if (ref $right and UNIVERSAL::isa($right, 'Imager::Matrix2d')) { }
412 12 60 if (length $_ > $maxlen)
416 0 8 unless $maxlen <= 9
426 0 72 if (length $val > 9)
428 0 0 if ($val =~ /\./ and not $val =~ /e/i)