line |
true |
false |
branch |
22
|
0 |
15 |
unless ($img1->getwidth == $img2->getwidth and $img1->getheight == $img2->getheight) |
28
|
4 |
11 |
if ($mask) |
29
|
0 |
4 |
unless (ref $mask and $mask->isa('Imager')) |
32
|
0 |
4 |
unless ($mask->getchannels == 1 and $mask->bits == 8) |
38
|
0 |
4 |
unless ($mask->getwidth == $img1->getwidth and $mask->getheight == $img1->getheight) |
75
|
5 |
61 |
if ($mask and ($mask->getpixel('x', $x, 'y', $y)->rgba)[0] == 255) |
84
|
2 |
59 |
if defined $self->accumulate(\@pix1, \@pix2, $x, $y) |
128
|
0 |
48 |
unless (UNIVERSAL::isa($cmp_pkg, 'Image::Compare::Comparator')) |
132
|
0 |
48 |
unless ($name =~ s/^Image::Compare::// or $name = $args{'name'}) |