Condition Coverage

blib/lib/Image/Compare/Comparator.pm
Criterion Covered Total %
condition 9 27 33.3


and 3 conditions

line !l l&&!r l&&r condition
22 0 0 15 $img1->getwidth == $img2->getwidth and $img1->getheight == $img2->getheight
29 0 0 4 ref $mask and $mask->isa('Imager')
32 0 0 4 $mask->getchannels == 1 and $mask->bits == 8
38 0 0 4 $mask->getwidth == $img1->getwidth and $mask->getheight == $img1->getheight
75 46 15 5 $mask and ($mask->getpixel('x', $x, 'y', $y)->rgba)[0] == 255

or 3 conditions

line l !l&&r !l&&!r condition
8 0 20 0 ref $proto || $proto
115 0 0 0 ref $self || $self
121 0 0 0 ref $self || $self
132 48 0 0 $name =~ s/^Image::Compare::// or $name = $args{'name'}