Branch Coverage

blib/lib/Image/Random.pm
Criterion Covered Total %
branch 0 20 0.0


line true false branch
43 0 0 if (defined $$self{'color'} and not $$self{'color'}->isa('Imager::Color'))
49 0 0 unless ($$self{'color_random'} or defined $$self{'color'})
54 0 0 if (defined $$self{'type'})
68 0 0 if ($$self{'color_random'}) { }
83 0 0 if (not defined $$self{'type'}) { }
90 0 0 if ($suffix eq 'jpg')
105 0 0 unless ($ret)
116 0 0 if ($width and $height)
127 0 0 if ($type)
139 0 0 if (none sub { $type eq $_; } , 'bmp', 'gif', 'jpeg', 'png', 'pnm', 'raw', 'sgi', 'tga', 'tiff')