Branch Coverage

blib/lib/Selenium/Screenshot/CanPad.pm
Criterion Covered Total %
branch 6 12 50.0


line true false branch
14 0 2 unless &blessed($_) and $_->isa('Imager')
19 1 0 if (_is_smaller($image1, $coerce_dims))
23 1 0 if (_is_smaller($image2, $coerce_dims))
35 0 4 unless &blessed($_) and $_->isa('Imager')
46 0 2 $image1->getwidth >= $image2->getwidth ? :
50 2 0 $image1->getheight >= $image2->getheight ? :