Branch Coverage

blib/lib/Image/JpegMinimal.pm
Criterion Covered Total %
branch 1 24 4.1


line true false branch
108 1 0 unless $Imager::formats{'jpeg'}
120 0 0 unless 'Imager'->new('file', $file)
134 0 0 if (my $orientation = $imager->tags('name', 'exif_orientation'))
150 0 0 unless $imager = $imager->scale('xpixels', $xmax, 'ypixels', $ymax, 'type', 'min')
173 0 0 if ($header eq "\377\332") { }
0 0 elsif ($header eq "\377\330") { }
0 0 elsif ($header eq "\377\331") { }
212 0 0 if $_->{'type'} ne "\377\332"
217 0 0 unless $_->{'type'} eq "\377\332"
245 0 0 if $self->{'header'}{$orientation} ne $self->btoa($min_header)
273 0 0 if ($w < $h) { }
295 0 0 if (2 != scalar values %{$$self{'header'};})