Branch Coverage

blib/lib/CGI/Uploader/Transform/ImageMagick.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
58 0 0 if (blessed $first_arg or eval { do { $first_arg->can('gen_thumb') } }) { }
80 0 0 if (ref $_[0] eq 'HASH') { }
97 0 0 unless defined $p{'w'} or defined $p{'h'}
104 0 0 if (exists $INC{'Graphics/Magick.pm'}) { }
0 0 elsif (exists $INC{'Image/Magick.pm'}) { }
0 0 elsif (_load_magick_module('Graphics::Magick')) { }
0 0 elsif (_load_magick_module('Image::Magick')) { }
130 0 0 if $err
135 0 0 if $err
137 0 0 if $err
139 0 0 if ($@)
143 0 0 if ($code) = $err =~ /(\d+)/ and $code > 400
147 0 0 wantarray ? :
169 0 0 unless $target_h
170 0 0 unless $target_w