Condition Coverage

blib/lib/Imager/Filter/Autocrop.pm
Criterion Covered Total %
condition 14 29 48.2


and 3 conditions

line !l l&&!r l&&r condition
119 0 0 2 $detect and ref $detect eq 'HASH'

or 2 conditions

line l !l condition
193 1 1 $type || 'autocrop'

or 3 conditions

line l !l&&r !l&&!r condition
90 0 0 2 $color ||= $params{'colour'}
146 0 0 2 not defined $left or $pos < $left
147 0 0 2 not defined $right or $rpos > $right
152 0 0 30 not defined $left or $pos < $left
153 0 0 30 not defined $right or $rpos > $right
168 6 0 6432 _out_of_range(\@color, $range, $channels) || defined $left && $pos >= $left
174 8 0 1148 _out_of_range(\@color, $range, $channels) || defined $right && $rpos <= $right
184 14 0 22740 $scanned->[$_] < $range->[$_][0] or $scanned->[$_] > $range->[$_][1]